.cps-front{--cps-primary:#2563eb;--cps-dark:#0f172a;--cps-border:#e2e8f0;--cps-muted:#64748b;--cps-danger:#dc2626;font-family:inherit}.cps-front-card{background:#fff;border:1px solid var(--cps-border);border-radius:24px;padding:26px;box-shadow:0 16px 45px rgba(15,23,42,.08);margin:20px 0}.cps-front-card h2{margin:0 0 8px;font-size:28px;color:var(--cps-dark);font-weight:900}.cps-front-card p{color:var(--cps-muted)}.cps-form{display:grid;gap:16px}.cps-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.cps-form label{display:grid;gap:7px;font-weight:800;color:#334155}.cps-form input,.cps-form select,.cps-form textarea{width:100%;border:1px solid #cbd5e1;border-radius:14px;padding:11px 12px;background:#fff;color:#0f172a;min-height:44px;box-sizing:border-box}.cps-form textarea{min-height:110px}.cps-help,.cps-form small{font-size:12px;color:var(--cps-muted);font-weight:600}.cps-btn{border:none;border-radius:12px;background:#0f172a;color:#fff;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;gap:8px;font-weight:900;cursor:pointer;padding:12px 18px;transition:.15s ease}.cps-btn:hover{filter:brightness(1.06);transform:translateY(-1px);color:#fff}.cps-btn-primary{background:linear-gradient(135deg,#2563eb,#06b6d4)}.cps-btn-danger{background:#dc2626}.cps-empty{padding:18px;border:1px dashed #cbd5e1;border-radius:16px;text-align:center;color:var(--cps-muted);background:#f8fafc}.cps-status{display:inline-flex;align-items:center;border-radius:999px;padding:6px 10px;font-size:12px;font-weight:900;background:#e2e8f0;color:#334155}.cps-status-assigned,.cps-status-in_progress{background:#fef3c7;color:#92400e}.cps-status-submitted_for_qc{background:#ede9fe;color:#6d28d9}.cps-status-revision_required{background:#fee2e2;color:#b91c1c}.cps-status-approved,.cps-status-delivered{background:#dcfce7;color:#15803d}.cps-card-head{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:16px}.cps-card-head h3{margin:0;color:var(--cps-dark)}.cps-card-head p{margin:4px 0 0;color:var(--cps-muted)}.cps-worker-job{border:1px solid var(--cps-border);border-radius:20px;background:#fbfdff;padding:18px;margin:16px 0}.cps-instructions{background:#f8fafc;border:1px solid var(--cps-border);padding:14px;border-radius:16px;margin:12px 0}.cps-files{list-style:none;margin:0;padding:0;display:grid;gap:8px}.cps-files li{border:1px solid var(--cps-border);border-radius:14px;padding:10px 12px;background:#fff;display:flex;justify-content:space-between;gap:10px}.cps-qc-box{margin:18px 0;padding:16px;border-radius:18px;background:#f8fafc;border:1px solid var(--cps-border)}.cps-qc-box textarea{width:100%;margin-bottom:10px;border:1px solid #cbd5e1;border-radius:14px;padding:10px;box-sizing:border-box}.cps-front-notice{border-radius:14px;padding:12px 16px;margin:14px 0;font-weight:800}.cps-front-notice.success{background:#dcfce7;color:#166534}.cps-front-notice.error{background:#fee2e2;color:#991b1b}.cps-loading{opacity:.55;pointer-events:none}@media(max-width:760px){.cps-form-grid{grid-template-columns:1fr}.cps-card-head{flex-direction:column;align-items:flex-start}.cps-front-card{padding:18px}.cps-front-card h2{font-size:22px}}

/* Modern Google Drive upload field */
.cps-upload-shell{display:grid;gap:12px;margin-top:2px}.cps-upload-input{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;clip-path:inset(50%)!important}.cps-upload-zone{position:relative;display:flex;align-items:center;gap:18px;min-height:132px;padding:24px;border:1.5px dashed #94a3b8;border-radius:22px;background:linear-gradient(145deg,#f8fbff,#f5f8ff);cursor:pointer;transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease,background .18s ease;outline:none}.cps-upload-zone:hover,.cps-upload-zone:focus-visible,.cps-upload-zone.is-dragging{border-color:#2563eb;background:linear-gradient(145deg,#eff6ff,#ecfeff);box-shadow:0 0 0 5px rgba(37,99,235,.08),0 18px 40px rgba(15,23,42,.08);transform:translateY(-1px)}.cps-upload-icon{width:58px;height:58px;border-radius:18px;display:grid;place-items:center;flex:0 0 58px;color:#fff;background:linear-gradient(135deg,#2563eb,#06b6d4);box-shadow:0 14px 28px rgba(37,99,235,.24)}.cps-upload-icon svg{width:30px;height:30px}.cps-upload-copy{display:grid;gap:5px;min-width:0;flex:1}.cps-upload-copy strong{font-size:16px;color:#0f172a}.cps-upload-copy span{font-size:13px;line-height:1.55;color:#64748b;max-width:700px}.cps-upload-browse{border:1px solid #bfdbfe;background:#fff;color:#1d4ed8;border-radius:12px;padding:10px 15px;font-weight:800;cursor:pointer;white-space:nowrap;box-shadow:0 5px 14px rgba(37,99,235,.08)}.cps-upload-meta{display:flex;align-items:center;gap:8px 18px;flex-wrap:wrap;padding:0 4px;font-size:12px;font-weight:700;color:#64748b}.cps-drive-chip{display:inline-flex;align-items:center;gap:6px;margin-left:auto;padding:6px 10px;border-radius:999px;background:#ecfdf5;color:#047857}.cps-drive-chip:before{content:"";width:7px;height:7px;border-radius:50%;background:#10b981;box-shadow:0 0 0 3px rgba(16,185,129,.15)}.cps-upload-selection{border:1px solid #dbe4f0;border-radius:18px;background:#fff;overflow:hidden}.cps-upload-selection-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;background:#f8fafc;border-bottom:1px solid #e2e8f0;color:#334155}.cps-upload-clear{border:0;background:transparent;color:#dc2626;font-weight:800;cursor:pointer;padding:4px}.cps-upload-file-list{display:grid;max-height:260px;overflow:auto}.cps-upload-file{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 14px;border-bottom:1px solid #eef2f7}.cps-upload-file:last-child{border-bottom:0}.cps-upload-file-main{display:flex;align-items:center;gap:10px;min-width:0}.cps-upload-file-icon{display:grid;place-items:center;width:28px;height:28px;flex:0 0 28px;border-radius:9px;background:#dcfce7;color:#15803d;font-weight:900}.cps-upload-file-copy{display:grid;min-width:0}.cps-upload-file-copy strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#0f172a}.cps-upload-file-copy small{margin:2px 0 0;color:#64748b}.cps-upload-remove{width:30px;height:30px;border:0;border-radius:9px;background:#f1f5f9;color:#64748b;font-size:20px;line-height:1;cursor:pointer}.cps-upload-remove:hover{background:#fee2e2;color:#b91c1c}.cps-upload-progress{display:grid;gap:8px;padding:13px 14px;border:1px solid #dbeafe;border-radius:15px;background:#f8fbff}.cps-upload-progress-head{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:12px;color:#475569}.cps-upload-progress-track{height:8px;border-radius:999px;background:#dbeafe;overflow:hidden}.cps-upload-progress-track span{display:block;height:100%;width:0;background:linear-gradient(90deg,#2563eb,#06b6d4);border-radius:inherit;transition:width .18s ease}.cps-upload-progress.is-processing .cps-upload-progress-track span{width:100%!important;background-size:200% 100%;animation:cpsDriveProgress 1.2s linear infinite}@keyframes cpsDriveProgress{0%{transform:translateX(-35%)}100%{transform:translateX(35%)}}
@media(max-width:760px){.cps-upload-zone{align-items:flex-start;flex-direction:column;padding:20px}.cps-upload-browse{width:100%}.cps-drive-chip{margin-left:0}}

/* Upload-first Job creation gallery and details modal */
.cps-job-create-form{display:block}.cps-job-upload-stage{display:grid;gap:20px}.cps-job-stage-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;padding:2px 2px 0}.cps-job-stage-heading h3{margin:7px 0 7px;color:#0f172a;font-size:24px;line-height:1.2;letter-spacing:-.025em}.cps-job-stage-heading p{max-width:780px;margin:0;color:#64748b;font-size:14px;line-height:1.65}.cps-job-step{display:inline-flex;align-items:center;padding:5px 9px;border-radius:999px;background:#eff6ff;color:#1d4ed8;font-size:11px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}.cps-job-stage-security{display:inline-flex;align-items:center;gap:7px;flex:0 0 auto;padding:8px 12px;border:1px solid #bbf7d0;border-radius:999px;background:#f0fdf4;color:#047857;font-size:12px;font-weight:850}.cps-job-stage-security>span{display:grid;place-items:center;width:18px;height:18px;border-radius:50%;background:#10b981;color:#fff;font-size:11px}.cps-job-gallery-uploader{gap:15px}.cps-job-upload-zone{min-height:270px;padding:38px;border-width:2px;border-color:#93c5fd;background:radial-gradient(circle at 20% 0,rgba(219,234,254,.75),transparent 42%),linear-gradient(145deg,#fbfdff,#f1f7ff);text-align:left}.cps-job-upload-zone:hover,.cps-job-upload-zone:focus-visible,.cps-job-upload-zone.is-dragging{border-color:#2563eb;background:radial-gradient(circle at 20% 0,rgba(191,219,254,.85),transparent 44%),linear-gradient(145deg,#f8fbff,#ecfeff);box-shadow:0 0 0 7px rgba(37,99,235,.08),0 24px 55px rgba(15,23,42,.11)}.cps-job-upload-illustration{display:grid;place-items:center;width:96px;height:96px;flex:0 0 96px;border-radius:30px;background:linear-gradient(145deg,#2563eb,#06b6d4);color:#fff;box-shadow:0 20px 44px rgba(37,99,235,.26)}.cps-job-upload-illustration svg{width:56px;height:56px}.cps-job-upload-zone .cps-upload-copy{gap:9px}.cps-job-upload-zone .cps-upload-copy strong{font-size:23px;letter-spacing:-.02em}.cps-job-upload-zone .cps-upload-copy span{font-size:14px;line-height:1.7;max-width:720px}.cps-job-upload-zone .cps-upload-browse{padding:13px 19px;border-radius:14px;font-size:14px}.cps-job-upload-meta{padding:0 6px}.cps-job-gallery-panel{overflow:hidden;border:1px solid #dbe5f2;border-radius:24px;background:#fff;box-shadow:0 16px 42px rgba(15,23,42,.07)}.cps-job-gallery-panel[hidden]{display:none!important}.cps-job-gallery-toolbar{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:17px 19px;border-bottom:1px solid #e2e8f0;background:linear-gradient(180deg,#fbfdff,#f8fafc)}.cps-job-gallery-toolbar>div:first-child{display:grid;gap:3px}.cps-job-gallery-toolbar strong{color:#0f172a;font-size:15px}.cps-job-gallery-toolbar span{color:#64748b;font-size:12px}.cps-job-gallery-tools{display:flex;align-items:center;gap:8px}.cps-job-gallery-tools button{border:1px solid #dbe5f2;border-radius:10px;background:#fff;padding:8px 11px;color:#334155;font-size:12px;font-weight:800;cursor:pointer}.cps-job-gallery-tools button:hover{border-color:#93c5fd;color:#1d4ed8}.cps-job-gallery-tools .cps-upload-clear{color:#dc2626}.cps-job-image-gallery{display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:14px;max-height:510px;overflow:auto;padding:18px;background:#f8fafc}.cps-job-gallery-card{position:relative;min-width:0;border:1px solid #dbe5f2;border-radius:18px;background:#fff;overflow:hidden;box-shadow:0 6px 18px rgba(15,23,42,.045);transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease}.cps-job-gallery-card:hover{transform:translateY(-2px);border-color:#93c5fd;box-shadow:0 14px 28px rgba(15,23,42,.1)}.cps-job-gallery-card.is-selected{border-color:#2563eb;box-shadow:0 0 0 3px rgba(37,99,235,.13),0 14px 28px rgba(37,99,235,.12)}.cps-job-gallery-select{display:grid;width:100%;padding:0;border:0;background:transparent;text-align:left;cursor:pointer}.cps-job-gallery-preview{position:relative;display:grid;place-items:center;aspect-ratio:4/3;overflow:hidden;background:linear-gradient(145deg,#e2e8f0,#f8fafc);color:#475569}.cps-job-gallery-preview img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}.cps-job-file-type{display:grid;place-items:center;width:62px;height:62px;border:1px solid rgba(148,163,184,.45);border-radius:18px;background:rgba(255,255,255,.78);font-size:13px;font-weight:950;letter-spacing:.05em;box-shadow:0 8px 22px rgba(15,23,42,.08)}.cps-job-gallery-check{position:absolute;top:10px;left:10px;z-index:2;display:grid;place-items:center;width:28px;height:28px;border:2px solid #fff;border-radius:50%;background:rgba(15,23,42,.58);color:transparent;box-shadow:0 4px 12px rgba(15,23,42,.2);transition:.18s ease}.cps-job-gallery-card.is-selected .cps-job-gallery-check{background:#2563eb;color:#fff}.cps-job-gallery-info{display:grid;gap:4px;padding:12px 13px 13px;min-width:0}.cps-job-gallery-info strong{display:block;overflow:hidden;color:#0f172a;font-size:13px;font-weight:850;text-overflow:ellipsis;white-space:nowrap}.cps-job-gallery-info small{overflow:hidden;color:#64748b;font-size:11px;font-weight:650;text-overflow:ellipsis;white-space:nowrap}.cps-job-gallery-remove{position:absolute;top:9px;right:9px;z-index:3;display:grid;place-items:center;width:29px;height:29px;padding:0;border:1px solid rgba(255,255,255,.75);border-radius:9px;background:rgba(15,23,42,.63);color:#fff;font-size:20px;line-height:1;cursor:pointer;box-shadow:0 5px 12px rgba(15,23,42,.18)}.cps-job-gallery-remove:hover{background:#dc2626}.cps-job-gallery-action{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:17px 19px;border-top:1px solid #e2e8f0;background:#fff}.cps-job-selection-summary{display:flex;align-items:center;gap:11px}.cps-job-selection-summary>span:last-child{display:grid;gap:2px}.cps-job-selection-summary strong{color:#0f172a;font-size:14px}.cps-job-selection-summary small{color:#64748b;font-size:11px}.cps-job-selection-icon{display:grid;place-items:center;width:38px;height:38px;border-radius:13px;background:#e2e8f0;color:#94a3b8;font-weight:950}.has-selection .cps-job-selection-icon{background:#dcfce7;color:#15803d}.cps-job-open-details:disabled{opacity:.45;cursor:not-allowed;transform:none!important;filter:none!important}.cps-job-builder-modal{display:none;position:fixed;z-index:100000;inset:0;align-items:center;justify-content:center;padding:24px}.cps-job-builder-modal.is-open{display:flex}.cps-job-builder-backdrop{position:absolute;inset:0;background:rgba(2,6,23,.7);backdrop-filter:blur(7px);-webkit-backdrop-filter:blur(7px)}.cps-job-builder-dialog{position:relative;display:grid;grid-template-rows:auto auto minmax(0,1fr) auto;width:min(1040px,100%);max-height:calc(100vh - 48px);overflow:hidden;border:1px solid rgba(255,255,255,.38);border-radius:28px;background:#fff;box-shadow:0 34px 100px rgba(2,6,23,.4);outline:none;animation:cpsJobModalIn .2s ease-out}.cps-job-builder-header{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding:23px 25px 17px;border-bottom:1px solid #e2e8f0;background:linear-gradient(145deg,#fff,#f8fbff)}.cps-job-builder-header h3{margin:6px 0 3px;color:#0f172a;font-size:24px;line-height:1.2;letter-spacing:-.025em}.cps-job-builder-header p{margin:0;color:#64748b;font-size:12px}.cps-job-modal-close{display:grid;place-items:center;width:40px;height:40px;flex:0 0 40px;padding:0;border:1px solid #e2e8f0;border-radius:13px;background:#fff;color:#475569;font-size:26px;line-height:1;cursor:pointer}.cps-job-modal-close:hover{border-color:#fecaca;background:#fff1f2;color:#be123c}.cps-job-modal-selected-strip{display:flex;align-items:center;gap:8px;min-height:66px;padding:10px 25px;border-bottom:1px solid #e2e8f0;background:#f8fafc;overflow-x:auto}.cps-job-modal-thumb{display:grid;place-items:center;width:44px;height:44px;flex:0 0 44px;overflow:hidden;border:2px solid #fff;border-radius:12px;background:#e2e8f0;color:#475569;font-size:9px;font-weight:950;box-shadow:0 3px 10px rgba(15,23,42,.12)}.cps-job-modal-thumb img{width:100%;height:100%;object-fit:cover}.cps-job-modal-thumb.is-file{background:#eef2ff;color:#4338ca}.cps-job-modal-more{display:grid;place-items:center;width:44px;height:44px;flex:0 0 44px;border-radius:12px;background:#dbeafe;color:#1d4ed8;font-size:12px;font-weight:950}.cps-job-modal-selected-label{margin-left:5px;color:#475569;font-size:12px;font-weight:800;white-space:nowrap}.cps-job-builder-body{overflow:auto;padding:22px 25px 26px;background:#f8fafc}.cps-job-form-section{display:grid;gap:17px;padding:20px;margin-bottom:16px;border:1px solid #e2e8f0;border-radius:20px;background:#fff;box-shadow:0 7px 20px rgba(15,23,42,.035)}.cps-job-form-section:last-of-type{margin-bottom:0}.cps-job-form-section-head{display:flex;align-items:flex-start;gap:12px}.cps-job-form-section-head>span{display:grid;place-items:center;width:35px;height:35px;flex:0 0 35px;border-radius:12px;background:#eff6ff;color:#1d4ed8;font-size:11px;font-weight:950}.cps-job-form-section-head>div{display:grid;gap:3px}.cps-job-form-section-head h4{margin:0;color:#0f172a;font-size:16px}.cps-job-form-section-head p{margin:0;color:#64748b;font-size:12px}.cps-job-form-section .cps-form-grid{gap:14px}.cps-job-form-section input,.cps-job-form-section select,.cps-job-form-section textarea{box-sizing:border-box}.cps-form-span-2{grid-column:1/-1}.cps-field-help{margin-top:-2px;line-height:1.45}.cps-job-builder-body .cps-upload-progress{margin-top:16px}.cps-job-builder-footer{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:17px 25px;border-top:1px solid #e2e8f0;background:#fff}.cps-job-back-to-gallery{border:1px solid #dbe5f2;background:#fff;color:#334155}.cps-job-back-to-gallery:hover{color:#0f172a}.cps-job-submit{min-width:240px}.cps-job-modal-open{overflow:hidden!important}.cps-job-create-form.cps-loading{opacity:1}.cps-job-create-form.cps-loading .cps-job-builder-dialog{pointer-events:none}.cps-job-create-form.cps-loading .cps-job-builder-dialog:after{content:"";position:absolute;inset:0;z-index:20;background:rgba(255,255,255,.28);cursor:wait}.cps-job-create-form.cps-loading .cps-upload-progress{position:relative;z-index:21}.cps-job-create-form .cps-upload-progress[hidden]{display:none!important}@keyframes cpsJobModalIn{from{opacity:0;transform:translateY(14px) scale(.985)}to{opacity:1;transform:none}}
@media(max-width:900px){.cps-job-upload-zone{min-height:235px;padding:28px}.cps-job-upload-illustration{width:78px;height:78px;flex-basis:78px;border-radius:24px}.cps-job-upload-illustration svg{width:45px;height:45px}.cps-job-image-gallery{grid-template-columns:repeat(auto-fill,minmax(145px,1fr))}.cps-job-builder-modal{padding:14px}.cps-job-builder-dialog{max-height:calc(100vh - 28px);border-radius:23px}}
@media(max-width:680px){.cps-job-stage-heading,.cps-job-gallery-toolbar,.cps-job-gallery-action,.cps-job-builder-footer{align-items:stretch;flex-direction:column}.cps-job-stage-security{align-self:flex-start}.cps-job-upload-zone{align-items:center;min-height:300px;padding:26px 20px;text-align:center}.cps-job-upload-zone .cps-upload-copy span{max-width:100%}.cps-job-upload-zone .cps-upload-browse{width:100%}.cps-job-upload-meta{align-items:flex-start;flex-direction:column}.cps-job-upload-meta .cps-drive-chip{margin-left:0}.cps-job-image-gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:12px;max-height:460px}.cps-job-gallery-toolbar,.cps-job-gallery-action{padding:14px}.cps-job-gallery-tools{width:100%}.cps-job-gallery-tools button{flex:1}.cps-job-open-details,.cps-job-builder-footer .cps-btn{width:100%}.cps-job-builder-modal{padding:0}.cps-job-builder-dialog{width:100%;height:100%;max-height:none;border:0;border-radius:0}.cps-job-builder-header{padding:18px}.cps-job-builder-header h3{font-size:20px}.cps-job-modal-selected-strip{padding:9px 18px}.cps-job-builder-body{padding:15px}.cps-job-form-section{padding:16px}.cps-job-builder-footer{padding:14px 16px}.cps-form-span-2{grid-column:auto}}
@media(max-width:420px){.cps-job-image-gallery{grid-template-columns:1fr 1fr}.cps-job-gallery-info{padding:9px 10px 11px}.cps-job-gallery-preview{aspect-ratio:1/1}.cps-job-modal-selected-label{display:none}}
.cps-job-modal-notice{margin:12px 25px 0;padding:11px 13px;border-radius:13px;font-size:12px;font-weight:800}.cps-job-modal-notice[hidden]{display:none!important}.cps-job-modal-notice.error{border:1px solid #fecaca;background:#fff1f2;color:#991b1b}.cps-job-modal-notice.success{border:1px solid #bbf7d0;background:#f0fdf4;color:#166534}@media(max-width:680px){.cps-job-modal-notice{margin:10px 18px 0}}

/* v1.2.3 — explicit designer assignment preview */
.cps-designer-assignment-section{background:linear-gradient(145deg,#fff,#f8fbff)}
.cps-designer-assignment-panel{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(280px,.65fr);gap:16px;align-items:stretch}
.cps-assignment-select-label{align-content:start}
.cps-assignment-preview{display:flex;align-items:center;gap:12px;min-width:0;padding:15px 16px;border:1px solid #dbeafe;border-radius:17px;background:linear-gradient(145deg,#eff6ff,#ecfeff)}
.cps-assignment-preview.is-specific{border-color:#bbf7d0;background:linear-gradient(145deg,#f0fdf4,#ecfdf5)}
.cps-assignment-preview-icon{display:grid;place-items:center;width:42px;height:42px;flex:0 0 42px;border-radius:14px;background:linear-gradient(145deg,#2563eb,#06b6d4);color:#fff;font-size:17px;font-weight:950}
.cps-assignment-preview.is-specific .cps-assignment-preview-icon{background:linear-gradient(145deg,#059669,#22c55e)}
.cps-assignment-preview>span:last-child{display:grid;gap:4px;min-width:0}
.cps-assignment-preview strong,.cps-assignment-preview small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.cps-assignment-preview strong{color:#0f172a;font-size:13px;font-weight:900}
.cps-assignment-preview small{color:#64748b;font-size:11px;font-weight:700}
.cps-assignment-warning{padding:11px 13px;border:1px solid #fed7aa;border-radius:13px;background:#fff7ed;color:#9a3412;font-size:12px;font-weight:800}
@media(max-width:900px){.cps-designer-assignment-panel{grid-template-columns:1fr}}

/* v1.2.4 — Settings-controlled proportional Gallery */
.cps-job-image-gallery{grid-template-columns:repeat(var(--cps-gallery-columns,5),minmax(0,1fr))!important;align-items:start}
.cps-job-gallery-card{min-width:0}
.cps-job-gallery-preview{aspect-ratio:4/3!important;background:linear-gradient(145deg,#eef2f7,#f8fafc)}
.cps-job-gallery-preview img{width:100%!important;height:100%!important;object-fit:contain!important;object-position:center!important;padding:5px;box-sizing:border-box;background:#f8fafc}
.cps-job-builder-submit-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap}
@media(max-width:900px){.cps-job-image-gallery{grid-template-columns:repeat(var(--cps-gallery-columns-tablet,4),minmax(0,1fr))!important}}
@media(max-width:680px){.cps-job-image-gallery{grid-template-columns:repeat(var(--cps-gallery-columns-mobile,2),minmax(0,1fr))!important}.cps-job-builder-submit-actions{width:100%}.cps-job-builder-submit-actions .cps-btn{flex:1}}

/* Designer completed-file Gallery and direct Drive submission — v1.2.12 */
.cps-worker-upload-stage{margin-top:24px;padding-top:22px;border-top:1px solid #e2e8f0}.cps-worker-gallery-uploader .cps-worker-upload-chip{background:#eefbf7;color:#047857}.cps-worker-gallery-action .cps-worker-submit-qc:disabled{cursor:not-allowed;opacity:.48;filter:grayscale(.15);transform:none}.cps-worker-completed-form.cps-loading .cps-worker-submit-qc{cursor:wait}.cps-worker-gallery-uploader .cps-upload-progress{margin-top:2px}.cps-worker-gallery-uploader .cps-job-gallery-panel{margin-top:2px}@media(max-width:760px){.cps-worker-upload-stage{margin-top:18px;padding-top:18px}.cps-worker-gallery-action .cps-worker-submit-qc{width:100%}}

/* Direct Google Drive completed-file transfer — v1.2.12 */
.cps-worker-gallery-uploader .cps-worker-upload-chip{background:#ecfdf5;color:#047857;border:1px solid #a7f3d0}.cps-worker-gallery-uploader .cps-upload-progress{border-color:#bae6fd;background:linear-gradient(145deg,#f8fbff,#ecfeff)}.cps-worker-gallery-uploader .cps-upload-progress-track span{transition:width .22s ease}

/* v1.3.1 — Designer workday console, production lock and assigned-file gallery */
.cps-designer-dashboard{max-width:1480px;margin:0 auto;padding:18px 0 42px}.cps-designer-workspace{display:grid;gap:22px}.cps-workday-console{position:relative;overflow:hidden;border:1px solid #dbe7f5;border-radius:30px;padding:26px;background:linear-gradient(145deg,#fff,#f8fbff 62%,#eef8ff);box-shadow:0 20px 60px rgba(15,23,42,.1)}.cps-workday-console:before{content:"";position:absolute;top:-150px;right:-90px;width:330px;height:330px;border-radius:50%;background:radial-gradient(circle,rgba(37,99,235,.14),rgba(37,99,235,0) 70%);pointer-events:none}.cps-workday-console.is-active{border-color:#bfdbfe;background:linear-gradient(145deg,#fff,#f4f9ff 58%,#ecfeff)}.cps-workday-console.is-complete{border-color:#bbf7d0;background:linear-gradient(145deg,#fff,#f4fff8 58%,#ecfdf5)}.cps-workday-console.is-reauth{border-color:#fed7aa;background:linear-gradient(145deg,#fff,#fffaf5 58%,#fff7ed)}.cps-workday-head{position:relative;z-index:1;display:flex;align-items:flex-start;justify-content:space-between;gap:18px}.cps-workday-head h2{margin:5px 0 4px;color:#0f172a;font-size:30px;line-height:1.15;letter-spacing:-.035em}.cps-workday-head p{margin:0;color:#64748b;font-size:13px}.cps-workday-kicker{display:inline-flex;align-items:center;gap:7px;color:#2563eb;font-size:10px;font-weight:950;letter-spacing:.13em;text-transform:uppercase}.cps-workday-state{display:inline-flex;align-items:center;gap:8px;flex:0 0 auto;padding:8px 12px;border:1px solid #dbeafe;border-radius:999px;background:#eff6ff;color:#1d4ed8;font-size:11px;font-weight:900}.cps-workday-state:before{content:"";width:8px;height:8px;border-radius:50%;background:currentColor;box-shadow:0 0 0 4px rgba(37,99,235,.09)}.is-active .cps-workday-state{border-color:#a7f3d0;background:#ecfdf5;color:#047857}.is-complete .cps-workday-state{border-color:#bbf7d0;background:#f0fdf4;color:#15803d}.is-reauth .cps-workday-state{border-color:#fed7aa;background:#fff7ed;color:#c2410c}.cps-workday-main{position:relative;z-index:1;display:grid;grid-template-columns:minmax(300px,.72fr) minmax(340px,1.28fr);gap:22px;margin-top:22px}.cps-workday-clock-wrap,.cps-workday-progress-wrap{border:1px solid #e2e8f0;border-radius:22px;background:rgba(255,255,255,.88);padding:20px;box-shadow:inset 0 1px 0 rgba(255,255,255,.85)}.cps-workday-clock-wrap{display:grid;align-content:center;min-height:126px}.cps-workday-clock-wrap>span,.cps-workday-progress-head span{color:#64748b;font-size:11px;font-weight:850;letter-spacing:.04em;text-transform:uppercase}.cps-workday-clock{display:block;margin:7px 0 3px;color:#0f172a;font-variant-numeric:tabular-nums;font-size:38px;line-height:1;font-weight:950;letter-spacing:-.04em}.cps-workday-clock-wrap small{color:#64748b;font-size:11px;font-weight:700}.cps-workday-progress-wrap{display:grid;align-content:center;gap:11px}.cps-workday-progress-head{display:flex;justify-content:space-between;gap:12px;align-items:center}.cps-workday-progress-head strong{color:#0f172a;font-size:16px}.cps-workday-progress{height:13px;overflow:hidden;border-radius:999px;background:#e9eff7;box-shadow:inset 0 1px 2px rgba(15,23,42,.08)}.cps-workday-progress>span{display:block;width:0;height:100%;border-radius:inherit;background:linear-gradient(90deg,#2563eb,#06b6d4);box-shadow:0 0 16px rgba(37,99,235,.25);transition:width .6s ease}.is-complete .cps-workday-progress>span{background:linear-gradient(90deg,#059669,#22c55e)}.cps-workday-meta{display:flex;justify-content:space-between;gap:16px;color:#64748b;font-size:11px;font-weight:700}.cps-workday-meta b{color:#0f172a}.cps-workday-actions{position:relative;z-index:1;margin-top:18px}.cps-work-start,.cps-work-stop{display:flex;align-items:center;gap:14px;width:100%;min-height:78px;padding:15px 18px;border:0;border-radius:20px;color:#fff;text-align:left;cursor:pointer;box-shadow:0 16px 30px rgba(37,99,235,.22);transition:transform .18s ease,box-shadow .18s ease,filter .18s ease}.cps-work-start{background:linear-gradient(135deg,#2563eb,#0ea5e9)}.cps-work-stop{background:linear-gradient(135deg,#0f172a,#334155);box-shadow:0 16px 30px rgba(15,23,42,.18)}.cps-work-start:hover,.cps-work-stop:hover{transform:translateY(-2px);filter:brightness(1.03)}.cps-work-start:disabled,.cps-work-stop:disabled{cursor:not-allowed;opacity:.48;transform:none;filter:none;box-shadow:none}.cps-work-button-icon{display:grid;place-items:center;width:48px;height:48px;flex:0 0 48px;border-radius:15px;background:rgba(255,255,255,.16);font-size:17px}.cps-work-start>span:last-child,.cps-work-stop>span:last-child{display:grid;gap:3px}.cps-work-start strong,.cps-work-stop strong{font-size:17px;line-height:1.2}.cps-work-start small,.cps-work-stop small{color:rgba(255,255,255,.78);font-size:11px;font-weight:650}.cps-workday-complete{display:flex;align-items:center;gap:13px;padding:15px 17px;border:1px solid #bbf7d0;border-radius:19px;background:#f0fdf4;color:#166534}.cps-workday-complete>span{display:grid;place-items:center;width:43px;height:43px;flex:0 0 43px;border-radius:14px;background:#16a34a;color:#fff;font-size:20px;font-weight:950}.cps-workday-complete>div{display:grid;gap:3px}.cps-workday-complete strong{font-size:15px}.cps-workday-complete small{font-size:11px;color:#15803d;font-weight:700}.cps-workday-notice{position:relative;z-index:1;margin-top:13px;padding:11px 13px;border-radius:13px;font-size:12px;font-weight:800}.cps-workday-notice[hidden]{display:none!important}.cps-workday-notice.is-success{border:1px solid #bbf7d0;background:#f0fdf4;color:#166534}.cps-workday-notice.is-error{border:1px solid #fecaca;background:#fff1f2;color:#991b1b}.cps-work-queue{position:relative;border:1px solid #e2e8f0;border-radius:28px;background:#fff;padding:24px;box-shadow:0 18px 50px rgba(15,23,42,.07)}.cps-work-queue-head{display:flex;justify-content:space-between;align-items:flex-start;gap:22px;margin-bottom:18px}.cps-work-queue-head h2{margin:5px 0 5px;color:#0f172a;font-size:26px;letter-spacing:-.03em}.cps-work-queue-head p{max-width:760px;margin:0;color:#64748b;font-size:13px;line-height:1.6}.cps-work-queue-stats{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.cps-work-queue-stats span{display:flex;align-items:baseline;gap:5px;padding:8px 10px;border:1px solid #e2e8f0;border-radius:12px;background:#f8fafc;color:#64748b;font-size:10px;font-weight:800}.cps-work-queue-stats strong{color:#0f172a;font-size:16px}.cps-work-lock{display:flex;align-items:center;gap:12px;margin:0 0 16px;padding:13px 15px;border:1px solid #dbeafe;border-radius:16px;background:#eff6ff;color:#1e3a8a}.cps-work-lock>span{display:grid;place-items:center;width:37px;height:37px;flex:0 0 37px;border-radius:12px;background:#dbeafe}.cps-work-lock strong,.cps-work-lock small{display:block}.cps-work-lock strong{font-size:12px}.cps-work-lock small{margin-top:2px;color:#475569;font-size:10px;font-weight:650}.cps-work-queue.is-locked .cps-worker-completed-form{opacity:.42;pointer-events:none;filter:grayscale(.15)}.cps-work-jobs{display:grid;gap:18px}.cps-designer-dashboard .cps-worker-job{margin:0;padding:20px;border-radius:23px;background:linear-gradient(145deg,#fff,#fbfdff);box-shadow:0 8px 28px rgba(15,23,42,.045)}.cps-worker-job.has-revision{border-color:#fecaca;box-shadow:0 8px 28px rgba(220,38,38,.07)}.cps-worker-progress{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin:14px 0}.cps-worker-progress>div{padding:11px 12px;border:1px solid #e2e8f0;border-radius:14px;background:#f8fafc}.cps-worker-progress span,.cps-worker-progress strong{display:block}.cps-worker-progress span{color:#64748b;font-size:9px;font-weight:850;text-transform:uppercase;letter-spacing:.05em}.cps-worker-progress strong{margin-top:3px;color:#0f172a;font-size:17px}.cps-worker-revision-alert{display:flex;justify-content:space-between;gap:16px;margin:12px 0;padding:12px 13px;border:1px solid #fecaca;border-radius:14px;background:#fff1f2;color:#991b1b}.cps-worker-revision-alert strong{font-size:11px}.cps-worker-revision-alert span{color:#7f1d1d;font-size:10px;font-weight:650;text-align:right}

.cps-assigned-files-panel{overflow:hidden;margin:18px 0 4px;border:1px solid #dbe5f2;border-radius:22px;background:#fff;box-shadow:0 10px 30px rgba(15,23,42,.055)}.cps-assigned-files-head{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:15px 16px;border-bottom:1px solid #e2e8f0;background:linear-gradient(145deg,#fbfdff,#f8fafc)}.cps-assigned-files-title{display:flex;align-items:center;gap:11px;min-width:0}.cps-assigned-files-icon{display:grid;place-items:center;width:42px;height:42px;flex:0 0 42px;border-radius:14px;background:linear-gradient(145deg,#0f172a,#334155);color:#fff;box-shadow:0 8px 18px rgba(15,23,42,.15)}.cps-assigned-files-icon svg{width:23px;height:23px}.cps-assigned-files-title>span:last-child{display:grid;gap:2px;min-width:0}.cps-assigned-files-title strong{color:#0f172a;font-size:14px;font-weight:900}.cps-assigned-files-title small{color:#64748b;font-size:10px;font-weight:700}.cps-assigned-download-all{display:flex;align-items:center;gap:9px;flex:0 0 auto;padding:9px 12px;border:1px solid #bfdbfe;border-radius:14px;background:linear-gradient(145deg,#eff6ff,#ecfeff);color:#1d4ed8;text-decoration:none;box-shadow:0 5px 14px rgba(37,99,235,.08);transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease}.cps-assigned-download-all:hover{border-color:#60a5fa;color:#1d4ed8;transform:translateY(-1px);box-shadow:0 10px 20px rgba(37,99,235,.12)}.cps-assigned-download-all.is-downloading{pointer-events:none;opacity:.7}.cps-assigned-download-all svg{width:22px;height:22px;flex:0 0 22px}.cps-assigned-download-all>span{display:grid;gap:1px}.cps-assigned-download-all strong{font-size:11px;line-height:1.2}.cps-assigned-download-all small{font-size:9px;color:#64748b;font-weight:700}.cps-assigned-files-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;padding:14px;background:#f8fafc}.cps-assigned-file-card{min-width:0;overflow:hidden;border:1px solid #dbe5f2;border-radius:17px;background:#fff;box-shadow:0 5px 16px rgba(15,23,42,.045);transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease}.cps-assigned-file-card:hover{transform:translateY(-2px);border-color:#93c5fd;box-shadow:0 12px 25px rgba(15,23,42,.09)}.cps-assigned-file-preview{position:relative;display:grid;place-items:center;aspect-ratio:4/3;overflow:hidden;background:linear-gradient(145deg,#edf2f7,#f8fafc);color:#475569;text-decoration:none}.cps-assigned-file-preview img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;object-position:center;padding:5px;box-sizing:border-box;background:#f8fafc;transition:transform .22s ease}.cps-assigned-file-card:hover .cps-assigned-file-preview img{transform:scale(1.025)}.cps-assigned-file-extension{display:grid;place-items:center;min-width:62px;height:62px;padding:0 8px;border:1px solid #cbd5e1;border-radius:17px;background:#fff;color:#334155;font-size:12px;font-weight:950;letter-spacing:.05em;box-shadow:0 8px 20px rgba(15,23,42,.08)}.cps-assigned-file-number{position:absolute;top:8px;left:8px;z-index:2;padding:5px 7px;border:1px solid rgba(255,255,255,.75);border-radius:9px;background:rgba(15,23,42,.72);color:#fff;font-size:9px;font-weight:950;backdrop-filter:blur(4px)}.cps-assigned-file-view{position:absolute;right:8px;bottom:8px;z-index:2;display:flex;align-items:center;gap:4px;padding:5px 7px;border:1px solid rgba(255,255,255,.7);border-radius:9px;background:rgba(255,255,255,.9);color:#334155;font-size:9px;font-weight:850;opacity:0;transform:translateY(4px);transition:.18s ease;box-shadow:0 5px 14px rgba(15,23,42,.1)}.cps-assigned-file-card:hover .cps-assigned-file-view{opacity:1;transform:none}.cps-assigned-file-body{display:grid;gap:9px;padding:10px}.cps-assigned-file-copy{display:grid;gap:2px;min-width:0}.cps-assigned-file-copy strong,.cps-assigned-file-copy small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cps-assigned-file-copy strong{color:#0f172a;font-size:11px;font-weight:850}.cps-assigned-file-copy small{color:#64748b;font-size:9px;font-weight:700}.cps-assigned-file-download{display:flex;align-items:center;justify-content:center;gap:6px;width:100%;min-height:33px;border:1px solid #dbeafe;border-radius:10px;background:#eff6ff;color:#1d4ed8;text-decoration:none;font-size:10px;font-weight:900;transition:.16s ease}.cps-assigned-file-download:hover{border-color:#93c5fd;background:#dbeafe;color:#1d4ed8}.cps-assigned-file-download svg{width:15px;height:15px}.cps-assigned-files-empty{display:flex;align-items:center;gap:11px;margin:16px 0;padding:15px;border:1px dashed #cbd5e1;border-radius:16px;background:#f8fafc;color:#475569}.cps-assigned-files-empty>span{display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:#e2e8f0}.cps-assigned-files-empty strong,.cps-assigned-files-empty small{display:block}.cps-assigned-files-empty strong{font-size:12px;color:#0f172a}.cps-assigned-files-empty small{margin-top:2px;font-size:10px;color:#64748b}.cps-worker-batch-status{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 13px;border:1px solid #dbeafe;border-radius:15px;background:#eff6ff}.cps-worker-batch-status.is-revision{border-color:#fecaca;background:#fff1f2}.cps-worker-batch-status strong,.cps-worker-batch-status span{display:block}.cps-worker-batch-status strong{color:#0f172a;font-size:11px}.cps-worker-batch-status span{margin-top:2px;color:#64748b;font-size:9px;font-weight:700}.cps-worker-batch-count{flex:0 0 auto!important;margin:0!important;padding:6px 8px;border-radius:999px;background:#fff;color:#1d4ed8!important;font-size:9px!important;font-weight:900!important}
@media(max-width:1180px){.cps-assigned-files-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:900px){.cps-workday-main{grid-template-columns:1fr}.cps-work-queue-head{flex-direction:column}.cps-work-queue-stats{justify-content:flex-start}.cps-assigned-files-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:680px){.cps-designer-dashboard{padding-top:8px}.cps-workday-console,.cps-work-queue{padding:17px;border-radius:22px}.cps-workday-head,.cps-assigned-files-head{align-items:stretch;flex-direction:column}.cps-workday-head h2{font-size:24px}.cps-workday-state{align-self:flex-start}.cps-workday-clock{font-size:32px}.cps-workday-meta{align-items:flex-start;flex-direction:column;gap:5px}.cps-worker-progress{grid-template-columns:1fr}.cps-worker-revision-alert{flex-direction:column}.cps-worker-revision-alert span{text-align:left}.cps-assigned-download-all{width:100%;box-sizing:border-box;justify-content:center}.cps-assigned-files-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;padding:10px}.cps-assigned-file-view{display:none}.cps-assigned-file-body{padding:9px}}
@media(max-width:390px){.cps-assigned-files-grid{grid-template-columns:1fr 1fr}.cps-assigned-file-copy strong{font-size:10px}.cps-assigned-file-download span{display:none}.cps-assigned-file-download svg{width:17px;height:17px}}

/* v1.3.3 — Minimal world-class Designer workspace */
.cps-designer-dashboard{
  --cps-ws-text:#101114;
  --cps-ws-muted:#737780;
  --cps-ws-line:#e7e8eb;
  --cps-ws-soft:#f7f7f8;
  --cps-ws-soft-2:#fbfbfc;
  --cps-ws-blue:#2563eb;
  --cps-ws-green:#0a8f5b;
  --cps-ws-red:#c93b46;
  max-width:1320px;
  margin:0 auto;
  padding:20px 0 48px;
  color:var(--cps-ws-text);
  font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}
.cps-designer-dashboard *{box-sizing:border-box}
.cps-designer-dashboard .cps-designer-workspace{gap:16px}
.cps-designer-dashboard .cps-workday-console,
.cps-designer-dashboard .cps-work-queue{
  border:1px solid var(--cps-ws-line);
  border-radius:20px;
  background:#fff;
  box-shadow:0 1px 2px rgba(16,17,20,.025),0 8px 30px rgba(16,17,20,.025);
}
.cps-designer-dashboard .cps-workday-console{padding:22px;overflow:visible}
.cps-designer-dashboard .cps-workday-console:before{display:none}
.cps-designer-dashboard .cps-workday-console.is-active,
.cps-designer-dashboard .cps-workday-console.is-complete,
.cps-designer-dashboard .cps-workday-console.is-reauth{background:#fff}
.cps-designer-dashboard .cps-workday-head{align-items:center;gap:20px}
.cps-designer-dashboard .cps-workday-kicker{
  color:#8a8f98;
  font-size:10px;
  font-weight:750;
  letter-spacing:.12em;
}
.cps-designer-dashboard .cps-workday-head h2{
  margin:4px 0 3px;
  color:var(--cps-ws-text);
  font-size:27px;
  line-height:1.15;
  font-weight:700;
  letter-spacing:-.035em;
}
.cps-designer-dashboard .cps-workday-head p{
  margin:0;
  color:var(--cps-ws-muted);
  font-size:12px;
  line-height:1.5;
}
.cps-designer-dashboard .cps-workday-state{
  min-height:32px;
  padding:7px 11px;
  border:1px solid var(--cps-ws-line);
  border-radius:999px;
  background:#fff;
  color:#646a73;
  font-size:10px;
  font-weight:700;
  box-shadow:none;
}
.cps-designer-dashboard .cps-workday-state:before{
  width:6px;
  height:6px;
  box-shadow:none;
  background:#a3a7ae;
}
.cps-designer-dashboard .is-active .cps-workday-state{border-color:#ccebdd;background:#f7fcf9;color:#08734a}
.cps-designer-dashboard .is-active .cps-workday-state:before{background:#10a568}
.cps-designer-dashboard .is-complete .cps-workday-state{border-color:#d9eadf;background:#f8fcf9;color:#08734a}
.cps-designer-dashboard .is-complete .cps-workday-state:before{background:#10a568}
.cps-designer-dashboard .is-reauth .cps-workday-state{border-color:#f0dcc1;background:#fffaf4;color:#9a5a10}
.cps-designer-dashboard .is-reauth .cps-workday-state:before{background:#d88628}
.cps-designer-dashboard .cps-workday-main{
  grid-template-columns:minmax(250px,.7fr) minmax(360px,1.3fr);
  gap:12px;
  margin-top:18px;
}
.cps-designer-dashboard .cps-workday-clock-wrap,
.cps-designer-dashboard .cps-workday-progress-wrap{
  min-height:116px;
  padding:17px 18px;
  border:1px solid var(--cps-ws-line);
  border-radius:14px;
  background:var(--cps-ws-soft-2);
  box-shadow:none;
}
.cps-designer-dashboard .cps-workday-clock-wrap>span,
.cps-designer-dashboard .cps-workday-progress-head span{
  color:#8b9098;
  font-size:9px;
  font-weight:750;
  letter-spacing:.09em;
}
.cps-designer-dashboard .cps-workday-clock{
  margin:7px 0 4px;
  color:var(--cps-ws-text);
  font-size:34px;
  font-weight:700;
  letter-spacing:-.045em;
}
.cps-designer-dashboard .cps-workday-clock-wrap small,
.cps-designer-dashboard .cps-workday-meta{
  color:var(--cps-ws-muted);
  font-size:10px;
  font-weight:550;
}
.cps-designer-dashboard .cps-workday-progress-wrap{gap:10px}
.cps-designer-dashboard .cps-workday-progress-head strong{font-size:13px;font-weight:700}
.cps-designer-dashboard .cps-workday-progress{
  height:7px;
  background:#e9eaed;
  box-shadow:none;
}
.cps-designer-dashboard .cps-workday-progress>span{
  background:var(--cps-ws-text);
  box-shadow:none;
  transition:width .45s cubic-bezier(.2,.8,.2,1);
}
.cps-designer-dashboard .is-active .cps-workday-progress>span{background:var(--cps-ws-blue)}
.cps-designer-dashboard .is-complete .cps-workday-progress>span{background:var(--cps-ws-green)}
.cps-designer-dashboard .cps-workday-meta b{color:#40444b;font-weight:700}
.cps-designer-dashboard .cps-workday-actions{margin-top:12px}
.cps-designer-dashboard .cps-work-start,
.cps-designer-dashboard .cps-work-stop{
  min-height:64px;
  padding:12px 15px;
  border:1px solid #111216;
  border-radius:14px;
  background:#111216;
  color:#fff;
  box-shadow:none;
  transition:background .16s ease,transform .16s ease,border-color .16s ease;
}
.cps-designer-dashboard .cps-work-stop{background:#fff;color:#17191d;border-color:#d7d9dd}
.cps-designer-dashboard .cps-work-start:hover{background:#23252a;transform:translateY(-1px)}
.cps-designer-dashboard .cps-work-stop:hover{background:#f8f8f9;transform:translateY(-1px);filter:none}
.cps-designer-dashboard .cps-work-button-icon{
  width:38px;
  height:38px;
  flex-basis:38px;
  border-radius:10px;
  background:rgba(255,255,255,.1);
  font-size:12px;
}
.cps-designer-dashboard .cps-work-stop .cps-work-button-icon{background:#f1f2f3;color:#30343a}
.cps-designer-dashboard .cps-work-start strong,
.cps-designer-dashboard .cps-work-stop strong{font-size:14px;font-weight:700}
.cps-designer-dashboard .cps-work-start small{font-size:10px;color:rgba(255,255,255,.67);font-weight:500}
.cps-designer-dashboard .cps-work-stop small{font-size:10px;color:#747982;font-weight:500}
.cps-designer-dashboard .cps-workday-complete{
  min-height:64px;
  padding:11px 14px;
  border:1px solid #d7eadf;
  border-radius:14px;
  background:#f8fcf9;
  color:#0a744b;
}
.cps-designer-dashboard .cps-workday-complete>span{
  width:38px;
  height:38px;
  flex-basis:38px;
  border-radius:10px;
  background:#0a8f5b;
  font-size:16px;
}
.cps-designer-dashboard .cps-workday-complete strong{font-size:13px}
.cps-designer-dashboard .cps-workday-complete small{font-size:10px;font-weight:500}
.cps-designer-dashboard .cps-workday-notice{margin-top:10px;border-radius:10px;font-size:11px;font-weight:650}

.cps-designer-dashboard .cps-work-queue{padding:22px}
.cps-designer-dashboard .cps-work-queue-head{align-items:center;margin-bottom:16px}
.cps-designer-dashboard .cps-work-queue-head h2{
  margin:4px 0 3px;
  color:var(--cps-ws-text);
  font-size:23px;
  font-weight:700;
  letter-spacing:-.035em;
}
.cps-designer-dashboard .cps-work-queue-head p{
  max-width:700px;
  color:var(--cps-ws-muted);
  font-size:11px;
  line-height:1.55;
}
.cps-designer-dashboard .cps-work-queue-stats{gap:6px}
.cps-designer-dashboard .cps-work-queue-stats span{
  gap:4px;
  padding:6px 9px;
  border:1px solid var(--cps-ws-line);
  border-radius:999px;
  background:#fff;
  color:#777c84;
  font-size:9px;
  font-weight:650;
}
.cps-designer-dashboard .cps-work-queue-stats strong{font-size:12px;font-weight:750}
.cps-designer-dashboard .cps-work-lock{
  position:relative;
  display:grid;
  grid-template-columns:34px 1fr;
  grid-template-rows:auto auto;
  column-gap:10px;
  row-gap:1px;
  margin:0 0 14px;
  padding:11px 13px;
  border:1px solid #e4e6e9;
  border-radius:12px;
  background:#fafafa;
  color:#3e4248;
}
.cps-designer-dashboard .cps-work-lock>span{
  grid-row:1/3;
  width:34px;
  height:34px;
  flex-basis:34px;
  border-radius:9px;
  background:#f0f1f2;
  color:#6c7179;
}
.cps-designer-dashboard .cps-work-lock>span svg{width:17px;height:17px}
.cps-designer-dashboard .cps-work-lock strong{font-size:11px;font-weight:700}
.cps-designer-dashboard .cps-work-lock small{margin:0;color:#7b8088;font-size:9.5px;font-weight:500}
.cps-designer-dashboard .cps-work-jobs{gap:12px}
.cps-designer-dashboard .cps-worker-job{
  padding:18px;
  border:1px solid var(--cps-ws-line);
  border-radius:16px;
  background:#fff;
  box-shadow:none;
}
.cps-designer-dashboard .cps-worker-job:hover{border-color:#d8dadd}
.cps-designer-dashboard .cps-worker-job.has-revision{border-color:#efcfd2;box-shadow:none}
.cps-designer-dashboard .cps-card-head{margin-bottom:12px}
.cps-designer-dashboard .cps-card-head h3{
  color:var(--cps-ws-text);
  font-size:16px;
  font-weight:700;
  letter-spacing:-.02em;
}
.cps-designer-dashboard .cps-card-head p{margin-top:3px;color:var(--cps-ws-muted);font-size:10px}
.cps-designer-dashboard .cps-status{
  padding:5px 8px;
  border:1px solid #e4e5e7;
  border-radius:999px;
  background:#f8f8f9;
  color:#636870;
  font-size:9px;
  font-weight:700;
}
.cps-designer-dashboard .cps-status-assigned,
.cps-designer-dashboard .cps-status-in_progress{border-color:#eadfc8;background:#fffaf0;color:#8b620f}
.cps-designer-dashboard .cps-status-revision_required{border-color:#efd4d6;background:#fff7f7;color:#a33d45}
.cps-designer-dashboard .cps-worker-progress{
  gap:0;
  margin:12px 0;
  overflow:hidden;
  border:1px solid var(--cps-ws-line);
  border-radius:12px;
  background:#fff;
}
.cps-designer-dashboard .cps-worker-progress>div{
  padding:10px 12px;
  border:0;
  border-right:1px solid var(--cps-ws-line);
  border-radius:0;
  background:#fff;
}
.cps-designer-dashboard .cps-worker-progress>div:last-child{border-right:0}
.cps-designer-dashboard .cps-worker-progress span{color:#8a8f97;font-size:8px;font-weight:700;letter-spacing:.07em}
.cps-designer-dashboard .cps-worker-progress strong{margin-top:2px;font-size:15px;font-weight:700}
.cps-designer-dashboard .cps-worker-revision-alert{
  margin:11px 0;
  padding:10px 11px;
  border:1px solid #efd5d7;
  border-radius:11px;
  background:#fff8f8;
  color:#973c44;
}
.cps-designer-dashboard .cps-worker-revision-alert strong{font-size:10px}
.cps-designer-dashboard .cps-worker-revision-alert span{font-size:9px;font-weight:500}
.cps-designer-dashboard .cps-instructions{
  margin:11px 0 12px;
  padding:12px 13px;
  border:1px solid var(--cps-ws-line);
  border-radius:11px;
  background:var(--cps-ws-soft-2);
  color:#4d525a;
  font-size:11px;
  line-height:1.6;
}
.cps-designer-dashboard .cps-instructions p{margin:0;color:inherit}

.cps-designer-dashboard .cps-assigned-files-panel{
  margin:12px 0 2px;
  border:1px solid var(--cps-ws-line);
  border-radius:14px;
  background:#fff;
  box-shadow:none;
}
.cps-designer-dashboard .cps-assigned-files-head{
  gap:14px;
  padding:12px 13px;
  border-bottom:1px solid var(--cps-ws-line);
  background:#fff;
}
.cps-designer-dashboard .cps-assigned-files-title{gap:9px}
.cps-designer-dashboard .cps-assigned-files-icon{
  width:34px;
  height:34px;
  flex-basis:34px;
  border:1px solid #e7e8ea;
  border-radius:9px;
  background:#f7f7f8;
  color:#4b5057;
  box-shadow:none;
}
.cps-designer-dashboard .cps-assigned-files-icon svg{width:18px;height:18px}
.cps-designer-dashboard .cps-assigned-files-title strong{font-size:12px;font-weight:700}
.cps-designer-dashboard .cps-assigned-files-title small{font-size:9px;font-weight:500}
.cps-designer-dashboard .cps-assigned-download-all{
  min-height:34px;
  padding:7px 10px;
  border:1px solid #d9dbdf;
  border-radius:9px;
  background:#fff;
  color:#25282d;
  box-shadow:none;
}
.cps-designer-dashboard .cps-assigned-download-all:hover{
  border-color:#c8cbd0;
  background:#f8f8f9;
  color:#111216;
  transform:none;
  box-shadow:none;
}
.cps-designer-dashboard .cps-assigned-download-all svg{width:17px;height:17px}
.cps-designer-dashboard .cps-assigned-download-all strong{font-size:10px;font-weight:700}
.cps-designer-dashboard .cps-assigned-download-all small{font-size:8px;font-weight:500}
.cps-designer-dashboard .cps-assigned-files-grid{
  grid-template-columns:repeat(auto-fill,minmax(178px,1fr));
  gap:9px;
  padding:10px;
  background:#fafafa;
}
.cps-designer-dashboard .cps-assigned-file-card{
  border:1px solid #e5e6e8;
  border-radius:11px;
  background:#fff;
  box-shadow:none;
  transition:border-color .16s ease,box-shadow .16s ease,transform .16s ease;
}
.cps-designer-dashboard .cps-assigned-file-card:hover{
  border-color:#cfd2d6;
  box-shadow:0 7px 22px rgba(16,17,20,.07);
  transform:translateY(-1px);
}
.cps-designer-dashboard .cps-assigned-file-preview{
  aspect-ratio:4/3;
  background:#f5f5f6;
  border-bottom:1px solid #ececef;
  cursor:zoom-in;
}
.cps-designer-dashboard .cps-assigned-file-preview img{
  padding:7px;
  background:#f5f5f6;
  transition:transform .2s ease,filter .2s ease;
}
.cps-designer-dashboard .cps-assigned-file-card:hover .cps-assigned-file-preview img{transform:scale(1.012)}
.cps-designer-dashboard .cps-assigned-file-number{
  top:7px;
  left:7px;
  padding:4px 6px;
  border:0;
  border-radius:7px;
  background:rgba(17,18,22,.72);
  font-size:8px;
  font-weight:700;
  box-shadow:none;
}
.cps-designer-dashboard .cps-assigned-file-view{
  right:7px;
  bottom:7px;
  padding:4px 7px;
  border:1px solid rgba(227,228,230,.92);
  border-radius:7px;
  background:rgba(255,255,255,.94);
  color:#454a51;
  font-size:8px;
  font-weight:650;
  box-shadow:0 2px 7px rgba(16,17,20,.06);
}
.cps-designer-dashboard .cps-assigned-file-extension{
  min-width:54px;
  height:54px;
  border:1px solid #dedfe2;
  border-radius:11px;
  background:#fff;
  color:#5b6068;
  font-size:10px;
  font-weight:750;
  box-shadow:none;
}
.cps-designer-dashboard .cps-assigned-file-body{gap:7px;padding:9px}
.cps-designer-dashboard .cps-assigned-file-copy strong{font-size:10px;font-weight:650}
.cps-designer-dashboard .cps-assigned-file-copy small{font-size:8px;font-weight:500}
.cps-designer-dashboard .cps-assigned-file-download{
  min-height:30px;
  border:1px solid #e1e3e6;
  border-radius:8px;
  background:#fff;
  color:#33373d;
  font-size:9px;
  font-weight:650;
}
.cps-designer-dashboard .cps-assigned-file-download:hover{border-color:#cdd0d4;background:#f7f7f8;color:#111216}
.cps-designer-dashboard .cps-assigned-file-download svg{width:13px;height:13px}

.cps-designer-dashboard .cps-worker-upload-stage{
  margin-top:16px;
  padding-top:16px;
  border-top:1px solid var(--cps-ws-line);
}
.cps-designer-dashboard .cps-job-stage-heading{gap:18px;padding:0}
.cps-designer-dashboard .cps-job-stage-heading h3{
  margin:5px 0 4px;
  color:var(--cps-ws-text);
  font-size:16px;
  font-weight:700;
  letter-spacing:-.02em;
}
.cps-designer-dashboard .cps-job-stage-heading p{max-width:720px;color:var(--cps-ws-muted);font-size:10px;line-height:1.55}
.cps-designer-dashboard .cps-job-step{
  padding:0;
  border-radius:0;
  background:transparent;
  color:#8c9199;
  font-size:8px;
  font-weight:700;
  letter-spacing:.1em;
}
.cps-designer-dashboard .cps-job-stage-security{
  padding:6px 9px;
  border:1px solid #dce9e2;
  border-radius:999px;
  background:#f9fcfa;
  color:#19704d;
  font-size:9px;
  font-weight:650;
}
.cps-designer-dashboard .cps-job-stage-security>span{width:15px;height:15px;background:#18875c;font-size:8px}
.cps-designer-dashboard .cps-worker-batch-status{
  padding:10px 11px;
  border:1px solid var(--cps-ws-line);
  border-radius:11px;
  background:#fafafa;
}
.cps-designer-dashboard .cps-worker-batch-status.is-revision{border-color:#efd5d7;background:#fff8f8}
.cps-designer-dashboard .cps-worker-batch-status strong{font-size:10px;font-weight:700}
.cps-designer-dashboard .cps-worker-batch-status span{font-size:8.5px;font-weight:500}
.cps-designer-dashboard .cps-worker-batch-count{
  display:flex!important;
  align-items:center;
  gap:8px;
  flex:0 0 auto!important;
  padding:5px 7px!important;
  border:1px solid #e2e3e6;
  border-radius:8px;
  background:#fff;
  color:#555a61!important;
  font-size:8.5px!important;
  font-weight:650!important;
}
.cps-designer-dashboard .cps-worker-batch-count input{
  width:58px;
  min-height:28px;
  padding:4px 7px;
  border:1px solid #d8dade;
  border-radius:7px;
  background:#fff;
  color:#16181c;
  font-size:10px;
  font-weight:650;
}
.cps-designer-dashboard .cps-job-upload-zone{
  min-height:180px;
  padding:24px;
  border:1px dashed #cfd2d7;
  border-radius:14px;
  background:#fafafa;
  box-shadow:none;
}
.cps-designer-dashboard .cps-job-upload-zone:hover,
.cps-designer-dashboard .cps-job-upload-zone:focus-visible,
.cps-designer-dashboard .cps-job-upload-zone.is-dragging{
  border-color:#aeb3ba;
  background:#f7f7f8;
  box-shadow:0 0 0 3px rgba(37,99,235,.055);
}
.cps-designer-dashboard .cps-job-upload-illustration{
  width:58px;
  height:58px;
  flex-basis:58px;
  border:1px solid #e0e2e5;
  border-radius:13px;
  background:#fff;
  color:#5b6068;
  box-shadow:none;
}
.cps-designer-dashboard .cps-job-upload-illustration svg{width:32px;height:32px}
.cps-designer-dashboard .cps-job-upload-zone .cps-upload-copy{gap:5px}
.cps-designer-dashboard .cps-job-upload-zone .cps-upload-copy strong{font-size:15px;font-weight:700;letter-spacing:-.015em}
.cps-designer-dashboard .cps-job-upload-zone .cps-upload-copy span{max-width:660px;color:#777c84;font-size:10px;line-height:1.55}
.cps-designer-dashboard .cps-job-upload-zone .cps-upload-browse{
  padding:9px 12px;
  border:1px solid #d7d9dd;
  border-radius:9px;
  background:#fff;
  color:#272a2f;
  font-size:10px;
  font-weight:650;
  box-shadow:none;
}
.cps-designer-dashboard .cps-job-upload-zone .cps-upload-browse:hover{background:#f5f5f6}
.cps-designer-dashboard .cps-job-upload-meta{padding:0 2px;color:#858a92;font-size:8.5px}
.cps-designer-dashboard .cps-worker-gallery-uploader .cps-worker-upload-chip{
  border:1px solid #dce8e1;
  border-radius:999px;
  background:#f9fcfa;
  color:#257152;
}
.cps-designer-dashboard .cps-job-gallery-panel{
  border:1px solid var(--cps-ws-line);
  border-radius:13px;
  box-shadow:none;
}
.cps-designer-dashboard .cps-job-gallery-toolbar{
  padding:11px 12px;
  border-bottom:1px solid var(--cps-ws-line);
  background:#fff;
}
.cps-designer-dashboard .cps-job-gallery-toolbar strong{font-size:10px}
.cps-designer-dashboard .cps-job-gallery-toolbar span{font-size:8.5px;color:#7a7f87}
.cps-designer-dashboard .cps-job-gallery-tools button{
  border:1px solid #dedfe2;
  border-radius:8px;
  background:#fff;
  color:#444950;
  font-size:9px;
  font-weight:650;
}
.cps-designer-dashboard .cps-job-image-gallery{padding:10px;background:#fafafa}
.cps-designer-dashboard .cps-job-gallery-action{padding:11px 12px;border-top:1px solid var(--cps-ws-line);background:#fff}
.cps-designer-dashboard .cps-job-selection-icon{background:#111216;color:#fff}
.cps-designer-dashboard .cps-job-selection-summary strong{font-size:10px}
.cps-designer-dashboard .cps-job-selection-summary small{font-size:8.5px;color:#7c8189}
.cps-designer-dashboard .cps-worker-submit-qc{
  min-height:36px;
  padding:9px 12px;
  border-radius:9px;
  background:#111216;
  color:#fff;
  font-size:10px;
  font-weight:700;
  box-shadow:none;
}
.cps-designer-dashboard .cps-worker-submit-qc:hover{background:#24262b;transform:none;filter:none}
.cps-designer-dashboard .cps-upload-progress{
  border:1px solid var(--cps-ws-line);
  border-radius:11px;
  background:#fafafa;
  box-shadow:none;
}
.cps-designer-dashboard .cps-upload-progress-track{background:#e6e7e9}
.cps-designer-dashboard .cps-upload-progress-track span{background:#111216}

/* Minimal image viewer */
.cps-image-viewer{
  position:fixed;
  inset:0;
  z-index:999999;
  display:none;
  align-items:center;
  justify-content:center;
  padding:28px;
  background:rgba(8,9,11,.88);
  backdrop-filter:blur(12px);
}
.cps-image-viewer.is-open{display:flex}
.cps-image-viewer__dialog{
  position:relative;
  display:grid;
  grid-template-rows:minmax(0,1fr) auto;
  width:min(1180px,94vw);
  height:min(860px,90vh);
  overflow:hidden;
  border:1px solid rgba(255,255,255,.13);
  border-radius:18px;
  background:#111216;
  box-shadow:0 30px 90px rgba(0,0,0,.42);
}
.cps-image-viewer__stage{position:relative;display:grid;place-items:center;min-height:0;padding:22px;background:#0d0e11}
.cps-image-viewer__stage img{display:block;max-width:100%;max-height:100%;object-fit:contain;filter:drop-shadow(0 10px 28px rgba(0,0,0,.22))}
.cps-image-viewer__bar{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:11px 13px;border-top:1px solid rgba(255,255,255,.09);background:#15171b;color:#fff}
.cps-image-viewer__meta{min-width:0;display:grid;gap:2px}
.cps-image-viewer__title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px;font-weight:650}
.cps-image-viewer__count{color:#9297a0;font-size:9px;font-weight:500}
.cps-image-viewer__actions{display:flex;align-items:center;gap:6px;flex:0 0 auto}
.cps-image-viewer__button{
  display:grid;
  place-items:center;
  width:34px;
  height:34px;
  padding:0;
  border:1px solid rgba(255,255,255,.12);
  border-radius:9px;
  background:rgba(255,255,255,.04);
  color:#f5f5f6;
  text-decoration:none;
  cursor:pointer;
  font-size:15px;
  line-height:1;
}
.cps-image-viewer__button:hover{background:rgba(255,255,255,.1);color:#fff}
.cps-image-viewer__close{position:absolute;top:12px;right:12px;z-index:2;background:rgba(20,22,26,.72);backdrop-filter:blur(8px)}
body.cps-image-viewer-open{overflow:hidden}

@media(max-width:900px){
  .cps-designer-dashboard .cps-workday-main{grid-template-columns:1fr}
  .cps-designer-dashboard .cps-work-queue-head{align-items:flex-start}
  .cps-designer-dashboard .cps-assigned-files-grid{grid-template-columns:repeat(auto-fill,minmax(160px,1fr))}
}
@media(max-width:680px){
  .cps-designer-dashboard{padding-top:8px}
  .cps-designer-dashboard .cps-workday-console,
  .cps-designer-dashboard .cps-work-queue{padding:15px;border-radius:16px}
  .cps-designer-dashboard .cps-workday-head,
  .cps-designer-dashboard .cps-assigned-files-head{align-items:flex-start;flex-direction:column}
  .cps-designer-dashboard .cps-workday-head h2{font-size:23px}
  .cps-designer-dashboard .cps-workday-state{align-self:flex-start}
  .cps-designer-dashboard .cps-workday-clock{font-size:30px}
  .cps-designer-dashboard .cps-worker-progress{grid-template-columns:repeat(3,minmax(0,1fr))}
  .cps-designer-dashboard .cps-worker-progress>div{padding:9px 8px}
  .cps-designer-dashboard .cps-worker-progress strong{font-size:13px}
  .cps-designer-dashboard .cps-worker-revision-alert{flex-direction:column}
  .cps-designer-dashboard .cps-worker-revision-alert span{text-align:left}
  .cps-designer-dashboard .cps-assigned-download-all{width:auto;justify-content:center}
  .cps-designer-dashboard .cps-assigned-files-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;padding:8px}
  .cps-designer-dashboard .cps-assigned-file-view{display:none}
  .cps-designer-dashboard .cps-job-stage-heading{flex-direction:column}
  .cps-designer-dashboard .cps-job-upload-zone{min-height:160px;padding:18px;gap:14px}
  .cps-image-viewer{padding:10px}
  .cps-image-viewer__dialog{width:100%;height:92vh;border-radius:14px}
  .cps-image-viewer__stage{padding:12px}
}
@media(max-width:390px){
  .cps-designer-dashboard .cps-assigned-files-grid{grid-template-columns:1fr 1fr}
  .cps-designer-dashboard .cps-assigned-file-download span{display:inline}
}
.cps-designer-dashboard .cps-job-gallery-card{
  border:1px solid #e4e5e7;
  border-radius:11px;
  background:#fff;
  box-shadow:none;
  transition:border-color .16s ease,box-shadow .16s ease,transform .16s ease;
}
.cps-designer-dashboard .cps-job-gallery-card:hover{transform:translateY(-1px);border-color:#cfd2d6;box-shadow:0 7px 22px rgba(16,17,20,.06)}
.cps-designer-dashboard .cps-job-gallery-card.is-selected{border-color:#9ab7ef;box-shadow:0 0 0 2px rgba(37,99,235,.08)}
.cps-designer-dashboard .cps-job-gallery-preview{background:#f5f5f6!important}
.cps-designer-dashboard .cps-job-gallery-preview img{padding:6px!important;background:#f5f5f6!important}
.cps-designer-dashboard .cps-job-gallery-check{
  top:7px;left:7px;width:22px;height:22px;border:1px solid rgba(255,255,255,.85);background:rgba(17,18,22,.6);box-shadow:none;font-size:10px;
}
.cps-designer-dashboard .cps-job-gallery-card.is-selected .cps-job-gallery-check{background:#2563eb}
.cps-designer-dashboard .cps-job-gallery-info{gap:2px;padding:9px 10px 10px}
.cps-designer-dashboard .cps-job-gallery-info strong{font-size:10px;font-weight:650}
.cps-designer-dashboard .cps-job-gallery-info small{font-size:8px;font-weight:500}
.cps-designer-dashboard .cps-job-gallery-remove{
  top:7px;right:7px;width:24px;height:24px;border:1px solid rgba(255,255,255,.75);border-radius:7px;background:rgba(17,18,22,.62);font-size:15px;box-shadow:none;
}
.cps-designer-dashboard .cps-job-gallery-remove:hover{background:#c93b46}

/* v1.3.4 - More organized professional worker dashboard */
.cps-designer-dashboard{
  --cps-pro-bg:#f5f7fb;
  --cps-pro-surface:#ffffff;
  --cps-pro-surface-soft:#f8fafc;
  --cps-pro-line:#e5e7eb;
  --cps-pro-line-strong:#d7dce4;
  --cps-pro-text:#0f172a;
  --cps-pro-text-soft:#475569;
  --cps-pro-muted:#64748b;
  --cps-pro-blue:#2563eb;
  --cps-pro-blue-soft:#eff6ff;
  --cps-pro-green:#15803d;
  --cps-pro-green-soft:#f0fdf4;
  --cps-pro-red:#b91c1c;
  --cps-pro-red-soft:#fff5f5;
  --cps-pro-shadow:0 16px 40px rgba(15,23,42,.06);
  max-width:1520px;
  padding:20px 0 48px;
}
.cps-designer-dashboard .cps-designer-workspace{gap:18px}
.cps-designer-dashboard .cps-workday-console,
.cps-designer-dashboard .cps-work-queue{
  background:var(--cps-pro-surface);
  border:1px solid var(--cps-pro-line);
  border-radius:28px;
  box-shadow:var(--cps-pro-shadow);
}
.cps-designer-dashboard .cps-workday-console{
  padding:28px;
  background:linear-gradient(180deg,#fff 0%,#fbfcff 100%);
}
.cps-designer-dashboard .cps-workday-console:before{display:none}
.cps-designer-dashboard .cps-workday-kicker,
.cps-designer-dashboard .cps-overview-label,
.cps-designer-dashboard .cps-worker-section-kicker{
  display:inline-flex;
  align-items:center;
  gap:6px;
  font-size:11px;
  line-height:1;
  letter-spacing:.12em;
  text-transform:uppercase;
  font-weight:800;
  color:var(--cps-pro-blue);
}
.cps-designer-dashboard .cps-workday-head h2{
  margin:8px 0 4px;
  font-size:32px;
  line-height:1.08;
  letter-spacing:-.04em;
}
.cps-designer-dashboard .cps-workday-head p{
  font-size:14px;
  color:var(--cps-pro-muted);
}
.cps-designer-dashboard .cps-workday-state{
  padding:10px 14px;
  border:1px solid #dbeafe;
  background:var(--cps-pro-blue-soft);
  color:#1d4ed8;
  font-size:12px;
  font-weight:800;
}
.cps-designer-dashboard .cps-workday-main{grid-template-columns:minmax(300px,.8fr) minmax(380px,1.2fr);gap:16px;margin-top:20px}
.cps-designer-dashboard .cps-workday-clock-wrap,
.cps-designer-dashboard .cps-workday-progress-wrap{
  border:1px solid var(--cps-pro-line);
  border-radius:22px;
  background:var(--cps-pro-surface-soft);
  padding:22px;
  box-shadow:none;
}
.cps-designer-dashboard .cps-workday-clock-wrap>span,
.cps-designer-dashboard .cps-workday-progress-head span{
  color:var(--cps-pro-muted);
  font-size:11px;
  font-weight:800;
  letter-spacing:.08em;
}
.cps-designer-dashboard .cps-workday-clock{font-size:42px;font-weight:850;letter-spacing:-.05em}
.cps-designer-dashboard .cps-workday-clock-wrap small{font-size:12px;color:var(--cps-pro-text-soft)}
.cps-designer-dashboard .cps-workday-progress-head strong{font-size:15px}
.cps-designer-dashboard .cps-workday-progress{height:12px;background:#e7edf5}
.cps-designer-dashboard .cps-workday-progress>span{background:linear-gradient(90deg,#2563eb,#3b82f6);box-shadow:none}
.cps-designer-dashboard .is-complete .cps-workday-progress>span{background:linear-gradient(90deg,#16a34a,#22c55e)}
.cps-designer-dashboard .cps-workday-meta{font-size:12px;color:var(--cps-pro-muted)}
.cps-designer-dashboard .cps-workday-actions{display:grid;grid-template-columns:minmax(0,1fr);gap:14px;margin-top:18px}
.cps-designer-dashboard .cps-work-start,
.cps-designer-dashboard .cps-work-stop{
  min-height:76px;
  padding:16px 18px;
  border-radius:18px;
  box-shadow:none;
}
.cps-designer-dashboard .cps-work-start{background:linear-gradient(135deg,#2563eb,#1d4ed8)}
.cps-designer-dashboard .cps-work-stop{background:linear-gradient(135deg,#111827,#1f2937)}
.cps-designer-dashboard .cps-work-button-icon{width:46px;height:46px;border-radius:14px;background:rgba(255,255,255,.14)}
.cps-designer-dashboard .cps-work-start strong,
.cps-designer-dashboard .cps-work-stop strong{font-size:18px}
.cps-designer-dashboard .cps-work-start small,
.cps-designer-dashboard .cps-work-stop small{font-size:12px}
.cps-designer-dashboard .cps-workday-complete{border-radius:18px;padding:16px 18px}
.cps-designer-dashboard .cps-work-overview{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:14px;
}
.cps-designer-dashboard .cps-overview-card{
  display:grid;
  gap:8px;
  padding:20px;
  border:1px solid var(--cps-pro-line);
  border-radius:22px;
  background:var(--cps-pro-surface);
  box-shadow:var(--cps-pro-shadow);
}
.cps-designer-dashboard .cps-overview-card strong{
  font-size:32px;
  line-height:1;
  letter-spacing:-.04em;
  color:var(--cps-pro-text);
}
.cps-designer-dashboard .cps-overview-card small{
  color:var(--cps-pro-muted);
  font-size:13px;
  line-height:1.5;
}
.cps-designer-dashboard .cps-work-queue{padding:24px}
.cps-designer-dashboard .cps-work-queue-head{align-items:flex-end;gap:18px;margin-bottom:20px}
.cps-designer-dashboard .cps-work-queue-head h2{font-size:28px;letter-spacing:-.03em;margin:6px 0 6px}
.cps-designer-dashboard .cps-work-queue-head p{font-size:14px;max-width:860px;color:var(--cps-pro-muted)}
.cps-designer-dashboard .cps-work-queue-stats{gap:10px}
.cps-designer-dashboard .cps-work-queue-stats span{
  min-width:145px;
  padding:12px 14px;
  border:1px solid var(--cps-pro-line);
  border-radius:16px;
  background:var(--cps-pro-surface-soft);
}
.cps-designer-dashboard .cps-work-jobs{display:grid;gap:18px}
.cps-designer-dashboard .cps-worker-job{
  padding:22px;
  border:1px solid var(--cps-pro-line);
  border-radius:24px;
  background:var(--cps-pro-surface);
  margin:0;
}
.cps-designer-dashboard .cps-card-head{margin-bottom:16px;align-items:flex-start}
.cps-designer-dashboard .cps-card-head h3{font-size:24px;letter-spacing:-.03em;margin:0}
.cps-designer-dashboard .cps-card-head p{font-size:13px;color:var(--cps-pro-muted);margin-top:5px}
.cps-designer-dashboard .cps-status{padding:7px 12px;font-size:11px;border:1px solid transparent}
.cps-designer-dashboard .cps-worker-job-meta{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:12px;
  margin-bottom:14px;
}
.cps-designer-dashboard .cps-worker-meta-item{
  display:grid;
  gap:7px;
  padding:14px 16px;
  border:1px solid var(--cps-pro-line);
  border-radius:18px;
  background:var(--cps-pro-surface-soft);
}
.cps-designer-dashboard .cps-worker-meta-item span{
  font-size:11px;
  line-height:1;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:var(--cps-pro-muted);
}
.cps-designer-dashboard .cps-worker-meta-item strong{font-size:15px;line-height:1.4;color:var(--cps-pro-text)}
.cps-designer-dashboard .cps-worker-progress{
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:0;
  border:1px solid var(--cps-pro-line);
  border-radius:18px;
  overflow:hidden;
  margin-bottom:14px;
  background:var(--cps-pro-surface-soft);
}
.cps-designer-dashboard .cps-worker-progress>div{padding:16px 18px;border-right:1px solid var(--cps-pro-line);background:transparent}
.cps-designer-dashboard .cps-worker-progress>div:last-child{border-right:0}
.cps-designer-dashboard .cps-worker-progress span{font-size:11px;letter-spacing:.08em;color:var(--cps-pro-muted)}
.cps-designer-dashboard .cps-worker-progress strong{font-size:22px;letter-spacing:-.03em;color:var(--cps-pro-text)}
.cps-designer-dashboard .cps-worker-revision-alert{
  padding:14px 16px;
  border-radius:18px;
  border:1px solid #fecaca;
  background:var(--cps-pro-red-soft);
  margin-bottom:16px;
}
.cps-designer-dashboard .cps-worker-section{margin-bottom:16px}
.cps-designer-dashboard .cps-worker-section-head{display:grid;gap:5px;margin-bottom:10px}
.cps-designer-dashboard .cps-worker-section-head h4{
  margin:0;
  font-size:18px;
  line-height:1.2;
  letter-spacing:-.02em;
  color:var(--cps-pro-text);
}
.cps-designer-dashboard .cps-instructions{
  margin:0;
  padding:18px 20px;
  border-radius:18px;
  background:var(--cps-pro-surface-soft);
  border:1px solid var(--cps-pro-line);
  font-size:14px;
  line-height:1.75;
  color:var(--cps-pro-text-soft);
}
.cps-designer-dashboard .cps-assigned-files-panel,
.cps-designer-dashboard .cps-job-gallery-panel,
.cps-designer-dashboard .cps-upload-progress{
  border:1px solid var(--cps-pro-line);
  border-radius:20px;
  background:var(--cps-pro-surface);
}
.cps-designer-dashboard .cps-assigned-files-panel{padding:18px;margin-bottom:16px}
.cps-designer-dashboard .cps-assigned-files-head{margin-bottom:16px;align-items:center}
.cps-designer-dashboard .cps-assigned-files-title strong{font-size:16px}
.cps-designer-dashboard .cps-assigned-files-title small{font-size:12px;color:var(--cps-pro-muted)}
.cps-designer-dashboard .cps-assigned-files-icon{width:40px;height:40px;border-radius:14px;background:#eff6ff;color:#1d4ed8}
.cps-designer-dashboard .cps-assigned-download-all{
  min-height:48px;
  padding:10px 14px;
  border-radius:14px;
  border:1px solid var(--cps-pro-line-strong);
  background:#fff;
  color:var(--cps-pro-text);
}
.cps-designer-dashboard .cps-assigned-download-all strong{font-size:13px}
.cps-designer-dashboard .cps-assigned-download-all small{font-size:11px;color:var(--cps-pro-muted)}
.cps-designer-dashboard .cps-assigned-files-grid{grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:14px;padding:0;background:transparent}
.cps-designer-dashboard .cps-assigned-file-card{
  border:1px solid var(--cps-pro-line);
  border-radius:18px;
  background:var(--cps-pro-surface);
  overflow:hidden;
}
.cps-designer-dashboard .cps-assigned-file-preview{background:#f8fafc;min-height:180px}
.cps-designer-dashboard .cps-assigned-file-preview img{width:100%;height:100%;object-fit:cover}
.cps-designer-dashboard .cps-assigned-file-number,
.cps-designer-dashboard .cps-assigned-file-view{font-size:11px}
.cps-designer-dashboard .cps-assigned-file-body{padding:14px;gap:12px}
.cps-designer-dashboard .cps-assigned-file-copy strong{font-size:13px;line-height:1.4}
.cps-designer-dashboard .cps-assigned-file-copy small{font-size:11px;color:var(--cps-pro-muted)}
.cps-designer-dashboard .cps-assigned-file-download{
  min-height:40px;
  border-radius:12px;
  border:1px solid var(--cps-pro-line-strong);
  font-size:12px;
  font-weight:700;
}
.cps-designer-dashboard .cps-worker-upload-stage{padding-top:0;margin-top:0;border-top:0}
.cps-designer-dashboard .cps-job-stage-heading{padding:0;gap:18px;margin-bottom:16px}
.cps-designer-dashboard .cps-job-stage-heading h3{font-size:22px;line-height:1.15;letter-spacing:-.02em}
.cps-designer-dashboard .cps-job-stage-heading p{font-size:13px;color:var(--cps-pro-muted);max-width:820px}
.cps-designer-dashboard .cps-job-stage-security{border-radius:999px;padding:9px 12px;border:1px solid #d1fae5;background:#ecfdf5;color:#047857}
.cps-designer-dashboard .cps-worker-batch-status{padding:14px 16px;border:1px solid var(--cps-pro-line);border-radius:18px;background:var(--cps-pro-surface-soft);margin-bottom:14px}
.cps-designer-dashboard .cps-worker-batch-status strong{font-size:14px}
.cps-designer-dashboard .cps-worker-batch-status span{font-size:12px;color:var(--cps-pro-muted)}
.cps-designer-dashboard .cps-worker-batch-count{font-size:12px}
.cps-designer-dashboard .cps-worker-batch-count input{min-height:42px;border-radius:12px}
.cps-designer-dashboard .cps-job-upload-zone{
  min-height:190px;
  padding:24px;
  border:1.5px dashed #cbd5e1;
  border-radius:20px;
  background:#fbfdff;
}
.cps-designer-dashboard .cps-job-upload-zone .cps-upload-copy strong{font-size:19px}
.cps-designer-dashboard .cps-job-upload-zone .cps-upload-copy span{font-size:13px;color:var(--cps-pro-muted);max-width:700px}
.cps-designer-dashboard .cps-job-upload-zone .cps-upload-browse{min-height:42px;padding:0 16px;border-radius:12px;border:1px solid var(--cps-pro-line-strong)}
.cps-designer-dashboard .cps-job-upload-meta{font-size:12px;color:var(--cps-pro-muted);padding:0 2px;margin-top:10px}
.cps-designer-dashboard .cps-job-gallery-panel{margin-top:14px;overflow:hidden}
.cps-designer-dashboard .cps-job-gallery-toolbar{padding:16px 18px;border-bottom:1px solid var(--cps-pro-line);background:var(--cps-pro-surface-soft)}
.cps-designer-dashboard .cps-job-gallery-toolbar strong{font-size:14px}
.cps-designer-dashboard .cps-job-gallery-toolbar span{font-size:12px;color:var(--cps-pro-muted)}
.cps-designer-dashboard .cps-job-gallery-tools button{min-height:36px;padding:0 12px;border-radius:10px;border:1px solid var(--cps-pro-line-strong);background:#fff;font-size:12px}
.cps-designer-dashboard .cps-job-image-gallery{padding:16px;background:#fff}
.cps-designer-dashboard .cps-job-gallery-card{border-radius:16px;border:1px solid var(--cps-pro-line);background:#fff}
.cps-designer-dashboard .cps-job-gallery-card.is-selected{border-color:#93c5fd;box-shadow:0 0 0 3px rgba(37,99,235,.08)}
.cps-designer-dashboard .cps-job-gallery-preview{background:#f8fafc!important}
.cps-designer-dashboard .cps-job-gallery-info{padding:12px;gap:4px}
.cps-designer-dashboard .cps-job-gallery-info strong{font-size:12px}
.cps-designer-dashboard .cps-job-gallery-info small{font-size:11px;color:var(--cps-pro-muted)}
.cps-designer-dashboard .cps-job-gallery-action{padding:16px 18px;border-top:1px solid var(--cps-pro-line);background:var(--cps-pro-surface-soft)}
.cps-designer-dashboard .cps-job-selection-summary strong{font-size:13px}
.cps-designer-dashboard .cps-job-selection-summary small{font-size:11px;color:var(--cps-pro-muted)}
.cps-designer-dashboard .cps-worker-submit-qc{min-height:44px;border-radius:12px;padding:0 16px;background:#111827;font-size:13px}
.cps-designer-dashboard .cps-upload-progress{padding:16px;margin-top:14px}
.cps-designer-dashboard .cps-upload-progress-head{font-size:12px}
.cps-designer-dashboard .cps-work-lock{
  align-items:flex-start;
  padding:16px 18px;
  border:1px solid var(--cps-pro-line);
  border-radius:18px;
  background:var(--cps-pro-surface-soft);
}
.cps-designer-dashboard .cps-work-lock strong{font-size:14px}
.cps-designer-dashboard .cps-work-lock small{font-size:12px;color:var(--cps-pro-muted)}
@media (max-width:1180px){
  .cps-designer-dashboard .cps-work-overview{grid-template-columns:repeat(2,minmax(0,1fr))}
  .cps-designer-dashboard .cps-worker-job-meta{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:860px){
  .cps-designer-dashboard .cps-workday-main{grid-template-columns:1fr}
  .cps-designer-dashboard .cps-work-queue-head{flex-direction:column;align-items:flex-start}
  .cps-designer-dashboard .cps-assigned-files-head{align-items:flex-start;flex-direction:column}
}
@media (max-width:640px){
  .cps-designer-dashboard{padding-top:8px}
  .cps-designer-dashboard .cps-workday-console,
  .cps-designer-dashboard .cps-work-queue,
  .cps-designer-dashboard .cps-overview-card,
  .cps-designer-dashboard .cps-worker-job{padding:16px;border-radius:20px}
  .cps-designer-dashboard .cps-workday-head{flex-direction:column;align-items:flex-start}
  .cps-designer-dashboard .cps-workday-head h2{font-size:25px}
  .cps-designer-dashboard .cps-workday-clock{font-size:34px}
  .cps-designer-dashboard .cps-work-overview,
  .cps-designer-dashboard .cps-worker-job-meta,
  .cps-designer-dashboard .cps-worker-progress{grid-template-columns:1fr}
  .cps-designer-dashboard .cps-worker-progress>div{border-right:0;border-bottom:1px solid var(--cps-pro-line)}
  .cps-designer-dashboard .cps-worker-progress>div:last-child{border-bottom:0}
  .cps-designer-dashboard .cps-assigned-files-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .cps-designer-dashboard .cps-assigned-file-preview{min-height:130px}
  .cps-designer-dashboard .cps-job-stage-heading{flex-direction:column;align-items:flex-start}
  .cps-designer-dashboard .cps-job-upload-zone{padding:18px;min-height:170px}
  .cps-designer-dashboard .cps-job-gallery-action{display:grid;gap:12px}
  .cps-designer-dashboard .cps-worker-submit-qc{width:100%}
}

/* v1.3.6 reliability hardening: stale work-session markup must never dead-lock the Done-file picker. */
.cps-designer-dashboard .cps-work-queue.is-locked .cps-worker-completed-form{
  opacity:1;
  pointer-events:auto;
  filter:none;
}
.cps-designer-dashboard .cps-work-queue.is-locked .cps-worker-completed-form .cps-worker-submit-qc{
  opacity:.72;
}
.cps-designer-dashboard .cps-upload-browse-label{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  user-select:none;
}

/* v1.4.1 shared Quality Controller workspace */
.cps-qc-workspace{
  --qc-bg:#f6f8fb;
  --qc-surface:#fff;
  --qc-soft:#f8fafc;
  --qc-line:#e2e8f0;
  --qc-line-strong:#cbd5e1;
  --qc-text:#0f172a;
  --qc-muted:#64748b;
  --qc-blue:#2563eb;
  --qc-blue-soft:#eff6ff;
  --qc-green:#15803d;
  --qc-green-soft:#ecfdf5;
  --qc-red:#b91c1c;
  max-width:1560px;
  margin:0 auto;
  padding:18px 0 44px;
  color:var(--qc-text);
}
.cps-qc-hero{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:24px;
  padding:26px 28px;
  border:1px solid var(--qc-line);
  border-radius:26px;
  background:linear-gradient(180deg,#fff,#fbfdff);
  box-shadow:0 16px 42px rgba(15,23,42,.055);
}
.cps-qc-eyebrow,.cps-qc-job-kicker,.cps-qc-section-label{
  display:inline-flex;
  font-size:10px;
  line-height:1;
  font-weight:900;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:var(--qc-blue);
}
.cps-qc-hero h2{margin:8px 0 7px;font-size:31px;line-height:1.08;letter-spacing:-.04em;color:var(--qc-text)}
.cps-qc-hero p{max-width:850px;margin:0;color:var(--qc-muted);font-size:13px;line-height:1.65}
.cps-qc-hero-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:flex-end}
.cps-qc-identity{display:grid;gap:2px;min-width:165px;padding:10px 13px;border:1px solid #bfdbfe;border-radius:14px;background:var(--qc-blue-soft)}
.cps-qc-identity small{font-size:9px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#64748b}
.cps-qc-identity strong{font-size:12px;color:#1d4ed8}
.cps-qc-identity.is-view-only{border-color:var(--qc-line);background:var(--qc-soft)}
.cps-qc-identity.is-view-only strong{color:#475569}
.cps-qc-refresh{min-height:44px;padding:0 15px;border:1px solid var(--qc-line-strong);border-radius:13px;background:#fff;color:var(--qc-text);font-weight:800;cursor:pointer}
.cps-qc-refresh:hover{background:#f8fafc}
.cps-qc-global-notice{margin-top:12px;padding:12px 15px;border-radius:14px;border:1px solid #bbf7d0;background:#f0fdf4;color:#166534;font-size:12px;font-weight:750}
.cps-qc-global-notice.is-error{border-color:#fecaca;background:#fff1f2;color:#991b1b}
.cps-qc-global-notice.is-warning{border-color:#fed7aa;background:#fff7ed;color:#9a3412}
.cps-qc-job-list{display:grid;gap:18px;margin-top:18px}
.cps-qc-empty-state{display:grid;place-items:center;gap:7px;min-height:180px;padding:28px;border:1px dashed var(--qc-line-strong);border-radius:22px;background:#fff;text-align:center}
.cps-qc-empty-state strong{font-size:16px}.cps-qc-empty-state span{color:var(--qc-muted);font-size:12px}
.cps-qc-job-board{padding:22px;border:1px solid var(--qc-line);border-radius:26px;background:#fff;box-shadow:0 14px 36px rgba(15,23,42,.05)}
.cps-qc-job-header{display:flex;align-items:flex-start;justify-content:space-between;gap:22px;padding-bottom:18px;border-bottom:1px solid var(--qc-line)}
.cps-qc-job-header h3{margin:5px 0 4px;font-size:25px;line-height:1.1;letter-spacing:-.035em}
.cps-qc-job-header p{margin:0;color:var(--qc-muted);font-size:11px}
.cps-qc-job-stats{display:flex;align-items:stretch;gap:8px;flex-wrap:wrap;justify-content:flex-end}
.cps-qc-job-stats>span{display:grid;min-width:92px;padding:9px 12px;border:1px solid var(--qc-line);border-radius:13px;background:var(--qc-soft);text-align:center}
.cps-qc-job-stats strong{font-size:18px;line-height:1}.cps-qc-job-stats small{margin-top:4px;color:var(--qc-muted);font-size:8px;font-weight:800;text-transform:uppercase;letter-spacing:.06em}
.cps-qc-job-stats>a{display:inline-flex;align-items:center;padding:0 13px;border-radius:13px;background:#111827;color:#fff!important;text-decoration:none;font-size:10px;font-weight:850}
.cps-qc-source-strip,.cps-qc-folder-zone,.cps-qc-unassigned-section,.cps-qc-folder-contents{padding-top:18px}
.cps-qc-section-title{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin-bottom:10px}
.cps-qc-section-title>span{font-size:12px;font-weight:850;color:var(--qc-text)}
.cps-qc-section-title>small{font-size:9px;color:var(--qc-muted)}
.cps-qc-folder-row{display:grid;grid-template-columns:repeat(auto-fill,minmax(185px,1fr));gap:9px}
.cps-qc-folder-card{position:relative;display:flex;align-items:center;gap:11px;min-height:68px;padding:11px 12px;border:1px solid var(--qc-line);border-radius:16px;background:#fff;color:var(--qc-text);text-align:left;transition:border-color .16s ease,background .16s ease,box-shadow .16s ease,transform .16s ease}
button.cps-qc-folder-card{cursor:pointer;font:inherit}
.cps-qc-folder-card:hover{border-color:#c7d2e2;background:#fbfdff}
.cps-qc-folder-card.is-qc.is-open{border-color:#93c5fd;background:#f8fbff;box-shadow:0 0 0 3px rgba(37,99,235,.06)}
.cps-qc-folder-card.is-mine{border-color:#bfdbfe;background:#f8fbff}
.cps-qc-folder-card.is-disabled{opacity:.48;cursor:not-allowed}
.cps-qc-folder-card.is-drag-over{border-color:#2563eb;background:#eff6ff;box-shadow:0 0 0 4px rgba(37,99,235,.12),0 14px 30px rgba(37,99,235,.12);transform:translateY(-2px)}
.cps-qc-folder-card.is-moving{pointer-events:none;opacity:.7}
.cps-qc-folder-icon{display:grid;place-items:center;width:38px;height:34px;flex:0 0 38px;border-radius:9px;background:#f1f5f9;color:#64748b;font-size:15px}
.cps-qc-folder-card.is-mine .cps-qc-folder-icon{background:#dbeafe;color:#1d4ed8}
.cps-qc-folder-card>div{display:grid;gap:3px;min-width:0}
.cps-qc-folder-card strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px;font-weight:850}
.cps-qc-folder-card small{color:var(--qc-muted);font-size:8.5px;font-weight:650}
.cps-qc-drop-hint{margin-left:auto;flex:0 0 auto;padding:4px 6px;border-radius:7px;background:#2563eb;color:#fff;font-size:7.5px;font-weight:900;text-transform:uppercase;letter-spacing:.05em}
.cps-qc-gallery-head{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin-bottom:11px}
.cps-qc-gallery-head h4{margin:5px 0 3px;font-size:18px;line-height:1.2;letter-spacing:-.025em}
.cps-qc-gallery-head p{margin:0;max-width:760px;color:var(--qc-muted);font-size:10px;line-height:1.55}
.cps-qc-selection-summary{display:flex;align-items:center;gap:8px;flex:0 0 auto}
.cps-qc-selection-summary strong{font-size:10px}
.cps-qc-selection-summary button{min-height:34px;padding:0 10px;border:1px solid var(--qc-line);border-radius:10px;background:#fff;color:#475569;font-size:9px;font-weight:800;cursor:pointer}
.cps-qc-file-gallery{position:relative;display:grid;grid-template-columns:repeat(auto-fill,minmax(185px,1fr));gap:10px;padding:11px;border:1px solid var(--qc-line);border-radius:19px;background:#f8fafc;min-height:110px;user-select:none}
.cps-qc-file-gallery.is-folder[hidden]{display:none!important}
.cps-qc-lasso{position:absolute;z-index:20;border:1px solid #2563eb;background:rgba(37,99,235,.10);border-radius:6px;pointer-events:none}
.cps-qc-file-card{position:relative;min-width:0;overflow:hidden;border:1px solid var(--qc-line);border-radius:15px;background:#fff;transition:border-color .15s ease,box-shadow .15s ease,transform .15s ease,opacity .15s ease}
.cps-qc-file-card[data-qc-draggable="1"]{cursor:default}
.cps-qc-file-card.is-selected{border-color:#60a5fa;box-shadow:0 0 0 3px rgba(37,99,235,.10)}
.cps-qc-file-card.is-selected[draggable="true"]{cursor:grab}.cps-qc-file-card.is-selected[draggable="true"]:active{cursor:grabbing}
.cps-qc-file-card.is-moving{opacity:.45}.cps-qc-file-card.is-finalized{opacity:.25;transform:scale(.98)}
.cps-qc-file-select-indicator{position:absolute;z-index:5;top:8px;left:8px;display:grid;place-items:center;width:22px;height:22px;border-radius:7px;border:1px solid rgba(255,255,255,.75);background:rgba(15,23,42,.58);color:#fff;font-size:10px;font-weight:950;opacity:0;transform:scale(.85);transition:.14s ease}
.cps-qc-file-card[data-qc-draggable="1"] .cps-qc-file-select-indicator{opacity:.72}
.cps-qc-file-card.is-selected .cps-qc-file-select-indicator{opacity:1;transform:scale(1);background:#2563eb}
.cps-qc-file-preview{position:relative;display:grid;place-items:center;aspect-ratio:4/3;overflow:hidden;background:#f1f5f9;text-decoration:none}
.cps-qc-file-preview img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .2s ease}
.cps-qc-file-card:hover .cps-qc-file-preview img{transform:scale(1.018)}
.cps-qc-preview-label{position:absolute;right:8px;bottom:8px;padding:4px 7px;border-radius:7px;background:rgba(15,23,42,.7);color:#fff;font-size:7.5px;font-weight:850;opacity:0;transition:.15s ease}.cps-qc-file-card:hover .cps-qc-preview-label{opacity:1}
.cps-qc-file-preview.is-document{background:#eef2f7}.cps-qc-file-extension{display:grid;place-items:center;width:58px;height:58px;border-radius:14px;background:#fff;border:1px solid var(--qc-line);color:#475569;font-size:11px;font-weight:900}
.cps-qc-file-body{display:grid;gap:7px;padding:10px}
.cps-qc-file-source{display:grid;gap:2px}.cps-qc-file-source>span{color:#2563eb;font-size:8.5px;font-weight:850}.cps-qc-file-source>small{color:#94a3b8;font-size:7.5px}
.cps-qc-file-name{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px;font-weight:800}
.cps-qc-file-meta{display:flex;justify-content:space-between;gap:8px;color:#94a3b8;font-size:7.5px;font-weight:700}
.cps-qc-card-actions{display:flex;align-items:center;gap:6px;margin-top:1px}
.cps-qc-done-button{display:inline-flex;align-items:center;justify-content:center;gap:5px;min-height:31px;padding:0 10px;border:0;border-radius:9px;background:#111827;color:#fff;font-size:8.5px;font-weight:900;cursor:pointer}.cps-qc-done-button:hover{background:#1f2937}.cps-qc-done-button:disabled{opacity:.55;cursor:wait}
.cps-qc-file-open{margin-left:auto;color:#475569!important;text-decoration:none;font-size:8.5px;font-weight:800}.cps-qc-file-open:hover{color:#111827!important}
.cps-qc-readonly-badge{display:inline-flex;align-items:center;min-height:27px;padding:0 8px;border-radius:8px;background:#f1f5f9;color:#64748b;font-size:7.5px;font-weight:850}
.cps-qc-inline-empty{grid-column:1/-1;display:grid;place-items:center;min-height:82px;padding:16px;border:1px dashed var(--qc-line-strong);border-radius:14px;background:#fff;color:var(--qc-muted);font-size:10px;text-align:center}
.cps-qc-job-board.is-dragging-files [data-cps-qc-drop-target]{border-color:#93c5fd;background:#f8fbff}
@media(max-width:900px){
  .cps-qc-hero,.cps-qc-job-header,.cps-qc-gallery-head{flex-direction:column;align-items:flex-start}
  .cps-qc-hero-actions,.cps-qc-job-stats{justify-content:flex-start}
  .cps-qc-file-gallery{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:640px){
  .cps-qc-workspace{padding-top:8px}
  .cps-qc-hero,.cps-qc-job-board{padding:16px;border-radius:19px}
  .cps-qc-hero h2{font-size:24px}
  .cps-qc-hero-actions{width:100%}.cps-qc-identity{flex:1;min-width:0}.cps-qc-refresh{flex:0 0 auto}
  .cps-qc-folder-row{grid-template-columns:1fr 1fr}
  .cps-qc-file-gallery{grid-template-columns:repeat(2,minmax(0,1fr));padding:8px;gap:8px}
  .cps-qc-file-body{padding:8px}.cps-qc-file-name{font-size:9px}
  .cps-qc-section-title{align-items:flex-start;flex-direction:column;gap:4px}
}
.cps-qc-preview-label{color:#fff!important;text-decoration:none}.cps-qc-preview-label:hover{color:#fff!important;background:rgba(15,23,42,.86)}

/* v1.4.8 — QC folder downloads + Final Done uploader */
.cps-qc-folder-downloadbar{
  grid-column:1/-1;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:12px 13px;
  border:1px solid #e2e8f0;
  border-radius:14px;
  background:#fff;
}
.cps-qc-folder-downloadbar>div{display:grid;gap:3px;min-width:0}
.cps-qc-folder-downloadbar strong{font-size:11px;color:#0f172a}
.cps-qc-folder-downloadbar small{font-size:8.5px;color:#64748b;line-height:1.45}
.cps-qc-folder-zip{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  min-height:36px;
  padding:0 11px;
  flex:0 0 auto;
  border:1px solid #d7dee9;
  border-radius:10px;
  background:#fff;
  color:#0f172a!important;
  text-decoration:none!important;
  font-size:9px;
  font-weight:850;
  transition:.15s ease;
}
.cps-qc-folder-zip:hover{border-color:#b8c4d5;background:#f8fafc;transform:translateY(-1px)}
.cps-qc-file-download{display:inline-flex;align-items:center;justify-content:center;min-height:27px;padding:0 8px;border:1px solid #dbe3ed;border-radius:8px;background:#fff;color:#2563eb!important;text-decoration:none!important;font-size:8px;font-weight:850}
.cps-qc-file-download:hover{border-color:#bfdbfe;background:#eff6ff;color:#1d4ed8!important;text-decoration:none!important}
.cps-qc-file-download+.cps-qc-file-open{margin-left:0}
.cps-qc-card-actions .cps-qc-file-open:last-child{margin-left:auto}

.cps-qc-final-upload{
  margin-top:20px;
  padding:18px;
  border:1px solid #dbe4ef;
  border-radius:21px;
  background:linear-gradient(180deg,#fff,#fbfdff);
  box-shadow:0 8px 24px rgba(15,23,42,.035);
}
.cps-qc-final-upload-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:20px;
  margin-bottom:13px;
}
.cps-qc-final-upload-head>div:first-child{min-width:0}
.cps-qc-final-upload-head h4{margin:6px 0 4px;font-size:18px;line-height:1.2;letter-spacing:-.025em;color:#0f172a}
.cps-qc-final-upload-head p{max-width:800px;margin:0;color:#64748b;font-size:10px;line-height:1.6}
.cps-qc-final-upload-summary{display:flex;align-items:stretch;gap:8px;flex:0 0 auto}
.cps-qc-final-upload-summary>span{display:grid;place-items:center;min-width:92px;padding:8px 10px;border:1px solid #e2e8f0;border-radius:12px;background:#f8fafc;text-align:center}
.cps-qc-final-upload-summary strong{font-size:18px;line-height:1;color:#0f172a}
.cps-qc-final-upload-summary small{margin-top:4px;color:#64748b;font-size:7.5px;font-weight:800;text-transform:uppercase;letter-spacing:.05em}
.cps-qc-final-upload-summary>a{display:inline-flex;align-items:center;padding:0 12px;border-radius:12px;background:#111827;color:#fff!important;text-decoration:none!important;font-size:9px;font-weight:850}
.cps-qc-final-upload-summary>a[hidden]{display:none!important}
/* v1.5.12.61 — QC Final Done uses the exact Add Job upload-field visual system.
   QC-specific selectors are intentionally limited to behavior so the shared
   .cps-upload-zone/.cps-job-upload-zone styles remain pixel-consistent. */
.cps-qc-final-upload-shell{margin-top:0}
.cps-qc-final-files{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:9px;margin-top:12px}
.cps-qc-final-files[hidden]{display:none!important}
.cps-qc-final-file{position:relative;overflow:hidden;border:1px solid #e2e8f0;border-radius:15px;background:#fff;transition:border-color .15s ease,box-shadow .15s ease}
.cps-qc-final-file.is-complete{border-color:#bbf7d0;box-shadow:0 0 0 2px rgba(34,197,94,.05)}
.cps-qc-final-file-preview{display:grid;place-items:center;aspect-ratio:4/3;overflow:hidden;background:#f1f5f9}
.cps-qc-final-file-preview img{display:block;width:100%;height:100%;object-fit:contain;padding:5px;box-sizing:border-box;background:#f8fafc}
.cps-qc-final-file-type{display:grid;place-items:center;width:54px;height:54px;border:1px solid #dbe3ed;border-radius:13px;background:#fff;color:#475569;font-size:10px;font-weight:900}
.cps-qc-final-file-body{display:grid;gap:5px;padding:9px 10px 10px}
.cps-qc-final-file-body>strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:9px;color:#0f172a}
.cps-qc-final-file-body>small{font-size:7.5px;color:#94a3b8}
.cps-qc-final-file-state{display:flex;justify-content:space-between;gap:8px;margin-top:2px;color:#64748b;font-size:7.5px;font-weight:800}
.cps-qc-final-file-state b{color:#334155}
.cps-qc-final-file-track{height:4px;overflow:hidden;border-radius:999px;background:#e8edf4}
.cps-qc-final-file-track span{display:block;width:0;height:100%;border-radius:inherit;background:#2563eb;transition:width .16s ease}
.cps-qc-final-file.is-complete .cps-qc-final-file-track span{background:#16a34a}
.cps-qc-final-remove{position:absolute;top:7px;right:7px;display:grid;place-items:center;width:25px;height:25px;border:1px solid rgba(255,255,255,.65);border-radius:8px;background:rgba(15,23,42,.72);color:#fff;font-size:15px;line-height:1;cursor:pointer}
.cps-qc-final-remove:disabled{opacity:.35;cursor:not-allowed}
.cps-qc-final-footer{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:12px;padding-top:12px;border-top:1px solid #e7edf4}
.cps-qc-final-footer[hidden]{display:none!important}
.cps-qc-final-overall{display:grid;gap:6px;min-width:240px;max-width:520px;flex:1}
.cps-qc-final-overall>div:first-child{display:flex;justify-content:space-between;gap:12px;color:#475569;font-size:9px;font-weight:800}
.cps-qc-final-overall-track{height:6px;overflow:hidden;border-radius:999px;background:#e8edf4}
.cps-qc-final-overall-track span{display:block;width:0;height:100%;border-radius:inherit;background:linear-gradient(90deg,#2563eb,#0ea5e9);transition:width .18s ease}
.cps-qc-final-actions{display:flex;align-items:center;gap:8px;flex:0 0 auto}
.cps-qc-final-clear,.cps-qc-final-submit{min-height:38px;padding:0 13px;border-radius:10px;font-size:9px;font-weight:850;cursor:pointer}
.cps-qc-final-clear{border:1px solid #d6deea;background:#fff;color:#475569}
.cps-qc-final-submit{display:inline-flex;align-items:center;gap:8px;border:0;background:#111827;color:#fff}
.cps-qc-final-submit:hover{background:#1f2937}.cps-qc-final-clear:hover{background:#f8fafc}
.cps-qc-final-upload.is-uploading .cps-qc-final-dropzone{opacity:.6;pointer-events:none}
@media(max-width:760px){
  .cps-qc-folder-downloadbar,.cps-qc-final-upload-head,.cps-qc-final-footer{flex-direction:column;align-items:stretch}
  .cps-qc-folder-zip,.cps-qc-final-upload-summary>a{min-height:38px;justify-content:center}
  .cps-qc-final-upload-summary{width:100%}.cps-qc-final-upload-summary>span{flex:1}
  .cps-qc-final-files{grid-template-columns:repeat(2,minmax(0,1fr))}
  .cps-qc-final-overall{min-width:0;max-width:none;width:100%}
  .cps-qc-final-actions{width:100%}.cps-qc-final-actions>*{flex:1}
}

/* v1.5.0 - Full worker information inside the full-app Designer Panel */
.cps-manager-designer-toolbar{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:20px;
  margin:0 0 18px;
  padding:18px 20px;
  border:1px solid #e2e8f0;
  border-radius:22px;
  background:#fff;
  box-shadow:0 10px 30px rgba(15,23,42,.05);
}
.cps-manager-designer-toolbar-copy{display:grid;gap:5px;min-width:0}
.cps-manager-designer-toolbar-copy>span{font-size:10px;font-weight:850;letter-spacing:.12em;text-transform:uppercase;color:#2563eb}
.cps-manager-designer-toolbar-copy>strong{font-size:20px;line-height:1.2;letter-spacing:-.025em;color:#0f172a}
.cps-manager-designer-toolbar-copy>small{font-size:12px;line-height:1.5;color:#64748b}
.cps-manager-designer-switch{display:flex;align-items:flex-end;gap:9px;flex:0 0 auto}
.cps-manager-designer-switch label{display:grid;gap:6px;color:#64748b;font-size:10px;font-weight:800;letter-spacing:.07em;text-transform:uppercase}
.cps-manager-designer-switch select{
  min-width:250px;
  height:42px;
  padding:0 38px 0 12px;
  border:1px solid #d8dee8;
  border-radius:12px;
  background:#fff;
  color:#0f172a;
  font-size:12px;
  font-weight:700;
  box-shadow:none;
}
.cps-manager-designer-switch .cps-btn{min-height:42px;padding:0 15px;border-radius:12px;background:#111827;font-size:12px}
.cps-manager-designer-readonly{max-width:none;padding-top:0}
.cps-manager-designer-readonly .cps-workday-console{margin:0}
.cps-manager-designer-identity{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px;
  margin-top:16px;
}
.cps-manager-designer-identity>span{
  display:grid;
  gap:5px;
  min-width:0;
  padding:12px 14px;
  border:1px solid #e5e7eb;
  border-radius:15px;
  background:#fff;
}
.cps-manager-designer-identity small{color:#64748b;font-size:9px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
.cps-manager-designer-identity strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#0f172a;font-size:12px;font-weight:750}
.cps-manager-designer-readonly-note{
  display:flex;
  align-items:flex-start;
  gap:11px;
  margin:0 0 16px;
  padding:13px 15px;
  border:1px solid #dbeafe;
  border-radius:16px;
  background:#f8fbff;
  color:#1e3a8a;
}
.cps-manager-designer-readonly-note>.dashicons{width:19px;height:19px;font-size:19px;flex:0 0 19px;color:#2563eb}
.cps-manager-designer-readonly-note>div{display:grid;gap:3px}
.cps-manager-designer-readonly-note strong{font-size:12px}
.cps-manager-designer-readonly-note small{font-size:10px;line-height:1.55;color:#52647f}
.cps-manager-designer-qc-summary{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr)) auto;
  gap:8px;
  align-items:stretch;
  margin-top:14px;
  padding:12px;
  border:1px solid #e5e7eb;
  border-radius:16px;
  background:#f8fafc;
}
.cps-manager-designer-qc-summary>div{display:grid;gap:3px;padding:4px 6px}
.cps-manager-designer-qc-summary span{font-size:8.5px;font-weight:800;letter-spacing:.07em;text-transform:uppercase;color:#64748b}
.cps-manager-designer-qc-summary strong{font-size:11px;color:#0f172a}
.cps-manager-designer-qc-summary .cps-mini{align-self:center;min-height:36px;padding:0 12px;border-radius:10px}
@media(max-width:980px){
  .cps-manager-designer-toolbar{align-items:stretch;flex-direction:column}
  .cps-manager-designer-switch{width:100%}
  .cps-manager-designer-switch label{flex:1}
  .cps-manager-designer-switch select{width:100%;min-width:0}
  .cps-manager-designer-identity{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:640px){
  .cps-manager-designer-toolbar{padding:14px;border-radius:18px}
  .cps-manager-designer-switch{display:grid;grid-template-columns:1fr}
  .cps-manager-designer-switch .cps-btn{width:100%}
  .cps-manager-designer-identity{grid-template-columns:1fr}
  .cps-manager-designer-qc-summary{grid-template-columns:1fr 1fr}
  .cps-manager-designer-qc-summary .cps-mini{grid-column:1/-1;width:100%}
}

/* v1.5.1 - Manager-assisted Designer Done upload */
.cps-manager-assisted-upload{margin-top:18px;padding:18px;border:1px solid #e2e8f0;border-radius:22px;background:#fbfdff}
.cps-manager-assisted-upload-head{display:flex;align-items:center;gap:12px;margin-bottom:16px}
.cps-manager-assisted-upload-head>.dashicons{display:grid;place-items:center;width:40px;height:40px;border-radius:13px;background:#eff6ff;color:#2563eb;font-size:20px}
.cps-manager-assisted-upload-head>div{display:grid;gap:3px}
.cps-manager-assisted-upload-head strong{font-size:15px;color:#0f172a}
.cps-manager-assisted-upload-head small{font-size:11px;line-height:1.45;color:#64748b}
.cps-manager-assisted-upload .cps-worker-upload-stage{margin:0;padding:0;border:0}
@media(max-width:640px){.cps-manager-assisted-upload{padding:14px;border-radius:18px}.cps-manager-assisted-upload-head{align-items:flex-start}}


/* v1.5.12 — Designer Done → QC → Final Done targeted workflow polish */
.cps-designer-dashboard .cps-worker-gallery-uploader .cps-job-image-gallery{
  grid-template-columns:repeat(8,minmax(0,1fr))!important;
  gap:10px;
  padding:12px;
  background:#f8fafc;
}
.cps-designer-dashboard .cps-worker-gallery-uploader .cps-job-gallery-card{
  border-radius:14px;
  overflow:hidden;
  background:#fff;
  box-shadow:0 4px 14px rgba(15,23,42,.045);
}
.cps-designer-dashboard .cps-worker-gallery-uploader .cps-job-gallery-preview{aspect-ratio:1/1;background:#eef2f7}
.cps-designer-dashboard .cps-worker-gallery-uploader .cps-job-gallery-info{padding:9px 10px 10px}
.cps-designer-dashboard .cps-worker-gallery-uploader .cps-job-gallery-info strong{font-size:10px}
.cps-designer-dashboard .cps-worker-gallery-uploader .cps-job-gallery-info small{font-size:8.5px}
.cps-qc-master-zip{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  min-height:34px;
  padding:0 11px;
  border:1px solid #dbe4ef;
  border-radius:10px;
  background:#0f172a;
  color:#fff!important;
  text-decoration:none!important;
  font-size:9px;
  font-weight:850;
  white-space:nowrap;
  box-shadow:0 4px 12px rgba(15,23,42,.08);
  transition:transform .15s ease,box-shadow .15s ease,background .15s ease;
}
.cps-qc-master-zip:hover{background:#1e293b;color:#fff!important;transform:translateY(-1px);box-shadow:0 7px 18px rgba(15,23,42,.13)}
.cps-qc-master-zip>span{font-size:13px;line-height:1}
.cps-qc-final-upload{border-color:#dbeafe;background:linear-gradient(180deg,#fff 0%,#f8fbff 100%)}
@media(max-width:1100px){
  .cps-designer-dashboard .cps-worker-gallery-uploader .cps-job-image-gallery{grid-template-columns:repeat(4,minmax(0,1fr))!important}
}
@media(max-width:680px){
  .cps-designer-dashboard .cps-worker-gallery-uploader .cps-job-image-gallery{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px;padding:8px}
  .cps-qc-selection-summary{flex-wrap:wrap;justify-content:flex-start}
  .cps-qc-master-zip{width:100%;box-sizing:border-box}
}


/* v1.5.12.7 — keep persistent Step-2 action buttons permanently visible inside the modal frame */
.cps-persistent-assign-modal.cps-step2-locked .cps-job-builder-dialog{
  position:relative!important;
  overflow:hidden!important;
  padding-bottom:76px!important;
}
.cps-persistent-assign-modal.cps-step2-locked .cps-job-builder-body{
  min-height:0!important;
  overflow-y:auto!important;
  padding-bottom:30px!important;
}
.cps-persistent-assign-modal.cps-step2-locked .cps-job-builder-footer{
  position:absolute!important;
  left:0!important;right:0!important;bottom:0!important;
  z-index:50!important;
  display:flex!important;
  visibility:visible!important;
  opacity:1!important;
  pointer-events:auto!important;
  min-height:76px!important;
  margin:0!important;
  flex-shrink:0!important;
}
.cps-persistent-assign-modal.cps-step2-locked .cps-job-builder-footer[hidden]{display:flex!important}
.cps-persistent-assign-modal.cps-step2-locked .cps-job-builder-submit-actions{display:flex!important;visibility:visible!important;opacity:1!important}
@media(max-width:680px){
  .cps-persistent-assign-modal.cps-step2-locked .cps-job-builder-dialog{padding-bottom:128px!important}
  .cps-persistent-assign-modal.cps-step2-locked .cps-job-builder-footer{min-height:128px!important}
}


/* v1.5.12.9 — QC lasso + auto-scroll + grouped drag/drop hardening */
.cps-qc-file-gallery.is-unassigned{
  max-height:min(72vh,980px);
  overflow:auto;
  overscroll-behavior:contain;
  scrollbar-gutter:stable;
  scroll-behavior:auto;
  touch-action:pan-y;
}
.cps-qc-file-gallery.is-unassigned.is-lassoing{cursor:crosshair;touch-action:none}
.cps-qc-file-gallery.is-unassigned::-webkit-scrollbar{width:10px;height:10px}
.cps-qc-file-gallery.is-unassigned::-webkit-scrollbar-track{background:#eef2f7;border-radius:999px}
.cps-qc-file-gallery.is-unassigned::-webkit-scrollbar-thumb{background:#cbd5e1;border:2px solid #eef2f7;border-radius:999px}
.cps-qc-file-gallery.is-unassigned::-webkit-scrollbar-thumb:hover{background:#94a3b8}
.cps-qc-lasso{border:1.5px solid #2563eb;background:rgba(37,99,235,.12);box-shadow:0 0 0 1px rgba(255,255,255,.8),0 8px 24px rgba(37,99,235,.12)}
.cps-qc-file-card.is-selected{border-color:#3b82f6;box-shadow:0 0 0 3px rgba(37,99,235,.13),0 12px 28px rgba(37,99,235,.08);transform:translateY(-1px)}
.cps-qc-job-board.is-dragging-files .cps-qc-folder-card.is-mine{border-color:#60a5fa;background:#f0f7ff;box-shadow:0 0 0 4px rgba(37,99,235,.10),0 16px 36px rgba(37,99,235,.10)}
.cps-qc-folder-card.is-ready-for-drop{animation:cpsQcDropPulse 1.15s ease-in-out infinite}
.cps-qc-folder-card.is-drag-over{border-color:#2563eb!important;background:#eaf3ff!important;box-shadow:0 0 0 5px rgba(37,99,235,.15),0 18px 40px rgba(37,99,235,.15)!important;transform:translateY(-3px) scale(1.01)}
.cps-qc-drop-hint{transition:.16s ease;white-space:nowrap}
.cps-qc-folder-card.is-ready-for-drop .cps-qc-drop-hint,.cps-qc-folder-card.is-drag-over .cps-qc-drop-hint{background:#1d4ed8;box-shadow:0 5px 14px rgba(37,99,235,.22)}
.cps-qc-drag-ghost{position:fixed;left:-9999px;top:-9999px;z-index:2147483647;display:grid;grid-template-columns:auto 1fr;column-gap:9px;row-gap:1px;align-items:center;min-width:188px;padding:11px 13px;border:1px solid rgba(255,255,255,.7);border-radius:15px;background:rgba(15,23,42,.94);color:#fff;box-shadow:0 18px 48px rgba(15,23,42,.28);pointer-events:none}
.cps-qc-drag-ghost strong{grid-row:1/3;display:grid;place-items:center;width:36px;height:36px;border-radius:11px;background:#2563eb;font-size:14px;font-weight:950}
.cps-qc-drag-ghost span{font-size:11px;font-weight:850;line-height:1.15}.cps-qc-drag-ghost small{color:#cbd5e1;font-size:8.5px;font-weight:700}
@keyframes cpsQcDropPulse{0%,100%{transform:translateY(0)}50%{transform:translateY(-2px)}}
@media(max-width:640px){.cps-qc-file-gallery.is-unassigned{max-height:68vh}.cps-qc-drag-ghost{min-width:160px}}

/* v1.5.12.10 — QC selection + pointer drag/drop production hardening */
.cps-qc-file-gallery.is-unassigned{
  position:relative;
  isolation:isolate;
  cursor:default;
  -webkit-user-select:none;
  user-select:none;
}
.cps-qc-file-gallery.is-unassigned.is-lassoing{cursor:crosshair!important}
.cps-qc-file-gallery.is-unassigned .cps-qc-file-card[data-qc-draggable="1"]{cursor:pointer;touch-action:none}
.cps-qc-file-gallery.is-unassigned .cps-qc-file-card.is-qc-drag-ready{cursor:grab}
.cps-qc-file-gallery.is-unassigned .cps-qc-file-card.is-qc-drag-ready:active{cursor:grabbing}
.cps-qc-file-card.is-selected .cps-qc-file-select-indicator{opacity:1!important;transform:scale(1)!important;background:#2563eb!important;color:#fff!important}
.cps-qc-lasso{z-index:999!important;pointer-events:none!important;border:2px solid #2563eb!important;background:rgba(37,99,235,.12)!important;box-shadow:0 0 0 1px rgba(255,255,255,.92),0 12px 32px rgba(37,99,235,.16)!important}
.cps-qc-selection-summary{align-items:center;flex-wrap:wrap}
.cps-qc-move-selected{
  display:inline-flex;align-items:center;justify-content:center;min-height:36px;padding:8px 12px;border:1px solid #1d4ed8;border-radius:10px;background:#2563eb;color:#fff;font:inherit;font-size:10px;font-weight:850;cursor:pointer;box-shadow:0 7px 18px rgba(37,99,235,.16);transition:background .16s ease,transform .16s ease,box-shadow .16s ease,opacity .16s ease
}
.cps-qc-move-selected:hover:not(:disabled){background:#1d4ed8;transform:translateY(-1px);box-shadow:0 10px 24px rgba(37,99,235,.22)}
.cps-qc-move-selected:disabled{opacity:.42;cursor:not-allowed;box-shadow:none}
.cps-qc-move-selected.is-loading{opacity:.75;pointer-events:none}
.cps-qc-folder-card.is-mine{position:relative;overflow:hidden}
.cps-qc-folder-card.is-mine:after{content:"";position:absolute;inset:0;border-radius:inherit;border:2px solid transparent;pointer-events:none;transition:.16s ease}
.cps-qc-job-board.is-dragging-files .cps-qc-folder-card.is-mine:after{border-color:rgba(37,99,235,.35)}
.cps-qc-folder-card.is-drag-over:after{border-color:#2563eb!important}
.cps-qc-drag-ghost.is-pointer-ghost{
  left:0!important;top:0!important;margin:0!important;transform:translate3d(-3000px,-3000px,0);will-change:transform;opacity:.98
}
.cps-qc-file-card.is-moving{opacity:.5;pointer-events:none;filter:saturate(.7)}
@media(max-width:760px){
  .cps-qc-move-selected{width:100%;order:3}
}

/* v1.5.12.11 — QC selection/distribution reliability */
.cps-qc-identity.is-management{border-color:#c7d2fe;background:#eef2ff}.cps-qc-identity.is-management strong{color:#4338ca}
.cps-qc-folder-card.is-manager-target{border-style:dashed;border-color:#cbd5e1;background:#fff}
.cps-qc-folder-card.is-manager-target:hover{border-color:#60a5fa;background:#f8fbff}
.cps-qc-manager-drag-help{display:inline-flex;align-items:center;min-height:38px;padding:0 12px;border:1px solid #bfdbfe;border-radius:11px;background:#eff6ff;color:#1d4ed8;font-size:11px;font-weight:800}
.cps-qc-file-gallery.is-unassigned .cps-qc-file-card[data-qc-draggable="1"]{cursor:pointer!important}
.cps-qc-file-gallery.is-unassigned .cps-qc-file-card.is-selected[data-qc-draggable="1"]{cursor:grab!important}
.cps-qc-file-gallery.is-unassigned .cps-qc-file-card.is-selected[data-qc-draggable="1"]:active{cursor:grabbing!important}
.cps-qc-job-board.is-dragging-files [data-cps-qc-drop-target="1"]{border-color:#93c5fd;background:#f8fbff;box-shadow:0 0 0 3px rgba(37,99,235,.07)}
.cps-qc-job-board.is-dragging-files [data-cps-qc-drop-target="1"].is-drag-over{border-color:#2563eb!important;background:#eaf3ff!important;box-shadow:0 0 0 5px rgba(37,99,235,.15),0 18px 40px rgba(37,99,235,.15)!important}
@media(max-width:760px){.cps-qc-manager-drag-help{width:100%;box-sizing:border-box;justify-content:center}}

/* v1.5.12.26 — Designer/QC lasso selected ZIP + persistent downloaded marker */
.cps-assigned-files-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap;min-width:0}
.cps-assigned-selected-count{display:inline-flex;align-items:center;justify-content:center;min-height:34px;padding:0 10px;border:1px solid #e2e8f0;border-radius:10px;background:#fff;color:#64748b;font-size:10px;font-weight:800;white-space:nowrap}
.cps-assigned-download-selected{display:flex;align-items:center;justify-content:center;gap:8px;min-height:40px;padding:8px 12px;border:1px solid #bfdbfe;border-radius:14px;background:linear-gradient(145deg,#eff6ff,#ecfeff);color:#1d4ed8;font:inherit;cursor:pointer;box-shadow:0 5px 14px rgba(37,99,235,.08);transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease,opacity .18s ease}
.cps-assigned-download-selected>span:first-child{font-size:15px;font-weight:900;line-height:1}.cps-assigned-download-selected>span:last-child{display:grid;gap:1px;text-align:left}.cps-assigned-download-selected strong{font-size:11px;line-height:1.2}.cps-assigned-download-selected small{font-size:9px;color:#64748b;font-weight:700}.cps-assigned-download-selected:not(:disabled):hover{transform:translateY(-1px);border-color:#60a5fa;box-shadow:0 10px 20px rgba(37,99,235,.12)}.cps-assigned-download-selected:disabled{opacity:.45;cursor:not-allowed;box-shadow:none}.cps-assigned-download-selected.is-preparing{opacity:.75;pointer-events:none}
.cps-assigned-files-grid[data-cps-assigned-gallery]{position:relative;user-select:none;-webkit-user-select:none}
.cps-assigned-file-card[data-cps-assigned-file-id]{position:relative;cursor:default;transition:border-color .16s ease,box-shadow .16s ease,transform .16s ease}
.cps-assigned-file-card[data-cps-assigned-file-id].is-selected{border-color:#3b82f6!important;box-shadow:0 0 0 3px rgba(37,99,235,.13),0 12px 28px rgba(37,99,235,.08)!important;transform:translateY(-1px)}
.cps-assigned-file-select{position:absolute;left:9px;top:9px;z-index:9;display:grid;place-items:center;width:23px;height:23px;border:2px solid rgba(255,255,255,.95);border-radius:8px;background:rgba(71,85,105,.72);color:#fff;font-size:11px;font-weight:950;opacity:.68;transform:scale(.92);box-shadow:0 5px 14px rgba(15,23,42,.18);pointer-events:none;transition:.15s ease}
.cps-assigned-file-card.is-selected .cps-assigned-file-select{opacity:1;transform:scale(1);background:#2563eb}
.cps-assigned-lasso{position:absolute;z-index:50;pointer-events:none;border:2px solid #2563eb;border-radius:7px;background:rgba(37,99,235,.11);box-shadow:0 0 0 1px rgba(255,255,255,.9),0 12px 30px rgba(37,99,235,.15)}
.cps-assigned-files-grid.is-lassoing,.cps-assigned-files-grid.is-lassoing *{cursor:crosshair!important}.cps-assigned-files-grid.is-lassoing a{pointer-events:none!important}body.cps-assigned-lasso-active{user-select:none!important;-webkit-user-select:none!important}
.cps-file-downloaded-badge{position:absolute;top:9px;right:9px;z-index:10;display:inline-flex;align-items:center;gap:4px;min-height:23px;padding:0 8px;border:1px solid rgba(167,243,208,.95);border-radius:999px;background:rgba(236,253,245,.96);color:#047857;font-size:8px;font-weight:900;letter-spacing:.01em;line-height:1;box-shadow:0 5px 14px rgba(5,150,105,.13);backdrop-filter:blur(5px);pointer-events:none}
.cps-assigned-file-card.is-downloaded{--cps-downloaded-ring:rgba(16,185,129,.10)}
.cps-qc-file-card .cps-file-downloaded-badge{top:8px;right:8px;z-index:12}
.cps-qc-download-selected{display:inline-flex!important;align-items:center!important;gap:6px!important;border-color:#bfdbfe!important;background:linear-gradient(145deg,#eff6ff,#ecfeff)!important;color:#1d4ed8!important;box-shadow:0 5px 14px rgba(37,99,235,.07)!important}.cps-qc-download-selected:not(:disabled):hover{border-color:#60a5fa!important;transform:translateY(-1px)}.cps-qc-download-selected:disabled{opacity:.45!important;cursor:not-allowed!important}.cps-qc-download-selected.is-preparing{pointer-events:none!important;opacity:.72!important}
@media(max-width:680px){.cps-assigned-files-actions{width:100%;justify-content:stretch}.cps-assigned-selected-count{flex:1}.cps-assigned-download-selected,.cps-assigned-download-all{flex:1;min-width:145px}.cps-file-downloaded-badge{font-size:7px;padding:0 6px}}
.cps-assigned-file-select{left:auto;right:9px;top:9px}
.cps-assigned-file-card .cps-file-downloaded-badge{top:39px;right:9px}

/* v1.5.12.27 — QC Mistake return / Designer correction workflow */
.cps-qc-mistake-button{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:32px;padding:0 10px;border:1px solid #fecaca;border-radius:9px;background:linear-gradient(145deg,#fff7f7,#fff1f2);color:#b91c1c;font:inherit;font-size:9px;font-weight:900;letter-spacing:.01em;cursor:pointer;box-shadow:0 5px 13px rgba(220,38,38,.08);transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease,background .16s ease}
.cps-qc-mistake-button>span{display:grid;place-items:center;width:16px;height:16px;border-radius:50%;background:#dc2626;color:#fff;font-size:10px;line-height:1;box-shadow:0 3px 8px rgba(220,38,38,.22)}
.cps-qc-mistake-button:hover{transform:translateY(-1px);border-color:#f87171;background:linear-gradient(145deg,#fff1f2,#fee2e2);box-shadow:0 9px 20px rgba(220,38,38,.13)}
.cps-qc-file-card.is-qc-mistake-sent{border-color:#f87171!important;box-shadow:0 0 0 4px rgba(239,68,68,.11),0 15px 32px rgba(185,28,28,.12)!important}

.cps-assigned-file-card.is-qc-mistake{isolation:isolate;border-color:#ef4444!important;background:linear-gradient(180deg,#fff 0%,#fff7f7 100%)!important;box-shadow:0 0 0 3px rgba(239,68,68,.14),0 17px 38px rgba(185,28,28,.15),inset 0 0 30px rgba(254,226,226,.44)!important}
.cps-assigned-file-card.is-qc-mistake:before{content:"";position:absolute;inset:-1px;z-index:0;border-radius:inherit;pointer-events:none;background:radial-gradient(circle at 50% 0,rgba(239,68,68,.17),transparent 46%);animation:cpsQcMistakeGlow 2.8s ease-in-out infinite}
.cps-assigned-file-card.is-qc-mistake>*{position:relative;z-index:1}
.cps-assigned-file-card.is-qc-mistake .cps-assigned-file-preview{box-shadow:inset 0 0 0 1px rgba(239,68,68,.16)}
.cps-assigned-file-card.is-qc-mistake .cps-assigned-file-number{top:40px;background:rgba(127,29,29,.82)}
.cps-assigned-file-card.is-qc-mistake .cps-assigned-file-select{background:rgba(153,27,27,.82)}
.cps-assigned-file-card.is-qc-mistake.is-selected .cps-assigned-file-select{background:#dc2626}
.cps-assigned-mistake-badge{position:absolute;top:9px;left:9px;z-index:12;display:inline-flex;align-items:center;gap:5px;min-height:24px;padding:0 9px;border:1px solid rgba(254,202,202,.98);border-radius:999px;background:rgba(254,242,242,.97);color:#b91c1c;font-size:8px;font-weight:950;letter-spacing:.035em;text-transform:uppercase;line-height:1;box-shadow:0 7px 18px rgba(185,28,28,.14);backdrop-filter:blur(7px);pointer-events:none}
.cps-assigned-mistake-badge>span{display:grid;place-items:center;width:15px;height:15px;border-radius:50%;background:#dc2626;color:#fff;font-size:9px;box-shadow:0 3px 8px rgba(220,38,38,.2)}
@keyframes cpsQcMistakeGlow{0%,100%{opacity:.55}50%{opacity:1}}
@media (prefers-reduced-motion:reduce){.cps-assigned-file-card.is-qc-mistake:before{animation:none}}

body.cps-qc-mistake-modal-open{overflow:hidden}
.cps-qc-mistake-modal[hidden]{display:none!important}
.cps-qc-mistake-modal{position:fixed;inset:0;z-index:2147483000;display:grid;place-items:center;padding:22px;box-sizing:border-box}
.cps-qc-mistake-backdrop{position:absolute;inset:0;background:rgba(15,23,42,.64);backdrop-filter:blur(7px)}
.cps-qc-mistake-dialog{position:relative;z-index:2;width:min(650px,calc(100vw - 34px));max-height:calc(100vh - 42px);overflow:auto;box-sizing:border-box;padding:28px;border:1px solid rgba(254,202,202,.9);border-radius:24px;background:linear-gradient(180deg,#fff 0%,#fffafa 100%);box-shadow:0 34px 90px rgba(15,23,42,.28),0 0 0 1px rgba(255,255,255,.8);animation:cpsQcMistakeDialogIn .18s ease-out}
@keyframes cpsQcMistakeDialogIn{from{opacity:0;transform:translateY(8px) scale(.985)}to{opacity:1;transform:translateY(0) scale(1)}}
.cps-qc-mistake-close{position:absolute;right:18px;top:18px;display:grid;place-items:center;width:34px;height:34px;padding:0;border:1px solid #e2e8f0;border-radius:11px;background:#fff;color:#64748b;font:inherit;font-size:22px;line-height:1;cursor:pointer;box-shadow:0 5px 14px rgba(15,23,42,.06);transition:.15s ease}
.cps-qc-mistake-close:hover{border-color:#fecaca;background:#fff1f2;color:#b91c1c;transform:translateY(-1px)}
.cps-qc-mistake-icon{display:grid;place-items:center;width:52px;height:52px;margin-bottom:15px;border:1px solid #fecaca;border-radius:17px;background:linear-gradient(145deg,#fee2e2,#fff1f2);color:#b91c1c;font-size:27px;font-weight:950;box-shadow:0 10px 24px rgba(220,38,38,.12)}
.cps-qc-mistake-heading{padding-right:38px}.cps-qc-mistake-heading>span{display:block;margin-bottom:5px;color:#dc2626;font-size:9px;font-weight:950;letter-spacing:.14em;text-transform:uppercase}.cps-qc-mistake-heading h3{margin:0;color:#0f172a;font-size:24px;line-height:1.15;letter-spacing:-.025em}.cps-qc-mistake-heading p{margin:9px 0 0;color:#64748b;font-size:12px;line-height:1.65}
.cps-qc-mistake-file{display:grid;gap:4px;margin:20px 0;padding:14px 15px;border:1px solid #fee2e2;border-radius:15px;background:rgba(254,242,242,.75)}.cps-qc-mistake-file>span{color:#991b1b;font-size:8px;font-weight:900;letter-spacing:.09em;text-transform:uppercase}.cps-qc-mistake-file>strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#0f172a;font-size:12px}.cps-qc-mistake-file>small{color:#64748b;font-size:10px}.cps-qc-mistake-file b{color:#334155}
.cps-qc-mistake-choice{display:grid;grid-template-columns:1fr 1fr;gap:12px}.cps-qc-mistake-choice[hidden],.cps-qc-mistake-assign[hidden],.cps-qc-mistake-status[hidden]{display:none!important}
.cps-qc-mistake-existing,.cps-qc-mistake-new{display:flex;align-items:flex-start;gap:11px;min-height:92px;padding:15px;border:1px solid #e2e8f0;border-radius:16px;background:#fff;color:#0f172a;text-align:left;font:inherit;cursor:pointer;box-shadow:0 8px 20px rgba(15,23,42,.05);transition:transform .17s ease,border-color .17s ease,box-shadow .17s ease,background .17s ease}.cps-qc-mistake-existing:hover,.cps-qc-mistake-new:hover{transform:translateY(-2px);border-color:#fca5a5;background:#fffafa;box-shadow:0 13px 27px rgba(185,28,28,.09)}.cps-qc-mistake-button-icon{flex:0 0 auto;display:grid;place-items:center;width:34px;height:34px;border-radius:11px;background:#fff1f2;color:#dc2626;font-size:17px;font-weight:950}.cps-qc-mistake-existing>span:last-child,.cps-qc-mistake-new>span:last-child{display:grid;gap:5px}.cps-qc-mistake-existing strong,.cps-qc-mistake-new strong{font-size:11px;line-height:1.35}.cps-qc-mistake-existing small,.cps-qc-mistake-new small{color:#64748b;font-size:9px;line-height:1.45;font-weight:650}
.cps-qc-mistake-assign{padding:16px;border:1px solid #e2e8f0;border-radius:16px;background:#fff}.cps-qc-mistake-assign label{display:grid;gap:7px}.cps-qc-mistake-assign label>span{color:#334155;font-size:10px;font-weight:850}.cps-qc-mistake-assign select{width:100%;min-height:44px;padding:0 12px;border:1px solid #cbd5e1;border-radius:11px;background:#fff;color:#0f172a;font:inherit;font-size:11px;outline:none}.cps-qc-mistake-assign select:focus{border-color:#ef4444;box-shadow:0 0 0 3px rgba(239,68,68,.11)}.cps-qc-mistake-assign-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:13px}.cps-qc-mistake-assign-actions button{min-height:39px;padding:0 14px;border:1px solid #dbe3ee;border-radius:11px;background:#fff;color:#475569;font:inherit;font-size:10px;font-weight:850;cursor:pointer}.cps-qc-mistake-assign-actions button.is-primary{border-color:#b91c1c;background:linear-gradient(145deg,#dc2626,#b91c1c);color:#fff;box-shadow:0 8px 17px rgba(185,28,28,.18)}
.cps-qc-mistake-status{margin-top:12px;padding:10px 12px;border-radius:11px;font-size:10px;font-weight:750;line-height:1.5}.cps-qc-mistake-status.is-error{border:1px solid #fecaca;background:#fff1f2;color:#b91c1c}.cps-qc-mistake-status.is-success{border:1px solid #bfdbfe;background:#eff6ff;color:#1d4ed8}.cps-qc-mistake-modal.is-processing .cps-qc-mistake-dialog{cursor:progress}.cps-qc-mistake-modal.is-processing button,.cps-qc-mistake-modal.is-processing select{opacity:.62;cursor:not-allowed}
@media(max-width:640px){.cps-qc-mistake-modal{padding:12px}.cps-qc-mistake-dialog{width:100%;padding:21px 16px;border-radius:19px}.cps-qc-mistake-heading{padding-right:32px}.cps-qc-mistake-heading h3{font-size:20px}.cps-qc-mistake-choice{grid-template-columns:1fr}.cps-qc-mistake-existing,.cps-qc-mistake-new{min-height:76px}.cps-qc-mistake-assign-actions{display:grid;grid-template-columns:1fr 1fr}.cps-assigned-mistake-badge{font-size:7px;padding:0 7px}}

/* v1.5.12.29 — QC Revise correction note */
.cps-qc-correction-field{display:grid;gap:7px;margin:0 0 16px;padding:15px;border:1px solid #fecaca;border-radius:16px;background:linear-gradient(145deg,#fff,#fff7f7);box-shadow:0 8px 22px rgba(185,28,28,.055)}
.cps-qc-correction-field>span{color:#7f1d1d;font-size:10px;font-weight:950;letter-spacing:.02em}
.cps-qc-correction-field textarea{display:block;width:100%;min-height:96px;resize:vertical;box-sizing:border-box;padding:12px 13px;border:1px solid #cbd5e1;border-radius:12px;background:#fff;color:#0f172a;font:inherit;font-size:11px;line-height:1.55;outline:none;transition:border-color .16s ease,box-shadow .16s ease,background .16s ease}
.cps-qc-correction-field textarea::placeholder{color:#94a3b8}
.cps-qc-correction-field textarea:focus{border-color:#ef4444;background:#fff;box-shadow:0 0 0 3px rgba(239,68,68,.1)}
.cps-qc-correction-field>small{color:#64748b;font-size:9px;font-weight:650;line-height:1.45}
.cps-qc-mistake-modal.is-processing .cps-qc-correction-field textarea{opacity:.62;cursor:not-allowed}
.cps-designer-dashboard .cps-qc-correction-note-card{position:relative;overflow:hidden;display:grid;gap:8px;margin:14px 0 2px;padding:15px 16px 15px 18px;border:1px solid #fecaca;border-radius:14px;background:linear-gradient(145deg,#fff7f7,#fff);box-shadow:0 10px 24px rgba(185,28,28,.08);color:#7f1d1d}
.cps-designer-dashboard .cps-qc-correction-note-card:before{content:"";position:absolute;inset:0 auto 0 0;width:4px;background:linear-gradient(180deg,#ef4444,#b91c1c)}
.cps-designer-dashboard .cps-qc-correction-note-label{display:inline-flex;align-items:center;width:max-content;max-width:100%;padding:5px 8px;border-radius:999px;background:#fee2e2;color:#b91c1c;font-size:9px;font-weight:950;line-height:1;letter-spacing:.08em;text-transform:uppercase}
.cps-designer-dashboard .cps-qc-correction-note-card p{margin:0!important;color:#7f1d1d!important;font-size:12px!important;font-weight:750;line-height:1.65;white-space:normal;overflow-wrap:anywhere}
@media(max-width:640px){.cps-qc-correction-field{padding:13px}.cps-qc-correction-field textarea{min-height:88px}.cps-designer-dashboard .cps-qc-correction-note-card{padding:13px 14px 13px 17px}}

/* v1.5.12.32 — professional Take Back & Re-assign workflow */
.cps-manager-job-head-actions{display:flex;align-items:center;justify-content:flex-end;gap:9px;flex-wrap:wrap}
.cps-reassign-open-button{appearance:none;border:1px solid rgba(79,70,229,.22);background:linear-gradient(135deg,#fff,#f5f7ff);color:#3730a3;border-radius:10px;padding:8px 11px;display:inline-flex;align-items:center;gap:7px;font-size:11px;font-weight:900;line-height:1;cursor:pointer;box-shadow:0 7px 18px rgba(67,56,202,.08);transition:.18s ease}
.cps-reassign-open-button:hover{border-color:rgba(79,70,229,.42);transform:translateY(-1px);box-shadow:0 10px 22px rgba(67,56,202,.13)}
.cps-reassign-open-button .dashicons{width:15px;height:15px;font-size:15px}
.cps-reassign-modal[hidden]{display:none!important}.cps-reassign-modal{position:fixed;inset:0;z-index:100000;display:grid;place-items:center;padding:22px}.cps-reassign-backdrop{position:absolute;inset:0;background:rgba(15,23,42,.68);backdrop-filter:blur(5px)}
body.cps-reassign-modal-open{overflow:hidden}.cps-reassign-dialog{position:relative;z-index:2;width:min(980px,96vw);max-height:92vh;overflow:auto;border:1px solid rgba(148,163,184,.28);border-radius:22px;background:#fff;box-shadow:0 34px 90px rgba(15,23,42,.28);padding:0;color:#172033}
.cps-reassign-close{position:absolute;right:16px;top:14px;z-index:3;width:36px;height:36px;border:1px solid #e2e8f0;border-radius:50%;background:#fff;color:#64748b;font-size:24px;line-height:1;cursor:pointer;box-shadow:0 5px 14px rgba(15,23,42,.08)}
.cps-reassign-heading{padding:24px 62px 21px 24px;border-bottom:1px solid #e8edf5;background:linear-gradient(135deg,#f8faff 0%,#fff 58%,#f7f5ff 100%);border-radius:22px 22px 0 0}.cps-reassign-heading>span{display:block;color:#4f46e5;font-size:10px;font-weight:950;letter-spacing:.13em;text-transform:uppercase}.cps-reassign-heading h3{margin:5px 0 5px;font-size:23px;line-height:1.18;color:#111827}.cps-reassign-heading p{margin:0;color:#64748b;font-size:12px;line-height:1.55;font-weight:600}
.cps-reassign-loading{min-height:260px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:13px;color:#475569}.cps-reassign-loading[hidden]{display:none!important}.cps-reassign-loading span{width:34px;height:34px;border:3px solid #e2e8f0;border-top-color:#4f46e5;border-radius:50%;animation:cps-reassign-spin .8s linear infinite}@keyframes cps-reassign-spin{to{transform:rotate(360deg)}}
.cps-reassign-content{padding:20px 24px 24px}.cps-reassign-content[hidden]{display:none!important}.cps-reassign-summary{display:flex;justify-content:space-between;gap:18px;align-items:stretch;padding:15px;border:1px solid #e5eaf2;border-radius:15px;background:#fbfcff}.cps-reassign-job{min-width:190px;display:flex;flex-direction:column;justify-content:center}.cps-reassign-job small{font-size:9px;font-weight:900;letter-spacing:.1em;text-transform:uppercase;color:#818cf8}.cps-reassign-job strong{font-size:18px;color:#111827;margin:2px 0}.cps-reassign-job span{font-size:11px;color:#64748b;font-weight:700}.cps-reassign-metrics{display:grid;grid-template-columns:repeat(4,minmax(86px,1fr));gap:8px;flex:1}.cps-reassign-metrics>span{border:1px solid #e7ebf3;background:#fff;border-radius:12px;padding:10px 11px;display:flex;flex-direction:column;gap:2px}.cps-reassign-metrics small{font-size:9px;color:#7c879a;font-weight:800}.cps-reassign-metrics strong{font-size:18px;color:#172033}.cps-reassign-metrics .is-locked{background:#f8fafc}.cps-reassign-metrics .is-locked strong{color:#64748b}
.cps-reassign-work-warning{margin-top:14px;padding:14px;border:1px solid #fed7aa;background:#fffaf2;border-radius:14px;display:flex;gap:12px;color:#9a3412}.cps-reassign-work-warning[hidden]{display:none!important}.cps-reassign-work-warning>span{width:30px;height:30px;flex:0 0 30px;border-radius:50%;display:grid;place-items:center;background:#ffedd5;color:#c2410c;font-weight:950}.cps-reassign-work-warning strong{display:block;font-size:12px}.cps-reassign-work-warning p{margin:3px 0 8px;font-size:11px;line-height:1.55;color:#9a3412}.cps-reassign-work-warning label{display:flex;align-items:flex-start;gap:7px;font-size:10px;font-weight:850;cursor:pointer}.cps-reassign-work-warning input{margin-top:1px}
.cps-reassign-files-head{margin-top:18px;display:flex;align-items:flex-end;justify-content:space-between;gap:14px}.cps-reassign-files-head span{font-size:11px;font-weight:950;color:#172033}.cps-reassign-files-head p{margin:2px 0 0;color:#7b8798;font-size:10px}.cps-reassign-files-head>div:last-child{display:flex;gap:6px}.cps-reassign-files-head button{border:1px solid #dfe5ee;background:#fff;color:#475569;border-radius:8px;padding:6px 9px;font-size:9px;font-weight:850;cursor:pointer}
.cps-reassign-files{margin-top:9px;display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:9px;max-height:300px;overflow:auto;padding:2px 3px 4px}.cps-reassign-file{position:relative;border:1px solid #e1e6ef;border-radius:13px;background:#fff;overflow:hidden;cursor:pointer;transition:.16s ease;box-shadow:0 4px 12px rgba(15,23,42,.035)}.cps-reassign-file:hover{transform:translateY(-1px);border-color:#c7d2fe}.cps-reassign-file.is-selected{border-color:#6366f1;box-shadow:0 0 0 2px rgba(99,102,241,.12),0 7px 18px rgba(67,56,202,.09);background:#fafaff}.cps-reassign-check{position:absolute;z-index:2;right:7px;top:7px;width:22px;height:22px;border-radius:50%;display:grid;place-items:center;background:rgba(255,255,255,.92);border:1px solid #dbe2ec;color:transparent;font-size:11px;font-weight:950;box-shadow:0 4px 10px rgba(15,23,42,.08)}.cps-reassign-file.is-selected .cps-reassign-check{background:#4f46e5;border-color:#4f46e5;color:#fff}.cps-reassign-file-preview{height:105px;background:#f1f5f9;position:relative;display:grid;place-items:center;overflow:hidden}.cps-reassign-file-preview img{width:100%;height:100%;object-fit:cover;display:block}.cps-reassign-file-preview a{position:absolute;left:7px;bottom:7px;padding:4px 7px;border-radius:7px;background:rgba(15,23,42,.78);color:#fff!important;text-decoration:none;font-size:8px;font-weight:850}.cps-reassign-file-preview.is-document span{font-size:12px;font-weight:950;letter-spacing:.1em;color:#64748b}.cps-reassign-file-copy{padding:9px 10px 10px;display:grid;grid-template-columns:1fr auto;gap:3px 6px;align-items:center}.cps-reassign-file-copy strong{grid-column:1/-1;font-size:10px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;color:#1f2937}.cps-reassign-file-copy small{font-size:8px;color:#94a3b8;font-weight:700}.cps-reassign-file-role{justify-self:end;padding:3px 6px;border-radius:999px;background:#eef2ff;color:#4338ca;font-size:7px;font-weight:950;text-transform:uppercase;letter-spacing:.06em}.cps-reassign-file-role.is-revision{background:#fee2e2;color:#b91c1c}
.cps-reassign-form-grid{display:grid;grid-template-columns:minmax(220px,.75fr) 1.25fr;gap:12px;margin-top:16px}.cps-reassign-form-grid label{display:flex;flex-direction:column;gap:6px}.cps-reassign-form-grid label>span{font-size:10px;font-weight:900;color:#374151}.cps-reassign-form-grid label small{font-size:8px;color:#94a3b8;font-weight:750}.cps-reassign-form-grid select,.cps-reassign-form-grid textarea{width:100%;border:1px solid #dce3ed!important;border-radius:11px!important;background:#fff!important;color:#172033!important;padding:10px 11px!important;font-size:11px!important;line-height:1.45!important;outline:none!important;box-shadow:none!important}.cps-reassign-form-grid select:focus,.cps-reassign-form-grid textarea:focus{border-color:#818cf8!important;box-shadow:0 0 0 3px rgba(99,102,241,.1)!important}.cps-reassign-form-grid textarea{min-height:86px;resize:vertical}
.cps-reassign-preserve-note{margin-top:14px;border:1px solid #bbf7d0;background:#f4fff8;border-radius:12px;padding:11px 12px;display:flex;gap:9px;align-items:flex-start;color:#166534}.cps-reassign-preserve-note>span{font-weight:950}.cps-reassign-preserve-note p{margin:0;font-size:10px;line-height:1.55}.cps-reassign-status{margin-top:12px;border-radius:10px;padding:10px 12px;font-size:10px;font-weight:800;line-height:1.5}.cps-reassign-status[hidden]{display:none!important}.cps-reassign-status.is-error{background:#fef2f2;color:#b91c1c;border:1px solid #fecaca}.cps-reassign-status.is-success{background:#f0fdf4;color:#15803d;border:1px solid #bbf7d0}.cps-reassign-status.is-info{background:#eef2ff;color:#4338ca;border:1px solid #c7d2fe}.cps-reassign-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:16px;padding-top:15px;border-top:1px solid #edf0f5}.cps-reassign-actions button{border-radius:10px;padding:10px 14px;font-size:10px;font-weight:900;cursor:pointer}.cps-reassign-actions .is-secondary{border:1px solid #dbe2eb;background:#fff;color:#475569}.cps-reassign-actions .is-primary{border:1px solid #4338ca;background:linear-gradient(135deg,#4f46e5,#4338ca);color:#fff;box-shadow:0 7px 17px rgba(79,70,229,.2)}.cps-reassign-actions .is-primary:disabled{opacity:.45;cursor:not-allowed;box-shadow:none}
.cps-qc-reassign-console{margin:14px 0 18px;border:1px solid #dfe5f0;border-radius:16px;background:linear-gradient(145deg,#fff,#fafbff);box-shadow:0 8px 24px rgba(15,23,42,.045);overflow:hidden}.cps-qc-reassign-console-head{padding:15px 16px;display:flex;align-items:flex-start;justify-content:space-between;gap:14px;border-bottom:1px solid #e8ecf3}.cps-qc-reassign-console-head>div>span{font-size:9px;font-weight:950;letter-spacing:.09em;text-transform:uppercase;color:#4f46e5}.cps-qc-reassign-console-head h3{margin:3px 0 3px;font-size:15px;color:#172033}.cps-qc-reassign-console-head p{margin:0;color:#748094;font-size:10px;line-height:1.5}.cps-qc-reassign-count{white-space:nowrap;padding:5px 8px;border-radius:999px;background:#eef2ff;color:#4338ca;font-size:8px;font-weight:900}.cps-qc-reassign-list{padding:7px;max-height:430px;overflow:auto}.cps-qc-reassign-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 10px;border-radius:10px}.cps-qc-reassign-row+.cps-qc-reassign-row{border-top:1px solid #eff2f6}.cps-qc-reassign-row>div:first-child{display:flex;flex-direction:column;min-width:0}.cps-qc-reassign-row>div:first-child strong{font-size:11px;color:#1f2937}.cps-qc-reassign-row>div:first-child span{font-size:9px;color:#8792a5;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.cps-qc-reassign-row-stats{display:flex;align-items:center;gap:10px;white-space:nowrap}.cps-qc-reassign-row-stats>span{font-size:8px;color:#64748b}.cps-qc-reassign-row-stats b{color:#1e293b}
.cps-reassign-production-note{position:relative;margin:0 0 14px;padding:12px 13px 12px 17px;border:1px solid #c7d2fe;border-radius:12px;background:#f7f8ff;overflow:hidden}.cps-reassign-production-note:before{content:"";position:absolute;left:0;top:0;bottom:0;width:4px;background:linear-gradient(180deg,#6366f1,#4338ca)}.cps-reassign-production-note>span{display:inline-flex;padding:4px 7px;border-radius:999px;background:#e0e7ff;color:#4338ca;font-size:8px;font-weight:950;text-transform:uppercase;letter-spacing:.08em}.cps-reassign-production-note p{margin:7px 0 0!important;color:#373f52!important;font-size:11px!important;line-height:1.55!important}.cps-reassign-production-note-text{padding-top:7px;border-top:1px dashed #c7d2fe}
@media(max-width:780px){.cps-reassign-dialog{width:97vw;max-height:94vh}.cps-reassign-content{padding:15px}.cps-reassign-summary{flex-direction:column}.cps-reassign-metrics{grid-template-columns:repeat(2,1fr)}.cps-reassign-form-grid{grid-template-columns:1fr}.cps-reassign-files{grid-template-columns:repeat(2,minmax(0,1fr))}.cps-qc-reassign-row{align-items:flex-start;flex-direction:column}.cps-qc-reassign-row-stats{width:100%;justify-content:space-between;flex-wrap:wrap}.cps-manager-job-head-actions{justify-content:flex-start}}

/* v1.5.12.37 — folder-first gallery presentation for preserved folder uploads */
.cps-gallery-folder-nav{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:12px;min-width:0;padding:9px 11px;border:1px solid #dbe7f5;border-radius:14px;background:linear-gradient(135deg,#f8fbff,#fff);box-shadow:0 5px 16px rgba(15,23,42,.035)}
.cps-gallery-folder-trail{display:flex;align-items:center;gap:5px;min-width:0;overflow:auto;scrollbar-width:none}.cps-gallery-folder-trail::-webkit-scrollbar{display:none}
.cps-gallery-folder-crumb{flex:0 0 auto;max-width:220px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;border:0;border-radius:9px;background:transparent;padding:6px 8px;color:#334155;font:inherit;font-size:11px;font-weight:850;cursor:pointer;transition:background .16s ease,color .16s ease}.cps-gallery-folder-crumb:hover{background:#eaf3ff;color:#1d4ed8}.cps-gallery-folder-separator{flex:0 0 auto;color:#94a3b8;font-size:16px}.cps-gallery-folder-hint{flex:0 0 auto;padding:5px 8px;border-radius:999px;background:#eff6ff;color:#2563eb;font-size:9px;font-weight:900;letter-spacing:.03em;text-transform:uppercase}
.cps-gallery-folder-card{position:relative;min-width:0;align-self:start;border:1px solid #d8e4f2;border-radius:18px;background:linear-gradient(160deg,#fff 0%,#f8fbff 100%);overflow:hidden;box-shadow:0 7px 20px rgba(15,23,42,.055);transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease}.cps-gallery-folder-card:hover{transform:translateY(-2px);border-color:#93c5fd;box-shadow:0 15px 30px rgba(37,99,235,.11)}
.cps-gallery-folder-open{display:grid;width:100%;padding:0;border:0;background:transparent;text-align:left;cursor:pointer;color:inherit}.cps-gallery-folder-visual{position:relative;display:grid;place-items:center;aspect-ratio:4/3;overflow:hidden;background:radial-gradient(circle at 50% 20%,rgba(255,255,255,.9),transparent 46%),linear-gradient(145deg,#eff6ff,#e0f2fe);color:#f5b83b}.cps-gallery-folder-visual:after{content:"";position:absolute;inset:auto 18% 12% 18%;height:14%;border-radius:50%;background:rgba(15,23,42,.09);filter:blur(8px)}.cps-gallery-folder-visual svg{position:relative;z-index:1;width:58%;height:auto;filter:drop-shadow(0 12px 12px rgba(146,91,12,.18))}
.cps-gallery-folder-count{position:absolute;z-index:2;right:10px;top:10px;display:grid;place-items:center;min-width:27px;height:27px;padding:0 7px;border:2px solid rgba(255,255,255,.92);border-radius:999px;background:#2563eb;color:#fff;font-size:10px;font-weight:950;box-shadow:0 5px 12px rgba(37,99,235,.24)}
.cps-gallery-folder-copy{display:grid;gap:4px;min-width:0;padding:12px 13px 7px}.cps-gallery-folder-copy strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#0f172a;font-size:13px;font-weight:900}.cps-gallery-folder-copy small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#64748b;font-size:10px;font-weight:700}.cps-gallery-folder-open-label{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:5px 13px 12px;color:#2563eb;font-size:10px;font-weight:900}.cps-gallery-folder-open-label b{font-size:14px;transition:transform .16s ease}.cps-gallery-folder-card:hover .cps-gallery-folder-open-label b{transform:translateX(3px)}
.cps-qc-final-files>.cps-gallery-folder-nav{grid-column:1/-1}.cps-qc-final-files>.cps-gallery-folder-card{width:100%}
@media(max-width:680px){.cps-gallery-folder-nav{align-items:flex-start;flex-direction:column}.cps-gallery-folder-hint{display:none}.cps-gallery-folder-crumb{max-width:150px}.cps-gallery-folder-copy{padding:10px 11px 6px}.cps-gallery-folder-open-label{padding:4px 11px 10px}}



/* v1.5.12.43 — QC Folder Contents lasso selection + downloaded visibility */
.cps-qc-file-gallery.is-folder{overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable;user-select:none;-webkit-user-select:none}
.cps-qc-file-gallery.is-folder.is-folder-lassoing{cursor:crosshair;touch-action:none}
.cps-qc-file-gallery.is-folder.is-folder-lassoing .cps-qc-file-card,.cps-qc-file-gallery.is-folder.is-folder-lassoing .cps-qc-file-card *{cursor:crosshair!important}
body.cps-qc-folder-lasso-active{user-select:none!important;-webkit-user-select:none!important}
.cps-qc-file-gallery.is-folder .cps-qc-file-card[data-qc-folder-selectable="1"]{cursor:default;touch-action:none}
.cps-qc-file-gallery.is-folder .cps-qc-file-card[data-qc-folder-selectable="1"] .cps-qc-file-select-indicator{opacity:.72}
.cps-qc-file-gallery.is-folder .cps-qc-file-card[data-qc-folder-selectable="1"].is-selected .cps-qc-file-select-indicator{opacity:1!important;transform:scale(1)!important;background:#2563eb!important;color:#fff!important}
.cps-qc-folder-lasso{z-index:999!important;pointer-events:none!important;border:2px solid #2563eb!important;background:rgba(37,99,235,.12)!important;box-shadow:0 0 0 1px rgba(255,255,255,.92),0 12px 32px rgba(37,99,235,.16)!important}
.cps-qc-folder-download-actions{display:flex!important;align-items:center;justify-content:flex-end;gap:7px;flex-wrap:wrap;min-width:0}
.cps-qc-folder-download-selected,.cps-qc-folder-clear-selection{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:36px;padding:0 11px;border:1px solid #d7dee9;border-radius:10px;background:#fff;color:#475569;font:inherit;font-size:9px;font-weight:850;cursor:pointer;transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease,opacity .16s ease}
.cps-qc-folder-download-selected{border-color:#bfdbfe;background:linear-gradient(145deg,#eff6ff,#ecfeff);color:#1d4ed8;box-shadow:0 5px 14px rgba(37,99,235,.07)}
.cps-qc-folder-download-selected:not(:disabled):hover{transform:translateY(-1px);border-color:#60a5fa;box-shadow:0 9px 20px rgba(37,99,235,.12)}
.cps-qc-folder-download-selected:disabled{opacity:.45;cursor:not-allowed;box-shadow:none}.cps-qc-folder-download-selected.is-preparing{pointer-events:none;opacity:.72}
.cps-qc-folder-clear-selection:hover{border-color:#cbd5e1;background:#f8fafc;color:#0f172a}
.cps-qc-folder-selected-count{display:inline-flex;align-items:center;justify-content:center;min-height:34px;padding:0 9px;border:1px solid #e2e8f0;border-radius:10px;background:#f8fafc;color:#64748b;font-size:9px;font-weight:850;white-space:nowrap}
.cps-qc-file-card.is-downloaded{box-shadow:inset 0 0 0 1px rgba(16,185,129,.08)}
.cps-qc-file-gallery.is-folder .cps-qc-file-card.is-downloaded:not(.is-selected){border-color:#a7f3d0;background:linear-gradient(180deg,#fff 0%,#f3fff9 100%);box-shadow:0 0 0 3px rgba(16,185,129,.06),0 10px 24px rgba(5,150,105,.06)}
@media(max-width:760px){.cps-qc-folder-download-actions{width:100%;justify-content:flex-start}.cps-qc-folder-download-selected,.cps-qc-folder-zip{flex:1;min-width:145px}.cps-qc-folder-selected-count{flex:0 0 auto}}

/* v1.5.12.44 — premium Quality Controller Work Folder cards */
.cps-qc-folder-zone .cps-qc-folder-row{
  grid-template-columns:repeat(auto-fill,minmax(220px,1fr));
  gap:12px;
}
.cps-qc-folder-zone .cps-qc-folder-card.is-qc{
  position:relative;
  isolation:isolate;
  min-height:88px;
  padding:15px 15px 15px 16px;
  gap:14px;
  overflow:hidden;
  border:1px solid #dbe3ee;
  border-radius:18px;
  background:linear-gradient(145deg,#ffffff 0%,#fbfdff 58%,#f6f9fd 100%);
  box-shadow:0 8px 22px rgba(15,23,42,.055),inset 0 1px 0 rgba(255,255,255,.95);
  transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease,background .18s ease;
}
.cps-qc-folder-zone .cps-qc-folder-card.is-qc::before{
  content:"";
  position:absolute;
  z-index:-1;
  width:116px;
  height:116px;
  right:-56px;
  top:-68px;
  border-radius:999px;
  background:radial-gradient(circle,rgba(59,130,246,.10) 0%,rgba(59,130,246,0) 70%);
  pointer-events:none;
}
.cps-qc-folder-zone button.cps-qc-folder-card.is-qc:hover:not(:disabled){
  transform:translateY(-2px);
  border-color:#bfd1e6;
  background:linear-gradient(145deg,#ffffff 0%,#f8fbff 58%,#f1f6fc 100%);
  box-shadow:0 14px 30px rgba(15,23,42,.09),0 2px 8px rgba(37,99,235,.05),inset 0 1px 0 rgba(255,255,255,.98);
}
.cps-qc-folder-zone .cps-qc-folder-card.is-qc .cps-qc-folder-icon{
  position:relative;
  display:block;
  width:48px;
  height:39px;
  flex:0 0 48px;
  margin-top:4px;
  border:1px solid #c7d7eb;
  border-radius:9px 11px 11px 11px;
  background:linear-gradient(145deg,#eaf3ff 0%,#dbeafe 100%);
  color:transparent;
  font-size:0;
  box-shadow:0 6px 14px rgba(37,99,235,.10),inset 0 1px 0 rgba(255,255,255,.9);
}
.cps-qc-folder-zone .cps-qc-folder-card.is-qc .cps-qc-folder-icon::before{
  content:"";
  position:absolute;
  left:4px;
  top:-7px;
  width:22px;
  height:10px;
  border:1px solid #c7d7eb;
  border-bottom:0;
  border-radius:7px 7px 0 0;
  background:linear-gradient(145deg,#edf6ff,#dbeafe);
}
.cps-qc-folder-zone .cps-qc-folder-card.is-qc .cps-qc-folder-icon::after{
  content:"";
  position:absolute;
  left:8px;
  right:8px;
  top:9px;
  height:1px;
  border-radius:99px;
  background:rgba(255,255,255,.85);
}
.cps-qc-folder-zone .cps-qc-folder-card.is-qc>div{
  gap:6px;
  align-content:center;
  min-width:0;
}
.cps-qc-folder-zone .cps-qc-folder-card.is-qc strong{
  font-size:12px;
  line-height:1.25;
  font-weight:850;
  letter-spacing:-.01em;
  color:#172033;
}
.cps-qc-folder-zone .cps-qc-folder-card.is-qc small{
  display:flex;
  align-items:center;
  gap:5px;
  min-width:0;
  color:#718096;
  font-size:9px;
  line-height:1.35;
  font-weight:700;
}
.cps-qc-folder-zone .cps-qc-folder-card.is-qc [data-qc-folder-count]{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:21px;
  height:21px;
  padding:0 6px;
  border:1px solid #d7e4f3;
  border-radius:999px;
  background:#f5f9ff;
  color:#315f9d;
  font-size:9px;
  line-height:1;
  font-weight:900;
  box-sizing:border-box;
}
.cps-qc-folder-zone .cps-qc-folder-card.is-qc .cps-qc-drop-hint{
  position:absolute;
  right:10px;
  top:10px;
  margin:0;
  padding:4px 7px;
  border:1px solid #d6e5fb;
  border-radius:999px;
  background:rgba(239,246,255,.94);
  color:#3368ad;
  box-shadow:none;
  font-size:7px;
  line-height:1;
  font-weight:900;
  letter-spacing:.06em;
}
.cps-qc-folder-zone .cps-qc-folder-card.is-qc.is-mine{
  border-color:#aecdff;
  background:linear-gradient(145deg,#ffffff 0%,#f5f9ff 55%,#edf5ff 100%);
  box-shadow:0 9px 24px rgba(37,99,235,.085),inset 3px 0 0 #3b82f6;
}
.cps-qc-folder-zone .cps-qc-folder-card.is-qc.is-mine .cps-qc-folder-icon{
  border-color:#8fb9f4;
  background:linear-gradient(145deg,#dcecff 0%,#bfdbfe 100%);
  box-shadow:0 7px 16px rgba(37,99,235,.15),inset 0 1px 0 rgba(255,255,255,.9);
}
.cps-qc-folder-zone .cps-qc-folder-card.is-qc.is-mine .cps-qc-folder-icon::before{
  border-color:#8fb9f4;
  background:linear-gradient(145deg,#e5f1ff,#c7ddfb);
}
.cps-qc-folder-zone .cps-qc-folder-card.is-qc.is-open{
  border-color:#73a9f2;
  background:linear-gradient(145deg,#ffffff 0%,#f2f7ff 52%,#e9f2ff 100%);
  box-shadow:0 0 0 3px rgba(37,99,235,.075),0 14px 30px rgba(37,99,235,.10);
  transform:translateY(-1px);
}
.cps-qc-folder-zone .cps-qc-folder-card.is-qc.is-open .cps-qc-folder-icon{
  border-color:#6ea5ec;
  background:linear-gradient(145deg,#d8eaff,#b9d7ff 100%);
}
.cps-qc-folder-zone .cps-qc-folder-card.is-qc.is-manager-target{
  border-style:solid;
  border-color:#d7e0eb;
  background:linear-gradient(145deg,#ffffff 0%,#fbfcfe 100%);
}
.cps-qc-folder-zone .cps-qc-folder-card.is-qc.is-manager-target:hover:not(:disabled){
  border-color:#a8c6eb;
  background:linear-gradient(145deg,#ffffff 0%,#f5f9ff 100%);
}
.cps-qc-folder-zone .cps-qc-folder-card.is-qc.is-disabled{
  opacity:.50;
  filter:saturate(.65);
  box-shadow:none;
}
.cps-qc-job-board.is-dragging-files .cps-qc-folder-zone .cps-qc-folder-card.is-qc[data-cps-qc-drop-target="1"]{
  border-color:#8ebcf5;
  background:linear-gradient(145deg,#ffffff 0%,#f1f7ff 100%);
  box-shadow:0 0 0 3px rgba(37,99,235,.07),0 12px 28px rgba(37,99,235,.09);
}
.cps-qc-folder-zone .cps-qc-folder-card.is-qc.is-drag-over{
  border-color:#2563eb!important;
  background:linear-gradient(145deg,#ffffff 0%,#eaf3ff 100%)!important;
  box-shadow:0 0 0 5px rgba(37,99,235,.13),0 18px 38px rgba(37,99,235,.16)!important;
  transform:translateY(-3px) scale(1.012)!important;
}
.cps-qc-folder-zone .cps-qc-folder-card.is-qc.is-drag-over .cps-qc-drop-hint,
.cps-qc-folder-zone .cps-qc-folder-card.is-qc.is-ready-for-drop .cps-qc-drop-hint{
  border-color:#2563eb;
  background:#2563eb;
  color:#fff;
  box-shadow:0 6px 14px rgba(37,99,235,.22);
}
@media(max-width:760px){
  .cps-qc-folder-zone .cps-qc-folder-row{grid-template-columns:1fr 1fr;gap:10px}
  .cps-qc-folder-zone .cps-qc-folder-card.is-qc{min-height:84px;padding:13px;gap:12px}
}
@media(max-width:520px){
  .cps-qc-folder-zone .cps-qc-folder-row{grid-template-columns:1fr}
}

/* v1.5.12.45 — QC re-assignment console: seven-column card workspace */
.cps-qc-reassign-console{overflow:visible}
.cps-qc-reassign-tools{display:grid;grid-template-columns:minmax(250px,1fr) minmax(145px,auto) minmax(160px,auto) auto;gap:9px;align-items:end;padding:12px 14px;background:linear-gradient(180deg,#fbfcff 0%,#f8faff 100%);border-bottom:1px solid #e8edf5}
.cps-qc-reassign-search{height:40px;position:relative;display:flex;align-items:center;min-width:0;border:1px solid #dbe2ee;border-radius:12px;background:#fff;box-shadow:0 5px 14px rgba(15,23,42,.035);transition:border-color .18s ease,box-shadow .18s ease}
.cps-qc-reassign-search:focus-within{border-color:#8f9cf7;box-shadow:0 0 0 3px rgba(79,70,229,.09),0 7px 18px rgba(15,23,42,.05)}
.cps-qc-reassign-search>.dashicons{flex:0 0 auto;width:16px;height:16px;font-size:16px;margin-left:12px;color:#718096}
.cps-qc-reassign-search input{width:100%;height:38px;border:0!important;outline:0!important;box-shadow:none!important;background:transparent!important;padding:0 34px 0 8px!important;color:#172033;font-size:11px;font-weight:700}
.cps-qc-reassign-search input::placeholder{color:#9aa5b6;font-weight:600}
.cps-qc-reassign-search button{position:absolute;right:7px;top:50%;transform:translateY(-50%);width:25px;height:25px;border:0;border-radius:8px;background:#f0f3f8;color:#677489;font-size:17px;line-height:1;cursor:pointer;padding:0}
.cps-qc-reassign-search button:hover{background:#e8ecf3;color:#28364a}
.cps-qc-reassign-filter{display:flex;flex-direction:column;gap:4px;min-width:0}
.cps-qc-reassign-filter>span{font-size:8px;font-weight:900;letter-spacing:.06em;text-transform:uppercase;color:#7b8799;padding-left:2px}
.cps-qc-reassign-filter select{height:34px;min-width:145px;border:1px solid #dbe2ee!important;border-radius:10px!important;background:#fff!important;color:#334155!important;font-size:10px!important;font-weight:750!important;padding:0 30px 0 10px!important;box-shadow:0 4px 12px rgba(15,23,42,.025)!important}
.cps-qc-reassign-visible-count{height:34px;display:flex;align-items:center;justify-content:center;white-space:nowrap;padding:0 10px;border:1px solid #e0e6ef;border-radius:10px;background:#fff;color:#65758a;font-size:9px;font-weight:850}
.cps-qc-reassign-list{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:9px;padding:12px;max-height:520px;overflow:auto;align-items:stretch;background:#fbfcfe}
.cps-qc-reassign-card{position:relative;min-width:0;display:flex;flex-direction:column;gap:9px;padding:11px;border:1px solid #e0e6ef;border-radius:14px;background:linear-gradient(155deg,#fff 0%,#fbfcff 100%);box-shadow:0 7px 18px rgba(15,23,42,.04);transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease}
.cps-qc-reassign-card:hover{transform:translateY(-2px);border-color:#cbd5f6;box-shadow:0 12px 26px rgba(30,41,59,.08)}
.cps-qc-reassign-card[hidden]{display:none!important}
.cps-qc-reassign-card-top{display:flex;align-items:center;justify-content:space-between;gap:7px}
.cps-qc-reassign-folder-icon{width:31px;height:27px;border:1px solid #d9defe;border-radius:8px;display:grid;place-items:center;background:linear-gradient(145deg,#f3f5ff,#e8edff);color:#4f46e5;box-shadow:inset 0 1px 0 rgba(255,255,255,.8)}
.cps-qc-reassign-folder-icon .dashicons{width:16px;height:16px;font-size:16px}
.cps-qc-reassign-status-badge{max-width:78px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:4px 6px;border-radius:999px;background:#eef2f7;color:#65758a;font-size:7px;font-weight:950;letter-spacing:.025em;text-transform:uppercase}
.cps-qc-reassign-status-badge.is-revision_required{background:#fff0f1;color:#b42335}
.cps-qc-reassign-status-badge.is-in_progress{background:#eef7ff;color:#1765a8}
.cps-qc-reassign-status-badge.is-assigned{background:#eefbf5;color:#187255}
.cps-qc-reassign-card-copy{display:flex;flex-direction:column;min-width:0;gap:2px}
.cps-qc-reassign-card-copy small{font-size:7px;font-weight:900;letter-spacing:.08em;text-transform:uppercase;color:#929db0}
.cps-qc-reassign-card-copy strong{font-size:11px;line-height:1.25;color:#172033;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cps-qc-reassign-card-copy span{font-size:9px;font-weight:750;color:#4d5d73;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cps-qc-reassign-card-copy em{font-style:normal;font-size:8px;color:#8995a8;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cps-qc-reassign-card-stats{display:grid;grid-template-columns:1fr 1fr;gap:5px;margin-top:auto}
.cps-qc-reassign-card-stats>span{min-width:0;padding:6px 5px;border:1px solid #e7ebf1;border-radius:9px;background:#f9fafc;text-align:center}
.cps-qc-reassign-card-stats b{display:block;color:#293548;font-size:11px;line-height:1.1}
.cps-qc-reassign-card-stats small{display:block;margin-top:2px;color:#8b96a7;font-size:6.5px;font-weight:850;text-transform:uppercase;letter-spacing:.035em}
.cps-qc-reassign-card-stats .is-pending{background:#fffaf0;border-color:#f3e7c9}.cps-qc-reassign-card-stats .is-pending b{color:#946318}
.cps-qc-reassign-card-action{margin-top:1px}
.cps-qc-reassign-card-action .cps-reassign-open-button{width:100%;min-height:31px;justify-content:center;border-radius:9px;padding:7px 8px;font-size:9px;background:linear-gradient(135deg,#4f46e5,#6158ec);border-color:#4f46e5;color:#fff;box-shadow:0 7px 16px rgba(79,70,229,.18)}
.cps-qc-reassign-card-action .cps-reassign-open-button:hover{border-color:#4338ca;background:linear-gradient(135deg,#4338ca,#554bdc);box-shadow:0 10px 20px rgba(79,70,229,.24)}
.cps-qc-reassign-no-results{grid-column:1/-1;min-height:160px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:24px;color:#8793a5}
.cps-qc-reassign-no-results[hidden]{display:none!important}.cps-qc-reassign-no-results>.dashicons{width:24px;height:24px;font-size:24px;color:#a3aec0}.cps-qc-reassign-no-results strong{margin-top:8px;color:#3e4b5f;font-size:12px}.cps-qc-reassign-no-results p{margin:3px 0 0;font-size:9px}
@media(max-width:1240px){.cps-qc-reassign-list{grid-template-columns:repeat(5,minmax(0,1fr))}}
@media(max-width:980px){.cps-qc-reassign-tools{grid-template-columns:1fr 1fr}.cps-qc-reassign-search{grid-column:1/-1}.cps-qc-reassign-list{grid-template-columns:repeat(4,minmax(0,1fr))}.cps-qc-reassign-visible-count{justify-self:start}}
@media(max-width:720px){.cps-qc-reassign-list{grid-template-columns:repeat(2,minmax(0,1fr))}.cps-qc-reassign-tools{grid-template-columns:1fr}.cps-qc-reassign-search{grid-column:auto}.cps-qc-reassign-filter select{width:100%}}
@media(max-width:430px){.cps-qc-reassign-list{grid-template-columns:1fr}}

/* v1.5.12.50 — Settings role permissions & result visibility */
.cps-role-permission-settings{margin:24px 0;padding:22px;border:1px solid #dfe6ef;border-radius:22px;background:linear-gradient(145deg,#f8fbff 0%,#fff 56%,#f7f9fc 100%);box-shadow:0 16px 42px rgba(15,23,42,.06)}
.cps-role-permission-intro{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:18px}.cps-role-permission-intro h3{margin:5px 0 5px;color:#172033;font-size:20px}.cps-role-permission-intro p{max-width:760px;margin:0;color:#65748a;font-size:12px;line-height:1.6}.cps-role-permission-admin-note{display:flex;align-items:center;gap:10px;max-width:335px;padding:12px 14px;border:1px solid #dbeafe;border-radius:14px;background:#eff6ff;color:#1d4ed8}.cps-role-permission-admin-note>.dashicons{width:22px;height:22px;font-size:22px;line-height:22px}.cps-role-permission-admin-note div{display:grid;gap:2px}.cps-role-permission-admin-note strong{font-size:11px}.cps-role-permission-admin-note small{color:#5d7191;font-size:9px;line-height:1.45}
.cps-role-permission-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.cps-role-permission-card{position:relative;overflow:hidden;border:1px solid #e2e8f0;border-radius:18px;background:#fff;box-shadow:0 10px 30px rgba(15,23,42,.055)}.cps-role-permission-card:before{content:"";position:absolute;inset:0 0 auto;height:4px;background:#64748b}.cps-role-permission-card.is-designer:before{background:linear-gradient(90deg,#2563eb,#60a5fa)}.cps-role-permission-card.is-qc:before{background:linear-gradient(90deg,#059669,#34d399)}.cps-role-permission-card.is-manager:before{background:linear-gradient(90deg,#7c3aed,#a78bfa)}.cps-role-permission-card>header{display:flex;align-items:center;gap:10px;padding:16px 16px 13px;border-bottom:1px solid #edf1f6;background:linear-gradient(180deg,#fff,#fbfcfe)}.cps-role-permission-icon{display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:#f1f5f9;color:#334155}.cps-role-permission-card.is-designer .cps-role-permission-icon{background:#eff6ff;color:#2563eb}.cps-role-permission-card.is-qc .cps-role-permission-icon{background:#ecfdf5;color:#059669}.cps-role-permission-card.is-manager .cps-role-permission-icon{background:#f5f3ff;color:#7c3aed}.cps-role-permission-card>header>div{display:grid;gap:2px}.cps-role-permission-card>header strong{font-size:14px;color:#172033}.cps-role-permission-card>header small{font-size:9px;color:#8390a3;font-weight:750}
.cps-role-permission-group{padding:14px 14px 12px}.cps-role-permission-group+.cps-role-permission-group{border-top:1px solid #edf1f6;background:#fbfcfe}.cps-role-permission-group-title{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:9px}.cps-role-permission-group-title>span{font-size:10px;font-weight:900;letter-spacing:.055em;text-transform:uppercase;color:#334155}.cps-role-permission-group-title>small{font-size:8px;color:#94a3b8;font-weight:750}.cps-role-permission-options{display:grid;gap:7px}.cps-role-permission-toggle{display:grid;grid-template-columns:auto minmax(0,1fr);gap:9px;align-items:flex-start;padding:9px 10px;border:1px solid #e7ecf3;border-radius:12px;background:#fff;cursor:pointer;transition:.16s ease}.cps-role-permission-toggle:hover{border-color:#cfdaea;background:#fbfdff;transform:translateY(-1px);box-shadow:0 6px 16px rgba(15,23,42,.045)}.cps-role-permission-toggle input{position:absolute;opacity:0;pointer-events:none}.cps-role-permission-switch{position:relative;width:32px;height:18px;margin-top:1px;border-radius:999px;background:#cbd5e1;box-shadow:inset 0 0 0 1px rgba(15,23,42,.05);transition:.18s ease}.cps-role-permission-switch:after{content:"";position:absolute;top:3px;left:3px;width:12px;height:12px;border-radius:50%;background:#fff;box-shadow:0 2px 5px rgba(15,23,42,.22);transition:.18s ease}.cps-role-permission-toggle input:checked+.cps-role-permission-switch{background:#2563eb}.cps-role-permission-card.is-qc .cps-role-permission-toggle input:checked+.cps-role-permission-switch{background:#059669}.cps-role-permission-card.is-manager .cps-role-permission-toggle input:checked+.cps-role-permission-switch{background:#7c3aed}.cps-role-permission-toggle input:checked+.cps-role-permission-switch:after{transform:translateX(14px)}.cps-role-permission-copy{display:grid;gap:2px}.cps-role-permission-copy strong{font-size:10px;line-height:1.3;color:#2a374a}.cps-role-permission-copy small{font-size:8px;line-height:1.45;color:#8794a7;font-weight:650}.cps-permission-state{display:flex;align-items:center;gap:13px;min-height:100px;padding:20px 22px;border:1px dashed #cbd5e1;border-radius:18px;background:linear-gradient(145deg,#f8fafc,#fff);color:#64748b}.cps-permission-state>.dashicons{display:grid;place-items:center;width:40px;height:40px;border-radius:12px;background:#eef2f7;color:#64748b;font-size:20px;line-height:40px}.cps-permission-state div{display:grid;gap:4px}.cps-permission-state strong{color:#334155;font-size:14px}.cps-permission-state p{margin:0;color:#7b8798;font-size:11px;line-height:1.5}
@media(max-width:1180px){.cps-role-permission-grid{grid-template-columns:1fr 1fr}.cps-role-permission-card.is-manager{grid-column:1/-1}.cps-role-permission-card.is-manager .cps-role-permission-options{grid-template-columns:1fr 1fr}}@media(max-width:760px){.cps-role-permission-settings{padding:15px}.cps-role-permission-intro{flex-direction:column}.cps-role-permission-admin-note{max-width:none}.cps-role-permission-grid{grid-template-columns:1fr}.cps-role-permission-card.is-manager{grid-column:auto}.cps-role-permission-card.is-manager .cps-role-permission-options{grid-template-columns:1fr}}

/* v1.5.12.51 — Drag/copy Manager permissions into Designer / QC */
.cps-role-permission-dnd-note{display:flex;align-items:center;gap:12px;margin:0 0 16px;padding:13px 15px;border:1px solid #ddd6fe;border-radius:15px;background:linear-gradient(135deg,#faf5ff,#f8fbff);color:#5b21b6;box-shadow:0 8px 22px rgba(91,33,182,.05)}.cps-role-permission-dnd-note>.dashicons{width:25px;height:25px;font-size:25px;line-height:25px}.cps-role-permission-dnd-note>div{display:grid;gap:2px;min-width:0}.cps-role-permission-dnd-note strong{font-size:11px;color:#4c1d95}.cps-role-permission-dnd-note small{font-size:9px;line-height:1.45;color:#76698d}.cps-role-permission-dnd-badge{margin-left:auto;white-space:nowrap;padding:6px 9px;border:1px solid #c4b5fd;border-radius:999px;background:#fff;color:#6d28d9;font-size:8px;font-weight:900;letter-spacing:.08em}.cps-role-permission-inline-status{display:none;margin:-4px 0 14px;padding:9px 12px;border-radius:11px;font-size:9px;font-weight:800;line-height:1.4}.cps-role-permission-inline-status[data-visible="1"]{display:block}.cps-role-permission-inline-status.is-success{border:1px solid #bbf7d0;background:#f0fdf4;color:#166534}.cps-role-permission-inline-status.is-warning{border:1px solid #fde68a;background:#fffbeb;color:#92400e}
.cps-role-permission-card>header{position:relative}.cps-role-drop-ready{display:inline-flex;align-items:center;gap:4px;margin-left:auto;padding:5px 7px;border:1px dashed #cbd5e1;border-radius:9px;background:#fff;color:#7c8798;font-size:8px;font-weight:850;transition:.18s ease}.cps-role-drop-ready .dashicons{width:13px;height:13px;font-size:13px;line-height:13px}.cps-role-permission-item{position:relative;border-radius:13px;transition:transform .18s ease,opacity .18s ease,box-shadow .18s ease}.cps-role-permission-item .cps-role-permission-toggle{height:100%;box-sizing:border-box}.cps-role-permission-item.is-manager-source{padding-top:18px;cursor:grab}.cps-role-permission-item.is-manager-source:active{cursor:grabbing}.cps-role-permission-item.is-manager-source .cps-role-permission-toggle{border-color:#e5ddff;background:linear-gradient(180deg,#fff,#fdfbff)}.cps-role-permission-item.is-dragging{opacity:.38;transform:scale(.985)}.cps-role-permission-drag-handle{position:absolute;z-index:2;top:0;left:8px;right:8px;display:flex;align-items:center;justify-content:flex-end;gap:3px;height:18px;color:#8b5cf6;pointer-events:none}.cps-role-permission-drag-handle .dashicons{width:12px;height:12px;font-size:12px;line-height:12px}.cps-role-permission-drag-handle small{font-size:7px;font-weight:900;letter-spacing:.04em;text-transform:uppercase}
.cps-role-permission-item.is-copied{padding-top:20px}.cps-role-permission-item.is-copied .cps-role-permission-toggle{padding-right:34px;border-color:#ddd6fe;background:linear-gradient(145deg,#fff,#faf8ff);box-shadow:0 5px 16px rgba(91,33,182,.045)}.cps-role-permission-origin{position:absolute;z-index:3;top:2px;left:8px;display:inline-flex;align-items:center;gap:3px;color:#6d28d9;font-size:7px;font-weight:900;letter-spacing:.035em;text-transform:uppercase}.cps-role-permission-origin .dashicons{width:11px;height:11px;font-size:11px;line-height:11px}.cps-role-permission-remove{position:absolute;z-index:5;right:7px;top:28px;display:grid;place-items:center;width:24px;height:24px;padding:0;border:1px solid #fecaca;border-radius:8px;background:#fff;color:#dc2626;cursor:pointer;transition:.16s ease}.cps-role-permission-remove:hover{border-color:#fca5a5;background:#fef2f2;transform:translateY(-1px);box-shadow:0 5px 12px rgba(220,38,38,.1)}.cps-role-permission-remove .dashicons{width:14px;height:14px;font-size:14px;line-height:14px}.cps-role-permission-drop-placeholder{display:none;align-items:center;gap:8px;min-height:44px;padding:8px 10px;border:1px dashed #c4b5fd;border-radius:12px;background:rgba(245,243,255,.72);color:#7c3aed}.cps-role-permission-drop-placeholder>.dashicons{width:20px;height:20px;font-size:20px;line-height:20px}.cps-role-permission-drop-placeholder>span:last-child{display:grid;gap:1px}.cps-role-permission-drop-placeholder strong{font-size:9px}.cps-role-permission-drop-placeholder small{font-size:7px;color:#8b78a8}
body.cps-role-permission-dragging [data-cps-role-permission-target="designer"] .cps-role-permission-drop-placeholder,body.cps-role-permission-dragging [data-cps-role-permission-target="quality_controller"] .cps-role-permission-drop-placeholder{display:flex}.cps-role-permission-card.is-drop-active{outline:3px solid rgba(124,58,237,.16);border-color:#a78bfa;box-shadow:0 18px 44px rgba(124,58,237,.13);transform:translateY(-2px)}.cps-role-permission-card.is-drop-active .cps-role-drop-ready{border-style:solid;border-color:#8b5cf6;background:#7c3aed;color:#fff}.cps-role-permission-card.is-drop-active .cps-role-permission-drop-placeholder{background:#f5f3ff;border-color:#8b5cf6}.cps-role-permission-item.is-copy-arriving{animation:cpsPermissionCopyIn .7s cubic-bezier(.2,.8,.2,1)}.cps-role-permission-item.is-copy-focus{box-shadow:0 0 0 3px rgba(245,158,11,.18);animation:cpsPermissionFocus .8s ease}.cps-role-permission-item.is-copy-removing{opacity:0;transform:scale(.96)}@keyframes cpsPermissionCopyIn{0%{opacity:0;transform:translateY(-8px) scale(.97)}55%{opacity:1;transform:translateY(2px) scale(1.01)}100%{transform:none}}@keyframes cpsPermissionFocus{0%,100%{transform:none}50%{transform:translateY(-2px)}}@media(max-width:760px){.cps-role-permission-dnd-note{align-items:flex-start}.cps-role-permission-dnd-badge{display:none}.cps-role-drop-ready{display:none}.cps-role-permission-item.is-manager-source{padding-top:0}.cps-role-permission-drag-handle{display:none}}

/* v1.5.12.62 — Designer-only Attendance & Payroll history */
.cps-designer-dashboard .cps-my-attendance{overflow:hidden;border:1px solid #dfe6ef;border-radius:24px;background:#fff;box-shadow:0 16px 42px rgba(15,23,42,.055)}
.cps-designer-dashboard .cps-my-attendance-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:20px 22px 17px;border-bottom:1px solid #edf1f6;background:linear-gradient(145deg,#fff 0%,#fbfdff 62%,#f5f9ff 100%)}
.cps-designer-dashboard .cps-my-attendance-head h2{margin:5px 0 4px;color:#172033;font-size:22px;line-height:1.2;letter-spacing:-.025em}
.cps-designer-dashboard .cps-my-attendance-head p{max-width:760px;margin:0;color:#718096;font-size:11px;line-height:1.55}
.cps-designer-dashboard .cps-my-attendance-private{display:inline-flex;align-items:center;gap:6px;flex:0 0 auto;padding:7px 10px;border:1px solid #dbeafe;border-radius:999px;background:#f7fbff;color:#2563eb;font-size:9px;font-weight:850;white-space:nowrap}
.cps-designer-dashboard .cps-my-attendance-private .dashicons{width:13px;height:13px;font-size:13px;line-height:13px}
.cps-designer-dashboard .cps-my-attendance-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;padding:14px 16px;background:#fbfcfe;border-bottom:1px solid #edf1f6}
.cps-designer-dashboard .cps-my-attendance-summary article{min-width:0;padding:13px 14px;border:1px solid #e4e9f0;border-radius:14px;background:#fff;box-shadow:0 5px 14px rgba(15,23,42,.025)}
.cps-designer-dashboard .cps-my-attendance-summary span,.cps-designer-dashboard .cps-my-attendance-summary strong,.cps-designer-dashboard .cps-my-attendance-summary small{display:block}
.cps-designer-dashboard .cps-my-attendance-summary span{color:#7b8799;font-size:8px;font-weight:900;letter-spacing:.055em;text-transform:uppercase}
.cps-designer-dashboard .cps-my-attendance-summary strong{margin-top:5px;color:#172033;font-size:19px;line-height:1.15;letter-spacing:-.025em}
.cps-designer-dashboard .cps-my-attendance-summary small{margin-top:3px;color:#97a1b1;font-size:8px;font-weight:700}
.cps-designer-dashboard .cps-my-attendance-table-wrap{max-height:420px;overflow:auto;scrollbar-width:thin;scrollbar-color:#cbd5e1 transparent}
.cps-designer-dashboard .cps-my-attendance-table{margin:0;border:0;box-shadow:none}
.cps-designer-dashboard .cps-my-attendance-table thead th{position:sticky;top:0;z-index:2;background:#f8fafc;box-shadow:inset 0 -1px 0 #e5eaf1;color:#66758a;font-size:9px;font-weight:900;letter-spacing:.04em;text-transform:uppercase}
.cps-designer-dashboard .cps-my-attendance-table tbody td{font-size:10px;color:#4a586c;vertical-align:middle}
.cps-designer-dashboard .cps-my-attendance-table tbody td>strong{color:#263348;font-size:10px}
.cps-designer-dashboard .cps-my-attendance-table tbody td>small{display:block;margin-top:2px;color:#3b82f6;font-size:7px;font-weight:850;text-transform:uppercase;letter-spacing:.05em}
.cps-designer-dashboard .cps-my-attendance-table tr.is-today td{background:#f8fbff}
.cps-designer-dashboard .cps-my-attendance-table .cps-status{white-space:nowrap}
@media(max-width:900px){.cps-designer-dashboard .cps-my-attendance-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.cps-designer-dashboard .cps-my-attendance-table-wrap{overflow-x:auto}.cps-designer-dashboard .cps-my-attendance-table{min-width:760px}}
@media(max-width:620px){.cps-designer-dashboard .cps-my-attendance-head{flex-direction:column;padding:17px}.cps-designer-dashboard .cps-my-attendance-summary{grid-template-columns:1fr 1fr;padding:12px}.cps-designer-dashboard .cps-my-attendance-head h2{font-size:19px}}

/* v1.5.12.63 — Designer Payroll and Salary private workspace */
.cps-payroll-salary-panel{display:grid;gap:18px}
.cps-payroll-salary-panel .cps-payroll-hero{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;padding:26px 28px;border:1px solid #dbe5f1;border-radius:26px;background:linear-gradient(135deg,#ffffff 0%,#f8fbff 58%,#eef6ff 100%);box-shadow:0 20px 55px rgba(15,23,42,.07);overflow:hidden;position:relative}
.cps-payroll-salary-panel .cps-payroll-hero:after{content:"";position:absolute;right:-80px;top:-100px;width:270px;height:270px;border-radius:50%;background:radial-gradient(circle,rgba(37,99,235,.12),rgba(37,99,235,0) 68%);pointer-events:none}
.cps-payroll-salary-panel .cps-payroll-hero-copy{position:relative;z-index:1;max-width:820px}
.cps-payroll-salary-panel .cps-payroll-hero-copy h2{margin:6px 0 7px;color:#111827;font-size:30px;line-height:1.08;letter-spacing:-.035em}
.cps-payroll-salary-panel .cps-payroll-hero-copy>p{margin:0;color:#65758b;font-size:12px;line-height:1.65}
.cps-payroll-salary-panel .cps-payroll-identity{display:flex;align-items:center;gap:11px;margin-top:18px}
.cps-payroll-salary-panel .cps-payroll-avatar{display:grid;place-items:center;width:42px;height:42px;border-radius:14px;background:#0f172a;color:#fff;font-size:15px;font-weight:900;box-shadow:0 8px 18px rgba(15,23,42,.16)}
.cps-payroll-salary-panel .cps-payroll-identity>span:last-child{display:grid;gap:2px}
.cps-payroll-salary-panel .cps-payroll-identity strong{color:#182235;font-size:13px}
.cps-payroll-salary-panel .cps-payroll-identity small{color:#7c899b;font-size:9px;font-weight:700}
.cps-payroll-salary-panel .cps-payroll-private{position:relative;z-index:1;display:flex;align-items:center;gap:9px;flex:0 0 auto;padding:11px 13px;border:1px solid #bfdbfe;border-radius:15px;background:rgba(255,255,255,.82);color:#1d4ed8;box-shadow:0 8px 24px rgba(37,99,235,.07)}
.cps-payroll-salary-panel .cps-payroll-private>.dashicons{width:18px;height:18px;font-size:18px;line-height:18px}
.cps-payroll-salary-panel .cps-payroll-private>span:last-child{display:grid;gap:1px}
.cps-payroll-salary-panel .cps-payroll-private strong{font-size:10px}
.cps-payroll-salary-panel .cps-payroll-private small{color:#7184a0;font-size:8px}
.cps-payroll-salary-panel .cps-payroll-primary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.cps-payroll-salary-panel .cps-payroll-metric{min-width:0;padding:18px 18px 16px;border:1px solid #e1e7ef;border-radius:18px;background:#fff;box-shadow:0 10px 30px rgba(15,23,42,.045)}
.cps-payroll-salary-panel .cps-payroll-metric.is-primary{border-color:#bfdbfe;background:linear-gradient(145deg,#eff6ff 0%,#fff 75%)}
.cps-payroll-salary-panel .cps-payroll-metric span,.cps-payroll-salary-panel .cps-payroll-metric strong,.cps-payroll-salary-panel .cps-payroll-metric small{display:block}
.cps-payroll-salary-panel .cps-payroll-metric span{color:#738199;font-size:9px;font-weight:900;letter-spacing:.06em;text-transform:uppercase}
.cps-payroll-salary-panel .cps-payroll-metric strong{margin-top:7px;color:#111827;font-size:22px;line-height:1.12;letter-spacing:-.025em;overflow-wrap:anywhere}
.cps-payroll-salary-panel .cps-payroll-metric.is-primary strong{color:#1d4ed8}
.cps-payroll-salary-panel .cps-payroll-metric small{margin-top:5px;color:#94a0b1;font-size:8px;font-weight:700;line-height:1.4}
.cps-payroll-salary-panel .cps-payroll-detail-grid{display:grid;grid-template-columns:minmax(0,1.18fr) minmax(0,.82fr);gap:14px}
.cps-payroll-salary-panel .cps-payroll-card{min-width:0;padding:20px;border:1px solid #dfe6ef;border-radius:22px;background:#fff;box-shadow:0 14px 36px rgba(15,23,42,.05)}
.cps-payroll-salary-panel .cps-payroll-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:16px}
.cps-payroll-salary-panel .cps-payroll-card-head span{display:block;color:#2563eb;font-size:8px;font-weight:900;letter-spacing:.11em;text-transform:uppercase}
.cps-payroll-salary-panel .cps-payroll-card-head h3{margin:4px 0 0;color:#172033;font-size:18px;line-height:1.2;letter-spacing:-.02em}
.cps-payroll-salary-panel .cps-payroll-card-head p{margin:5px 0 0;color:#8591a2;font-size:9px;line-height:1.5}
.cps-payroll-salary-panel .cps-payroll-live-state{padding:7px 10px;border:1px solid #e2e8f0;border-radius:999px;background:#f8fafc;color:#64748b;font-size:8px;font-weight:900;text-transform:uppercase;letter-spacing:.05em;white-space:nowrap}
.cps-payroll-salary-panel .cps-payroll-live-state.is-live{border-color:#a7f3d0;background:#ecfdf5;color:#047857}
.cps-payroll-salary-panel .cps-payroll-progress-head{display:flex;align-items:center;justify-content:space-between;gap:10px;color:#66758b;font-size:9px;font-weight:850}
.cps-payroll-salary-panel .cps-payroll-progress-head strong{color:#172033;font-size:12px}
.cps-payroll-salary-panel .cps-payroll-progress{height:9px;margin-top:7px;overflow:hidden;border-radius:999px;background:#edf2f7;box-shadow:inset 0 1px 2px rgba(15,23,42,.05)}
.cps-payroll-salary-panel .cps-payroll-progress>span{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#2563eb,#3b82f6,#60a5fa);box-shadow:0 0 16px rgba(37,99,235,.25)}
.cps-payroll-salary-panel .cps-payroll-mini-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-top:15px}
.cps-payroll-salary-panel .cps-payroll-mini-grid>span{display:grid;gap:4px;padding:12px 13px;border:1px solid #e7ebf1;border-radius:14px;background:#fbfcfe}
.cps-payroll-salary-panel .cps-payroll-mini-grid small{color:#8390a2;font-size:8px;font-weight:800}
.cps-payroll-salary-panel .cps-payroll-mini-grid strong{color:#243044;font-size:13px;line-height:1.2}
.cps-payroll-salary-panel .cps-payroll-info-list{display:grid;gap:0;border:1px solid #e6ebf2;border-radius:15px;overflow:hidden}
.cps-payroll-salary-panel .cps-payroll-info-list>div{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:10px 12px;background:#fff;border-bottom:1px solid #edf1f5}
.cps-payroll-salary-panel .cps-payroll-info-list>div:nth-child(even){background:#fbfcfe}
.cps-payroll-salary-panel .cps-payroll-info-list>div:last-child{border-bottom:0}
.cps-payroll-salary-panel .cps-payroll-info-list span{color:#758298;font-size:9px;font-weight:750}
.cps-payroll-salary-panel .cps-payroll-info-list strong{color:#253247;font-size:10px;text-align:right}
.cps-payroll-salary-panel .cps-payroll-footnote{margin:12px 2px 0;color:#8793a4;font-size:8px;line-height:1.55}
.cps-payroll-salary-panel .cps-payroll-work-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.cps-payroll-salary-panel .cps-payroll-work-grid>article{min-width:0;padding:15px 15px 14px;border:1px solid #e2e7ee;border-radius:16px;background:linear-gradient(145deg,#fff,#fbfcfe);box-shadow:0 8px 24px rgba(15,23,42,.035)}
.cps-payroll-salary-panel .cps-payroll-work-grid span,.cps-payroll-salary-panel .cps-payroll-work-grid strong,.cps-payroll-salary-panel .cps-payroll-work-grid small{display:block}
.cps-payroll-salary-panel .cps-payroll-work-grid span{color:#7c899a;font-size:8px;font-weight:900;text-transform:uppercase;letter-spacing:.045em}
.cps-payroll-salary-panel .cps-payroll-work-grid strong{margin-top:6px;color:#182235;font-size:18px;line-height:1.15;overflow-wrap:anywhere}
.cps-payroll-salary-panel .cps-payroll-work-grid small{margin-top:4px;color:#98a2b1;font-size:8px;font-weight:650;line-height:1.4}
.cps-payroll-salary-panel .cps-payroll-recent-work{padding:0;overflow:hidden}
.cps-payroll-salary-panel .cps-payroll-recent-work>.cps-payroll-card-head{margin:0;padding:18px 20px;border-bottom:1px solid #edf1f5;background:linear-gradient(145deg,#fff,#f8fbff)}
.cps-payroll-salary-panel .cps-payroll-table-wrap{max-width:100%;overflow:auto;scrollbar-width:thin;scrollbar-color:#cbd5e1 transparent}
.cps-payroll-salary-panel .cps-payroll-table{min-width:880px;margin:0;border:0;box-shadow:none}
.cps-payroll-salary-panel .cps-payroll-table thead th{background:#f8fafc;color:#65758a;font-size:8px;font-weight:900;letter-spacing:.045em;text-transform:uppercase}
.cps-payroll-salary-panel .cps-payroll-table tbody td{color:#526075;font-size:9px;vertical-align:middle}
.cps-payroll-salary-panel .cps-payroll-table tbody td strong{color:#263348;font-size:9px}
.cps-payroll-salary-panel .cps-my-attendance{margin-top:0}
@media(max-width:1100px){.cps-payroll-salary-panel .cps-payroll-primary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.cps-payroll-salary-panel .cps-payroll-work-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:820px){.cps-payroll-salary-panel .cps-payroll-hero{flex-direction:column;padding:21px}.cps-payroll-salary-panel .cps-payroll-private{align-self:flex-start}.cps-payroll-salary-panel .cps-payroll-detail-grid{grid-template-columns:1fr}}
@media(max-width:620px){.cps-payroll-salary-panel{gap:13px}.cps-payroll-salary-panel .cps-payroll-primary-grid,.cps-payroll-salary-panel .cps-payroll-work-grid{grid-template-columns:1fr 1fr}.cps-payroll-salary-panel .cps-payroll-hero-copy h2{font-size:25px}.cps-payroll-salary-panel .cps-payroll-metric{padding:14px}.cps-payroll-salary-panel .cps-payroll-metric strong{font-size:18px}.cps-payroll-salary-panel .cps-payroll-card{padding:16px}}
@media(max-width:430px){.cps-payroll-salary-panel .cps-payroll-primary-grid,.cps-payroll-salary-panel .cps-payroll-work-grid,.cps-payroll-salary-panel .cps-payroll-mini-grid{grid-template-columns:1fr}}
/* v1.5.12.69 — folder selection in Designer Assigned Files + QC Done Image Gallery */
[data-cps-dom-folder-gallery] .cps-gallery-folder-card.is-selectable{overflow:visible}
[data-cps-dom-folder-gallery] .cps-gallery-folder-card.is-selectable .cps-gallery-folder-check{position:absolute;z-index:8;left:10px;top:10px;display:grid;place-items:center;width:28px;height:28px;border:2px solid rgba(255,255,255,.96);border-radius:999px;background:#16a34a;color:#fff;font-size:13px;font-weight:950;box-shadow:0 5px 14px rgba(22,163,74,.24);opacity:0;transform:scale(.78);transition:opacity .16s ease,transform .16s ease,background .16s ease}
[data-cps-dom-folder-gallery] .cps-gallery-folder-card.is-selectable.is-selected{border-color:#2563eb;box-shadow:0 0 0 2px rgba(37,99,235,.12),0 16px 34px rgba(37,99,235,.14)}
[data-cps-dom-folder-gallery] .cps-gallery-folder-card.is-selectable.is-selected .cps-gallery-folder-check,[data-cps-dom-folder-gallery] .cps-gallery-folder-card.is-selectable.is-partial .cps-gallery-folder-check{opacity:1;transform:scale(1)}
[data-cps-dom-folder-gallery] .cps-gallery-folder-card.is-selectable.is-partial{border-color:#7c9fd0;box-shadow:0 0 0 2px rgba(59,130,246,.07),0 12px 28px rgba(37,99,235,.09)}
[data-cps-dom-folder-gallery] .cps-gallery-folder-card.is-selectable.is-partial .cps-gallery-folder-check{font-size:0;background:#2563eb}
[data-cps-dom-folder-gallery] .cps-gallery-folder-card.is-selectable.is-partial .cps-gallery-folder-check:before{content:"−";font-size:15px;line-height:1}
.cps-dom-folder-select-toggle{position:absolute;z-index:9;right:10px;top:10px;min-width:58px;height:28px;padding:0 9px;border:1px solid rgba(255,255,255,.95);border-radius:999px;background:rgba(255,255,255,.92);color:#334155;font:inherit;font-size:9px;font-weight:900;cursor:pointer;box-shadow:0 5px 15px rgba(15,23,42,.12);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);transition:.16s ease}
.cps-dom-folder-select-toggle:hover{transform:translateY(-1px);background:#fff;color:#1d4ed8;box-shadow:0 8px 18px rgba(37,99,235,.15)}
.cps-gallery-folder-card.is-selected .cps-dom-folder-select-toggle{background:#2563eb;color:#fff;border-color:#2563eb}
.cps-gallery-folder-card.is-partial .cps-dom-folder-select-toggle{background:#eff6ff;color:#1d4ed8;border-color:#bfdbfe}
[data-cps-assigned-gallery].is-lassoing .cps-gallery-folder-card.is-selectable,[data-cps-qc-unassigned-gallery].is-lassoing .cps-gallery-folder-card.is-selectable{user-select:none;-webkit-user-select:none}
@media(max-width:680px){.cps-dom-folder-select-toggle{right:8px;top:8px;height:27px;min-width:54px;font-size:8.5px}}


/* v1.5.12.77 — Designer Start/Stop: responsive, accessible and visually immediate. */
.cps-designer-dashboard .cps-work-start,
.cps-designer-dashboard .cps-work-stop{
  position:relative;isolation:isolate;overflow:hidden;min-height:74px;padding:14px 18px;
  border:1px solid transparent;border-radius:17px;text-align:left;
  transition:background-color .12s ease,border-color .12s ease,box-shadow .12s ease,transform .12s ease;
  -webkit-tap-highlight-color:transparent;
}
.cps-designer-dashboard .cps-work-start{
  background:linear-gradient(115deg,#135fd6 0%,#1e85dc 60%,#059cb6 100%);
  color:#fff;box-shadow:0 9px 23px rgba(25,93,187,.17);
}
.cps-designer-dashboard .cps-work-start:hover:not(:disabled){
  background:linear-gradient(115deg,#1155bf,#1778cc 60%,#058ba4);
  box-shadow:0 12px 26px rgba(25,93,187,.23);transform:translateY(-1px);
}
.cps-designer-dashboard .cps-work-stop{
  background:linear-gradient(120deg,#202936,#303e50);
  color:#fff;border-color:#2c3746;box-shadow:0 9px 23px rgba(21,32,49,.13);
}
.cps-designer-dashboard .cps-work-stop:hover:not(:disabled){
  background:linear-gradient(120deg,#17202b,#293746);color:#fff;
  box-shadow:0 12px 26px rgba(21,32,49,.2);transform:translateY(-1px);filter:none;
}
.cps-designer-dashboard .cps-work-button-icon,
.cps-designer-dashboard .cps-work-stop .cps-work-button-icon{
  width:44px;height:44px;flex-basis:44px;border-radius:13px;
  background:rgba(255,255,255,.15);color:#fff;font-size:15px;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.2);
}
.cps-designer-dashboard .cps-work-start strong,.cps-designer-dashboard .cps-work-stop strong{
  font-size:16px;font-weight:800;letter-spacing:-.015em;
}
.cps-designer-dashboard .cps-work-start small,.cps-designer-dashboard .cps-work-stop small{
  font-size:11px;font-weight:550;color:rgba(255,255,255,.82);
}
.cps-designer-dashboard .cps-work-start:focus-visible,.cps-designer-dashboard .cps-work-stop:focus-visible{
  outline:3px solid #77c5fb;outline-offset:3px;
}
.cps-designer-dashboard .cps-work-start:disabled,.cps-designer-dashboard .cps-work-stop:disabled{
  opacity:.76;cursor:progress;transform:none;filter:none;
}
.cps-designer-dashboard .cps-work-start.is-busy:after,.cps-designer-dashboard .cps-work-stop.is-busy:after{
  content:'';position:absolute;right:23px;top:calc(50% - 9px);width:18px;height:18px;
  border:2px solid rgba(255,255,255,.38);border-top-color:#fff;border-radius:50%;animation:cpsWork77Spin .65s linear infinite;
}
.cps-designer-dashboard .cps-workday-console.is-offline{
  border-color:#f0c7ad;background:linear-gradient(145deg,#fff,#fffaf6 62%,#fff3ec);
}
.cps-designer-dashboard .is-offline .cps-workday-state{
  border-color:#f5c6a4;background:#fff0e4;color:#a4471b;
}
.cps-designer-dashboard .is-offline .cps-workday-state:before{background:#dd6b2a}
@keyframes cpsWork77Spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){
  .cps-designer-dashboard .cps-work-start,.cps-designer-dashboard .cps-work-stop{transition:none}
  .cps-designer-dashboard .cps-work-start.is-busy:after,.cps-designer-dashboard .cps-work-stop.is-busy:after{animation:none}
}

/* v1.5.12.78 — Designer completed-file picker mirrors the Add Job upload field.
   Scope strictly to this picker; its gallery, progress and upload behavior stay intact. */
.cps-designer-dashboard .cps-worker-gallery-uploader.cps-job-gallery-uploader{
  gap:15px;
}
.cps-designer-dashboard .cps-worker-gallery-uploader .cps-job-upload-zone{
  align-items:center;
  gap:18px;
  min-height:270px;
  padding:38px;
  border:2px dashed #93c5fd;
  border-radius:22px;
  background:radial-gradient(circle at 20% 0,rgba(219,234,254,.75),transparent 42%),linear-gradient(145deg,#fbfdff,#f1f7ff);
  box-shadow:none;
  text-align:left;
}
.cps-designer-dashboard .cps-worker-gallery-uploader .cps-job-upload-zone:hover,
.cps-designer-dashboard .cps-worker-gallery-uploader .cps-job-upload-zone:focus-visible,
.cps-designer-dashboard .cps-worker-gallery-uploader .cps-job-upload-zone.is-dragging{
  border-color:#2563eb;
  background:radial-gradient(circle at 20% 0,rgba(191,219,254,.85),transparent 44%),linear-gradient(145deg,#f8fbff,#ecfeff);
  box-shadow:0 0 0 7px rgba(37,99,235,.08),0 24px 55px rgba(15,23,42,.11);
}
.cps-designer-dashboard .cps-worker-gallery-uploader .cps-job-upload-illustration{
  width:96px;
  height:96px;
  flex:0 0 96px;
  border:0;
  border-radius:30px;
  background:linear-gradient(145deg,#2563eb,#06b6d4);
  color:#fff;
  box-shadow:0 20px 44px rgba(37,99,235,.26);
}
.cps-designer-dashboard .cps-worker-gallery-uploader .cps-job-upload-illustration svg{width:56px;height:56px}
.cps-designer-dashboard .cps-worker-gallery-uploader .cps-job-upload-zone .cps-upload-copy{gap:9px}
.cps-designer-dashboard .cps-worker-gallery-uploader .cps-job-upload-zone .cps-upload-copy strong{
  color:#0f172a;
  font-size:23px;
  font-weight:700;
  letter-spacing:-.02em;
}
.cps-designer-dashboard .cps-worker-gallery-uploader .cps-job-upload-zone .cps-upload-copy span{
  max-width:720px;
  color:#64748b;
  font-size:14px;
  line-height:1.7;
}
.cps-designer-dashboard .cps-worker-gallery-uploader .cps-job-upload-zone .cps-upload-browse{
  width:auto;
  min-height:0;
  padding:13px 19px;
  border:1px solid #bfdbfe;
  border-radius:14px;
  background:#fff;
  color:#1d4ed8;
  font-size:14px;
  font-weight:800;
  box-shadow:0 5px 14px rgba(37,99,235,.08);
}
.cps-designer-dashboard .cps-worker-gallery-uploader .cps-job-upload-zone .cps-upload-browse:hover{
  background:#fff;
  color:#1d4ed8;
}
.cps-designer-dashboard .cps-worker-gallery-uploader .cps-job-upload-meta{
  gap:8px 18px;
  margin-top:0;
  padding:0 6px;
  color:#64748b;
  font-size:12px;
  font-weight:700;
}
.cps-designer-dashboard .cps-worker-gallery-uploader .cps-worker-upload-chip{
  margin-left:auto;
  border:0;
  border-radius:999px;
  background:#ecfdf5;
  color:#047857;
}
@media(max-width:900px){
  .cps-designer-dashboard .cps-worker-gallery-uploader .cps-job-upload-zone{min-height:235px;padding:28px}
  .cps-designer-dashboard .cps-worker-gallery-uploader .cps-job-upload-illustration{
    width:78px;height:78px;flex-basis:78px;border-radius:24px;
  }
  .cps-designer-dashboard .cps-worker-gallery-uploader .cps-job-upload-illustration svg{width:45px;height:45px}
}
@media(max-width:680px){
  .cps-designer-dashboard .cps-worker-gallery-uploader .cps-job-upload-zone{
    align-items:center;
    flex-direction:column;
    min-height:300px;
    padding:26px 20px;
    gap:18px;
    text-align:center;
  }
  .cps-designer-dashboard .cps-worker-gallery-uploader .cps-job-upload-zone .cps-upload-copy span{max-width:100%}
  .cps-designer-dashboard .cps-worker-gallery-uploader .cps-job-upload-zone .cps-upload-browse{width:100%}
  .cps-designer-dashboard .cps-worker-gallery-uploader .cps-job-upload-meta{
    align-items:flex-start;
    flex-direction:column;
  }
  .cps-designer-dashboard .cps-worker-gallery-uploader .cps-worker-upload-chip{margin-left:0}
}

/* v1.5.12.80 — Designer completed-image quantity: prominent, live-synced counter. */
.cps-designer-dashboard .cps-worker-completed-form .cps-worker-batch-counter{
  display:flex!important;
  align-items:center;
  justify-content:flex-end;
  flex-wrap:wrap;
  gap:12px;
  max-width:100%;
  margin:0!important;
  padding:9px 11px!important;
  border:1px solid #bfdbfe;
  border-radius:16px;
  background:linear-gradient(120deg,#fff,#eff6ff);
  box-shadow:0 4px 14px rgba(37,99,235,.06);
  color:#172554!important;
}
.cps-designer-dashboard .cps-worker-completed-form .cps-worker-batch-counter .cps-worker-batch-count-title{
  display:block;
  margin:0;
  color:#172554;
  font-size:15px!important;
  font-weight:800!important;
  line-height:1.35;
  letter-spacing:-.015em;
}
.cps-designer-dashboard .cps-worker-completed-form .cps-worker-batch-counter .cps-worker-count-control{
  display:inline-flex;
  align-items:center;
  gap:8px;
  min-height:52px;
  padding:5px 12px;
  border:1px solid #93c5fd;
  border-radius:12px;
  background:#fff;
  box-shadow:0 3px 10px rgba(37,99,235,.07);
  transition:border-color .15s ease,box-shadow .15s ease;
}
.cps-designer-dashboard .cps-worker-completed-form .cps-worker-batch-counter .cps-worker-count-control:focus-within{
  border-color:#2563eb;
  box-shadow:0 0 0 3px rgba(37,99,235,.13);
}
.cps-designer-dashboard .cps-worker-completed-form .cps-worker-batch-counter input[data-cps-completed-images]{
  display:block;
  box-sizing:border-box;
  width:78px;
  min-width:0;
  height:38px;
  min-height:38px;
  margin:0;
  padding:0 4px;
  border:0;
  border-radius:0;
  outline:0;
  background:transparent;
  box-shadow:none;
  color:#1d4ed8;
  font-size:27px;
  font-weight:850;
  line-height:1;
  text-align:center;
  font-variant-numeric:tabular-nums;
  -moz-appearance:textfield;
  appearance:textfield;
}
.cps-designer-dashboard .cps-worker-completed-form .cps-worker-batch-counter input[data-cps-completed-images]::-webkit-inner-spin-button,
.cps-designer-dashboard .cps-worker-completed-form .cps-worker-batch-counter input[data-cps-completed-images]::-webkit-outer-spin-button{
  margin:0;
  -webkit-appearance:none;
}
.cps-designer-dashboard .cps-worker-completed-form .cps-worker-batch-counter .cps-worker-count-suffix{
  display:block;
  margin:0;
  color:#64748b;
  font-size:11px!important;
  font-weight:800!important;
  line-height:1;
  text-transform:uppercase;
  letter-spacing:.05em;
}
@media(max-width:680px){
  .cps-designer-dashboard .cps-worker-completed-form .cps-worker-batch-counter{width:100%;justify-content:space-between;}
  .cps-designer-dashboard .cps-worker-completed-form .cps-worker-batch-counter .cps-worker-batch-count-title{flex:1 1 160px;}
}

/* v1.5.12.81 — Job reference emphasis, scoped to the Designer work queue only. */
.cps-designer-dashboard .cps-work-queue .cps-worker-job .cps-card-head h3.cps-worker-job-code{
  display:inline-flex;flex-wrap:wrap;align-items:center;gap:9px 11px;max-width:100%;
  margin:0;padding:9px 13px;border:1px solid #bfdbfe;border-radius:13px;
  background:linear-gradient(115deg,#eff6ff 0%,#f8fbff 65%,#fff 100%);
  box-shadow:0 4px 12px rgba(37,99,235,.07);color:#173675;
}
.cps-designer-dashboard .cps-work-queue .cps-worker-job .cps-worker-job-code-label{
  display:inline-flex;align-items:center;gap:6px;flex:0 0 auto;
  color:#2563eb;font-size:10px;font-weight:850;line-height:1.45;letter-spacing:.09em;text-transform:uppercase;
}
.cps-designer-dashboard .cps-work-queue .cps-worker-job .cps-worker-job-code-label:before{
  content:"";width:7px;height:7px;border-radius:50%;background:#2563eb;box-shadow:0 0 0 3px #dbeafe;
}
.cps-designer-dashboard .cps-work-queue .cps-worker-job .cps-worker-job-code-value{
  display:inline-block;min-width:0;overflow-wrap:anywhere;color:#0f2f69;
  font-size:clamp(14px,1.3vw,18px);font-weight:900;line-height:1.35;letter-spacing:.02em;
  font-variant-numeric:tabular-nums;user-select:text;
}
@media(max-width:600px){
  .cps-designer-dashboard .cps-work-queue .cps-worker-job .cps-card-head h3.cps-worker-job-code{padding:9px 11px;gap:5px 9px}
  .cps-designer-dashboard .cps-work-queue .cps-worker-job .cps-worker-job-code-value{font-size:14px}
}


/* v1.5.12.83 — Designer Master Job cards: deeper blue–purple gradient only. */
.cps-designer-dashboard .cps-work-queue .cps-worker-job{
  background:linear-gradient(125deg,#cfe4ff 0%,#d7d8ff 48%,#e4ccff 100%);
  border-color:#afb8ed;
  box-shadow:0 10px 28px rgba(76,88,161,.075);
}
.cps-designer-dashboard .cps-work-queue .cps-worker-job:hover{
  border-color:#999fe0;
}
.cps-designer-dashboard .cps-work-queue .cps-worker-job.has-revision{
  border-color:#efcfd2;
}


/* v1.5.12.85 — Add breathing room above and below existing Master Job dividers. */
.cps-designer-dashboard .cps-work-queue .cps-work-jobs{
  gap:34px;
}
.cps-designer-dashboard .cps-work-queue .cps-work-jobs > .cps-worker-job + .cps-worker-job{
  position:relative;
}
.cps-designer-dashboard .cps-work-queue .cps-work-jobs > .cps-worker-job + .cps-worker-job::before{
  content:"";
  position:absolute;
  top:-19px;
  left:24px;
  right:24px;
  height:2px;
  border-radius:999px;
  background:repeating-linear-gradient(90deg,#7789d6 0 13px,transparent 13px 21px);
  -webkit-mask-image:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent);
  mask-image:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent);
  pointer-events:none;
}
.cps-designer-dashboard .cps-work-queue .cps-work-jobs > .cps-worker-job + .cps-worker-job::after{
  content:"";
  position:absolute;
  top:-22px;
  left:50%;
  width:8px;
  height:8px;
  border:2px solid #fff;
  border-radius:2px;
  box-sizing:border-box;
  background:linear-gradient(135deg,#60a5fa,#8b5cf6);
  box-shadow:0 0 0 1px #9ca3e8;
  transform:translateX(-50%) rotate(45deg);
  pointer-events:none;
}


/* Designer readability — v1.5.12.85: typography only; no layout/function changes.
   Raise small captions / labels / table copy to 12–15px only in the Designer workspace. */
.cps-designer-dashboard:not(.cps-manager-designer-readonly){font-size:15px;line-height:1.55}
/* Minimum readable 12px text tier. */
.cps-designer-dashboard:not(.cps-manager-designer-readonly) .cps-job-step,
.cps-designer-dashboard:not(.cps-manager-designer-readonly) .cps-worker-gallery-uploader .cps-job-gallery-info small,
.cps-designer-dashboard:not(.cps-manager-designer-readonly) .cps-my-attendance-summary span,
.cps-designer-dashboard:not(.cps-manager-designer-readonly) .cps-my-attendance-summary small,
.cps-designer-dashboard:not(.cps-manager-designer-readonly) .cps-my-attendance-table tbody td>small,
.cps-designer-dashboard.cps-payroll-salary-panel .cps-payroll-private small,
.cps-designer-dashboard.cps-payroll-salary-panel .cps-payroll-metric small,
.cps-designer-dashboard.cps-payroll-salary-panel .cps-payroll-card-head span,
.cps-designer-dashboard.cps-payroll-salary-panel .cps-payroll-live-state,
.cps-designer-dashboard.cps-payroll-salary-panel .cps-payroll-mini-grid small,
.cps-designer-dashboard.cps-payroll-salary-panel .cps-payroll-footnote,
.cps-designer-dashboard.cps-payroll-salary-panel .cps-payroll-work-grid span,
.cps-designer-dashboard.cps-payroll-salary-panel .cps-payroll-work-grid small,
.cps-designer-dashboard.cps-payroll-salary-panel .cps-payroll-table thead th{font-size:12px;line-height:1.45;}
/* Minimum readable 13px text tier. */
.cps-designer-dashboard:not(.cps-manager-designer-readonly) .cps-workday-complete small,
.cps-designer-dashboard:not(.cps-manager-designer-readonly) .cps-work-queue-stats span,
.cps-designer-dashboard:not(.cps-manager-designer-readonly) .cps-worker-revision-alert strong,
.cps-designer-dashboard:not(.cps-manager-designer-readonly) .cps-worker-revision-alert span,
.cps-designer-dashboard:not(.cps-manager-designer-readonly) .cps-assigned-file-extension,
.cps-designer-dashboard:not(.cps-manager-designer-readonly) .cps-job-stage-security,
.cps-designer-dashboard:not(.cps-manager-designer-readonly) .cps-job-upload-zone .cps-upload-browse,
.cps-designer-dashboard:not(.cps-manager-designer-readonly) .cps-worker-gallery-uploader .cps-job-gallery-info strong,
.cps-designer-dashboard:not(.cps-manager-designer-readonly) .cps-qc-correction-note-label,
.cps-designer-dashboard:not(.cps-manager-designer-readonly) .cps-my-attendance-private,
.cps-designer-dashboard:not(.cps-manager-designer-readonly) .cps-my-attendance-table thead th,
.cps-designer-dashboard:not(.cps-manager-designer-readonly) .cps-my-attendance-table tbody td,
.cps-designer-dashboard:not(.cps-manager-designer-readonly) .cps-my-attendance-table tbody td>strong,
.cps-designer-dashboard.cps-payroll-salary-panel .cps-payroll-identity small,
.cps-designer-dashboard.cps-payroll-salary-panel .cps-payroll-private strong,
.cps-designer-dashboard.cps-payroll-salary-panel .cps-payroll-metric span,
.cps-designer-dashboard.cps-payroll-salary-panel .cps-payroll-card-head p,
.cps-designer-dashboard.cps-payroll-salary-panel .cps-payroll-progress-head,
.cps-designer-dashboard.cps-payroll-salary-panel .cps-payroll-info-list span,
.cps-designer-dashboard.cps-payroll-salary-panel .cps-payroll-info-list strong,
.cps-designer-dashboard.cps-payroll-salary-panel .cps-payroll-table tbody td,
.cps-designer-dashboard.cps-payroll-salary-panel .cps-payroll-table tbody td strong,
.cps-designer-dashboard:not(.cps-manager-designer-readonly) .cps-work-queue .cps-worker-job .cps-worker-job-code-label{font-size:13px;line-height:1.45;}
/* Minimum readable 14px text tier. */
.cps-designer-dashboard:not(.cps-manager-designer-readonly) .cps-workday-kicker,
.cps-designer-dashboard:not(.cps-manager-designer-readonly) .cps-workday-state,
.cps-designer-dashboard:not(.cps-manager-designer-readonly) .cps-workday-clock-wrap>span,
.cps-designer-dashboard:not(.cps-manager-designer-readonly) .cps-workday-progress-head span,
.cps-designer-dashboard:not(.cps-manager-designer-readonly) .cps-workday-clock-wrap small,
.cps-designer-dashboard:not(.cps-manager-designer-readonly) .cps-workday-meta,
.cps-designer-dashboard:not(.cps-manager-designer-readonly) .cps-work-start small,
.cps-designer-dashboard:not(.cps-manager-designer-readonly) .cps-work-stop small,
.cps-designer-dashboard:not(.cps-manager-designer-readonly) .cps-workday-notice,
.cps-designer-dashboard:not(.cps-manager-designer-readonly) .cps-work-queue-stats strong,
.cps-designer-dashboard:not(.cps-manager-designer-readonly) .cps-work-lock small,
.cps-designer-dashboard:not(.cps-manager-designer-readonly) .cps-status,
.cps-designer-dashboard:not(.cps-manager-designer-readonly) .cps-worker-progress span,
.cps-designer-dashboard:not(.cps-manager-designer-readonly) .cps-assigned-files-title small,
.cps-designer-dashboard:not(.cps-manager-designer-readonly) .cps-assigned-download-all small,
.cps-designer-dashboard:not(.cps-manager-designer-readonly) .cps-assigned-file-number,
.cps-designer-dashboard:not(.cps-manager-designer-readonly) .cps-assigned-file-view,
.cps-designer-dashboard:not(.cps-manager-designer-readonly) .cps-assigned-file-copy small,
.cps-designer-dashboard:not(.cps-manager-designer-readonly) .cps-assigned-file-download,
.cps-designer-dashboard:not(.cps-manager-designer-readonly) .cps-worker-batch-status span,
.cps-designer-dashboard:not(.cps-manager-designer-readonly) .cps-job-upload-meta,
.cps-designer-dashboard:not(.cps-manager-designer-readonly) .cps-job-gallery-toolbar span,
.cps-designer-dashboard:not(.cps-manager-designer-readonly) .cps-job-gallery-tools button,
.cps-designer-dashboard:not(.cps-manager-designer-readonly) .cps-job-selection-summary small,
.cps-designer-dashboard:not(.cps-manager-designer-readonly) .cps-job-gallery-info strong,
.cps-designer-dashboard:not(.cps-manager-designer-readonly) .cps-job-gallery-info small,
.cps-designer-dashboard:not(.cps-manager-designer-readonly) .cps-overview-label,
.cps-designer-dashboard:not(.cps-manager-designer-readonly) .cps-worker-section-kicker,
.cps-designer-dashboard:not(.cps-manager-designer-readonly) .cps-worker-meta-item span,
.cps-designer-dashboard:not(.cps-manager-designer-readonly) .cps-upload-progress-head,
.cps-designer-dashboard:not(.cps-manager-designer-readonly) .cps-my-attendance-head p,
.cps-designer-dashboard.cps-payroll-salary-panel .cps-payroll-hero-copy>p,
.cps-designer-dashboard.cps-payroll-salary-panel .cps-payroll-progress-head strong,
.cps-designer-dashboard:not(.cps-manager-designer-readonly) .cps-worker-gallery-uploader .cps-job-upload-meta{font-size:14px;}
/* Minimum readable 14px text tier. */
.cps-designer-dashboard:not(.cps-manager-designer-readonly) .cps-worker-batch-count,
.cps-designer-dashboard:not(.cps-manager-designer-readonly) .cps-qc-correction-note-card p,
.cps-designer-dashboard:not(.cps-manager-designer-readonly) .cps-worker-completed-form .cps-worker-batch-counter .cps-worker-count-suffix{font-size:14px!important;}
/* Minimum readable 15px text tier. */
.cps-designer-dashboard:not(.cps-manager-designer-readonly) .cps-workday-complete strong,
.cps-designer-dashboard:not(.cps-manager-designer-readonly) .cps-card-head p,
.cps-designer-dashboard:not(.cps-manager-designer-readonly) .cps-assigned-download-all strong,
.cps-designer-dashboard:not(.cps-manager-designer-readonly) .cps-assigned-file-copy strong,
.cps-designer-dashboard:not(.cps-manager-designer-readonly) .cps-job-stage-heading p,
.cps-designer-dashboard:not(.cps-manager-designer-readonly) .cps-job-upload-zone .cps-upload-copy span,
.cps-designer-dashboard:not(.cps-manager-designer-readonly) .cps-job-selection-summary strong,
.cps-designer-dashboard:not(.cps-manager-designer-readonly) .cps-worker-submit-qc,
.cps-designer-dashboard:not(.cps-manager-designer-readonly) .cps-overview-card small,
.cps-designer-dashboard.cps-payroll-salary-panel .cps-payroll-identity strong,
.cps-designer-dashboard.cps-payroll-salary-panel .cps-payroll-mini-grid strong{font-size:15px;}
/* Keep table readability while retaining horizontal scrolling for narrow screens. */
.cps-designer-dashboard:not(.cps-manager-designer-readonly) .cps-my-attendance-table tbody td,
.cps-designer-dashboard.cps-payroll-salary-panel .cps-payroll-table tbody td{line-height:1.5}
/* The standalone upload help text should not inherit the old miniature gallery size. */
.cps-designer-dashboard:not(.cps-manager-designer-readonly) .cps-job-gallery-toolbar span,
.cps-designer-dashboard:not(.cps-manager-designer-readonly) .cps-job-upload-meta{line-height:1.5}


/* v1.5.12.96 — Return unfinished Designer files to the Add Job unassigned state */
.cps-reassign-return-confirm[hidden]{display:none!important}
.cps-reassign-return-confirm{margin-top:14px;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;padding:13px 14px;border:1px solid #b9d9f8;border-radius:13px;background:linear-gradient(135deg,#f7fbff 0%,#eef7ff 100%);box-shadow:0 8px 22px rgba(30,64,175,.07)}
.cps-reassign-return-icon{width:34px;height:34px;border-radius:10px;display:grid;place-items:center;background:#e0f2fe;color:#0369a1;font-size:18px;font-weight:950;box-shadow:inset 0 0 0 1px #bae6fd}
.cps-reassign-return-copy{min-width:0}.cps-reassign-return-copy strong{display:block;color:#12304a;font-size:11px;font-weight:950}.cps-reassign-return-copy p{margin:3px 0 0;color:#52677c;font-size:9px;line-height:1.55}.cps-reassign-return-copy b{color:#075985}
.cps-reassign-return-confirm-actions{display:flex;gap:7px;align-items:center}.cps-reassign-return-confirm-actions button{white-space:nowrap;border:1px solid #cbd5e1;border-radius:9px;background:#fff;color:#475569;padding:8px 10px;font-size:9px;font-weight:900;cursor:pointer}.cps-reassign-return-confirm-actions .is-confirm{border-color:#0284c7;background:linear-gradient(135deg,#0ea5e9,#0284c7);color:#fff;box-shadow:0 6px 14px rgba(2,132,199,.18)}
.cps-reassign-actions .is-return{border:1px solid #7dd3fc;background:linear-gradient(135deg,#f0f9ff,#e0f2fe);color:#075985;box-shadow:0 6px 14px rgba(14,165,233,.08)}
.cps-reassign-actions .is-return:hover:not(:disabled){border-color:#38bdf8;background:linear-gradient(135deg,#e0f2fe,#d7effc);color:#0c4a6e}
.cps-reassign-actions .is-return:disabled{opacity:.45;cursor:not-allowed;box-shadow:none}
@media(max-width:780px){.cps-reassign-return-confirm{grid-template-columns:auto 1fr}.cps-reassign-return-confirm-actions{grid-column:1/-1;justify-content:flex-end}.cps-reassign-actions{flex-wrap:wrap}.cps-reassign-actions .is-secondary{margin-right:auto}}

/* v1.5.12.98 — QC Done Folder → QC Manager drag/drop */
[data-cps-qc-unassigned-gallery] [data-cps-dom-folder-card]{touch-action:pan-y;cursor:grab}
[data-cps-qc-unassigned-gallery] [data-cps-dom-folder-card]:active{cursor:grabbing}
[data-cps-qc-unassigned-gallery] [data-cps-dom-folder-card].is-qc-folder-drag-source{border-color:#2563eb;box-shadow:0 0 0 3px rgba(37,99,235,.13),0 18px 38px rgba(37,99,235,.16);transform:translateY(-2px) scale(.99);opacity:.84}
.cps-qc-job-board.is-dragging-folder [data-cps-qc-drop-target="1"]{border-style:solid;box-shadow:0 0 0 4px rgba(37,99,235,.09),0 14px 32px rgba(37,99,235,.09)}
.cps-qc-drag-ghost.is-folder-ghost{min-width:220px;grid-template-columns:auto minmax(0,1fr)}
.cps-qc-drag-ghost.is-folder-ghost strong{font-size:20px;background:#eff6ff;color:#1d4ed8}
.cps-qc-drag-ghost.is-folder-ghost span{max-width:190px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

/* v1.5.12.99 — uploaded folder full-name tooltip */
.cps-folder-name-tooltip{
  position:fixed;
  z-index:2147483000;
  min-width:220px;
  max-width:min(420px,calc(100vw - 20px));
  padding:11px 13px 10px;
  box-sizing:border-box;
  border:1px solid rgba(255,255,255,.13);
  border-radius:13px;
  background:rgba(15,23,42,.98);
  color:#f8fafc;
  box-shadow:0 18px 42px rgba(15,23,42,.28),0 4px 12px rgba(15,23,42,.2);
  opacity:0;
  visibility:hidden;
  transform:translateY(4px) scale(.985);
  transform-origin:center;
  pointer-events:none;
  transition:opacity .14s ease,transform .14s ease,visibility .14s ease;
  font-family:inherit;
  text-align:left;
  cursor:pointer;
  -webkit-font-smoothing:antialiased;
}
.cps-folder-name-tooltip.is-visible{
  opacity:1;
  visibility:visible;
  transform:translateY(0) scale(1);
  pointer-events:auto;
}
.cps-folder-name-tooltip::after{
  content:"";
  position:absolute;
  width:9px;
  height:9px;
  background:rgba(15,23,42,.98);
  transform:rotate(45deg);
}
.cps-folder-name-tooltip[data-placement="top"]::after{
  left:50%;
  bottom:-5px;
  margin-left:-4px;
  border-right:1px solid rgba(255,255,255,.13);
  border-bottom:1px solid rgba(255,255,255,.13);
}
.cps-folder-name-tooltip[data-placement="bottom"]::after{
  left:50%;
  top:-5px;
  margin-left:-4px;
  border-left:1px solid rgba(255,255,255,.13);
  border-top:1px solid rgba(255,255,255,.13);
}
.cps-folder-name-tooltip-kicker{
  display:block;
  margin:0 0 3px;
  color:#94a3b8;
  font-size:10px;
  font-weight:800;
  line-height:1.25;
  letter-spacing:.09em;
  text-transform:uppercase;
}
.cps-folder-name-tooltip-value{
  display:block;
  max-width:100%;
  color:#fff;
  font-size:13px;
  font-weight:750;
  line-height:1.42;
  overflow-wrap:anywhere;
  word-break:break-word;
}
.cps-folder-name-tooltip-action{
  display:inline-flex;
  align-items:center;
  gap:7px;
  margin-top:8px;
  padding:5px 8px;
  border:1px solid rgba(148,163,184,.22);
  border-radius:8px;
  background:rgba(255,255,255,.06);
  color:#cbd5e1;
  font-size:10.5px;
  font-weight:700;
  line-height:1.2;
  transition:background .14s ease,border-color .14s ease,color .14s ease;
}
.cps-folder-name-tooltip-copy-icon{
  position:relative;
  width:11px;
  height:11px;
  flex:0 0 11px;
}
.cps-folder-name-tooltip-copy-icon::before,
.cps-folder-name-tooltip-copy-icon::after{
  content:"";
  position:absolute;
  width:7px;
  height:7px;
  border:1.4px solid currentColor;
  border-radius:2px;
  box-sizing:border-box;
}
.cps-folder-name-tooltip-copy-icon::before{left:0;top:3px;}
.cps-folder-name-tooltip-copy-icon::after{left:3px;top:0;background:rgba(15,23,42,.98);}
.cps-folder-name-tooltip:hover .cps-folder-name-tooltip-action,
.cps-folder-name-tooltip:focus .cps-folder-name-tooltip-action{
  border-color:rgba(191,219,254,.38);
  background:rgba(59,130,246,.16);
  color:#dbeafe;
}
.cps-folder-name-tooltip.is-copied .cps-folder-name-tooltip-action{
  border-color:rgba(134,239,172,.35);
  background:rgba(34,197,94,.15);
  color:#dcfce7;
}
@media (prefers-reduced-motion:reduce){
  .cps-folder-name-tooltip,.cps-folder-name-tooltip-action{transition:none!important;}
}
