.qc-shell{--qc-ink:#14102e;--qc-accent:#7a35d8;--qc-line:#e3def6;max-width:1248px;margin:0 auto;padding:clamp(20px,4.5vw,64px) clamp(16px,4vw,46px);color:var(--qc-ink);font-family:Inter,Arial,sans-serif}
.qc-shell *{box-sizing:border-box}.qc-shell h1,.qc-shell h2,.qc-shell h3,.qc-shell p{color:inherit}.qc-heading,.qc-card-top,.qc-actions,.qc-pager,.qc-hero{display:flex;align-items:center;justify-content:space-between;gap:18px}.qc-heading h1,.qc-panel>h1{font-size:clamp(32px,4vw,58px);line-height:1.04;letter-spacing:-.05em;margin:7px 0 20px}.qc-kicker,.qc-card-top{font-size:.74rem;text-transform:uppercase;font-weight:750;letter-spacing:.11em}.qc-shell .qc-btn,.qc-shell button{display:inline-flex;justify-content:center;align-items:center;border:0;background:#b43cd5 linear-gradient(100deg,#b43cd5,#8d46e7 48%,#685bf3);color:white;border-radius:9px;padding:12px 18px;font:inherit;font-size:.9rem;font-weight:650;cursor:pointer;text-decoration:none}.qc-shell button:hover,.qc-shell .qc-btn:hover{background:#c2157a linear-gradient(100deg,#c2157a,#b43cd5 48%,#8d46e7);color:#fff}.qc-shell button.qc-secondary{background:#f1edff;color:#14102e}.qc-grid,.qc-fields,.qc-metrics{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:15px}.qc-card,.qc-panel,.qc-metric,.qc-search{border:1px solid var(--qc-line);background:#fff;border-radius:17px}.qc-shell .qc-card{display:flex;flex-direction:column;padding:21px;text-decoration:none;color:inherit;transition:transform .2s,border-color .2s}.qc-shell .qc-card:hover{transform:translateY(-2px);border-color:#8d46e7}.qc-card h2{font-size:1.25rem;margin:22px 0 4px}.qc-card p,.qc-card small,.qc-metric span,.qc-pairs dt{color:#565079}.qc-card progress{width:100%;height:8px;appearance:none;border:0;border-radius:4px;overflow:hidden;background:#eeeafb;margin:18px 0 0}.qc-card progress::-webkit-progress-bar{background:#eeeafb}.qc-card progress::-webkit-progress-value{background:linear-gradient(90deg,#f840a4,#685bf3,#03d1f8)}.qc-card progress::-moz-progress-bar{background:linear-gradient(90deg,#f840a4,#685bf3,#03d1f8)}.qc-card p{font-size:.82rem;margin-bottom:0}.qc-status{background:#e6f9fe;color:#0a5aa8;border-radius:20px;padding:5px 10px;font-size:.72rem;letter-spacing:0;text-transform:none}.qc-shell label{display:flex;flex-direction:column;align-items:stretch;gap:6px;font-size:.85rem;font-weight:650;margin:0}.qc-shell input,.qc-shell select{width:100%;border:1px solid #baccd0;border-radius:7px;background:white;color:#14102e;padding:10px;font:inherit}.qc-search{display:flex;gap:12px;align-items:end;padding:17px;margin:12px 0 20px}.qc-search label:first-child{flex:1}.qc-pager{justify-content:center;padding:22px}.qc-hero{background:#14102e;color:#f7f4ff;border-radius:23px;padding:clamp(24px,5vw,56px);margin:15px 0}.qc-hero h1{font-size:clamp(32px,4vw,58px);line-height:1.03;letter-spacing:-.055em;margin:15px 0 23px;overflow-wrap:anywhere}.qc-hero .qc-kicker{color:#5fe3ff}.qc-score{display:grid;align-content:center;justify-items:center;flex-shrink:0;width:128px;height:128px;border:5px solid #03d1f8;border-radius:50%;text-align:center}.qc-score strong{font-size:1.9rem}.qc-score span{font-size:.72rem}.qc-panel,.qc-metric{padding:clamp(16px,3vw,30px);margin:14px 0}.qc-metrics{margin:8px 0}.qc-metric{margin:0}.qc-metric span,.qc-metric strong{display:block}.qc-metric strong{font-size:clamp(21px,2.5vw,34px);letter-spacing:-.03em}.qc-panel h2{margin-top:0;font-size:1.45rem}.qc-panel details{margin:14px 0}.qc-panel summary{font-weight:650;cursor:pointer}.qc-pairs{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,180px),1fr));gap:14px}.qc-pairs dd{margin:5px 0 0;font-weight:650}.qc-shell table{border-collapse:collapse;width:100%;font-size:.92rem}.qc-shell th,.qc-shell td{text-align:left;border-bottom:1px solid var(--qc-line);padding:8px;overflow-wrap:anywhere}.qc-shell h2,.qc-shell h3,.qc-shell .qc-url,.qc-shell li{overflow-wrap:anywhere}.qc-shell .qc-back,.qc-pager a{color:#7a35d8}.qc-video{display:grid;grid-template-columns:1fr 1fr;gap:22px;margin:18px 0}.qc-player{width:100%;aspect-ratio:16/9;border:0;border-radius:12px;background:#0b0919}.qc-panel form{display:grid;gap:15px}.qc-panel fieldset{border:1px solid var(--qc-line);min-width:0;border-radius:10px;margin:10px 0;padding:12px;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,175px),1fr));gap:10px}.qc-panel form button{justify-self:start}.qc-actions{justify-content:flex-start;flex-wrap:wrap}.qc-notice{padding:14px;background:#fff6de;color:#523d12;border-radius:9px}.qc-shell a:focus-visible,.qc-shell button:focus-visible,.qc-shell input:focus-visible{outline:3px solid #685bf3;outline-offset:2px}@media(max-width:700px){.qc-search,.qc-hero{align-items:stretch;flex-direction:column}.qc-video{grid-template-columns:1fr}.qc-score{width:100px;height:100px}.qc-heading{align-items:flex-start}.qc-actions{align-items:stretch}}
.cap-shell textarea{width:100%;font:inherit;color:inherit;border:1px solid #baccd0;border-radius:7px;background:white;padding:11px;resize:vertical}.cap-player{position:relative;max-width:880px;margin:14px auto}.cap-player video{max-height:55vh}.cap-player output{position:absolute;bottom:15%;left:50%;transform:translateX(-50%);white-space:pre-line;text-align:center;color:white;font-weight:700;background:rgba(0,0,0,.75);padding:3px 10px;line-height:1.3;max-width:88%;pointer-events:none}.cap-player output:empty{display:none}.cap-shell [hidden]{display:none!important}.cap-shell .cap-cue-actions button{font-size:.8rem}.cap-shell #cap-source{font-family:monospace;margin-top:8px;line-height:1.5}.cap-shell #cap-cues fieldset{align-items:end}.cap-shell .qc-panel input[type=checkbox],.qc-panel input[type=checkbox]{width:auto;align-self:start}

/* 1.0.0-rc2: payment labels, invoice, sharing and report additions. */
.qc-paid{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin-top:10px}.qc-paid strong{font-size:1rem;color:#14102e}
.qc-paid-note{font-size:.88rem;color:#565079;margin:8px 0 0}.qc-paid-note a{color:#7a35d8;font-weight:650}
.qc-shell .qc-back{display:inline-flex;align-items:center;min-height:44px;font-weight:650;text-decoration:none}.qc-shell .qc-back:hover{text-decoration:underline}
.qc-share{margin-top:18px;padding-top:16px;border-top:1px solid var(--qc-line);display:grid;gap:10px}.qc-share h3{margin:0}.qc-share p{margin:0;color:#565079;font-size:.92rem}
.qc-panel form.qc-inline{display:flex;flex-wrap:wrap;gap:10px}
.qc-shell label.qc-check{flex-direction:row;align-items:flex-start;gap:9px;font-weight:550}.qc-shell label.qc-check input{width:auto;margin-top:3px}
.qc-missing{display:grid;place-content:center;gap:4px;padding:18px;border:2px dashed #bfb9c9;border-radius:12px;background:#faf9ff;color:#3b3560;text-align:center;aspect-ratio:16/9}
.qc-missing p{margin:0;font-size:.92rem}.qc-missing code{font-size:.85em;overflow-wrap:anywhere}
.qc-stats summary{min-height:36px;display:flex;align-items:center}
.qc-invoice-actions{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin:6px 0 14px}
.qc-invoice{max-width:820px;margin:0 auto;background:#fff;border:1px solid var(--qc-line);border-radius:18px;overflow:hidden;color:#14102e}
.qc-invoice-head{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;flex-wrap:wrap;padding:clamp(20px,4vw,40px);background:#f6f3ff;border-bottom:1px solid var(--qc-line)}
.qc-invoice-head h1{font-size:clamp(1.9rem,4vw,2.8rem);letter-spacing:-.04em;margin:14px 0 2px}.qc-invoice-head p{margin:0;color:#565079}
.qc-invoice-state{display:grid;gap:8px;justify-items:end}.qc-invoice-paid{display:inline-block;padding:6px 16px;border:2px solid #0a5aa8;border-radius:8px;color:#0a5aa8;font-weight:800;letter-spacing:.06em}
.qc-invoice-body{padding:clamp(20px,4vw,40px);display:grid;gap:22px}
.qc-invoice-meta{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,200px),1fr));gap:16px}.qc-invoice-meta span,.qc-invoice-line span,.qc-invoice-total span{display:block;font-size:.8rem;color:#565079}
.qc-invoice-meta strong{display:block;overflow-wrap:anywhere}
.qc-invoice-line{display:flex;justify-content:space-between;gap:18px;align-items:flex-start;padding:18px 0;border-block:1px solid var(--qc-line)}.qc-invoice-line h2{font-size:1.15rem;margin:2px 0}.qc-invoice-line b{font-size:1.15rem;white-space:nowrap}
.qc-invoice-total{display:flex;justify-content:space-between;align-items:baseline;gap:18px}.qc-invoice-total strong{font-size:clamp(1.6rem,3.4vw,2.3rem);letter-spacing:-.03em}
.qc-invoice-note{font-size:.86rem;color:#565079;margin:0}
.qt-report{max-width:880px;margin:3rem auto;padding:0 24px;min-height:45vh;color:#12141a}
.qt-report h1{font-size:clamp(2.1rem,6vw,3.6rem);line-height:1.06;letter-spacing:-.05em;margin:.2em 0 .3em}.qt-report h2{font-size:1.2rem;margin:1.8em 0 .5em}
.qt-total{font-size:1.15rem;color:#585e6d}.qt-total strong{font-size:clamp(2rem,6vw,3.2rem);letter-spacing:-.04em;color:#12141a;font-variant-numeric:tabular-nums;margin-right:.2em}
.qt-preview{padding:12px 16px;border-radius:12px;background:#fff6de;color:#523d12}
.qt-scroll{overflow-x:auto;border:1px solid #d9dce4;border-radius:14px;background:#fff}.qt-scroll table{border-collapse:collapse;width:100%}.qt-scroll th,.qt-scroll td{text-align:left;padding:10px 14px;border-bottom:1px solid #e6e8ee}.qt-scroll td:last-child,.qt-scroll th:last-child{text-align:right;font-variant-numeric:tabular-nums}.qt-scroll tr:last-child td{border-bottom:0}
@media(max-width:700px){.qc-invoice-state{justify-items:start}.qc-invoice-line{flex-direction:column}}
@media print{
  .qs-head,.qs-footer,.qs-skip,.qc-invoice-actions,.qc-shell>.qx-view,.qc-shell>.qc-back,.qc-notice{display:none!important}
  body{background:#fff}.qc-shell{padding:0;max-width:none}.qc-invoice{border:0;border-radius:0;max-width:none}.qc-invoice-head{background:#fff}
  .qc-invoice,.qc-invoice-line{break-inside:avoid}
}
.qc-heading{flex-wrap:wrap}.qc-heading h1{overflow-wrap:anywhere}
.qc-metric .qp-chip{display:inline-block;margin-top:6px}
@media(max-width:700px){.qc-score strong{font-size:1.4rem}.qc-score span{font-size:.62rem;padding:0 10px;line-height:1.2}}
.qc-copy{display:flex;gap:10px;align-items:flex-end;flex-wrap:wrap}.qc-copy label{flex:1 1 240px}.qc-copy button{min-height:42px}
.qc-denied{max-width:720px;margin:6vh auto}.qc-denied h1{font-size:clamp(1.7rem,4vw,2.6rem);letter-spacing:-.04em;line-height:1.1;margin:0 0 12px}
/* 1.0.0-rc3: the owner's two shortcuts on the campaign dashboard sit apart. */
.qc-ownerlinks{display:flex;flex-wrap:wrap;gap:6px 22px;margin:0 0 14px}

/* 1.0.0-rc6: unpaid orders on the customer dashboard. */
.qc-unfinished ul{list-style:none;margin:10px 0 0;padding:0}
.qc-unfinished li{display:flex;flex-wrap:wrap;align-items:center;gap:6px 14px;padding:12px 0;border-top:1px solid #e6e3ef}
.qc-unfinished li strong{overflow-wrap:anywhere}
.qc-unfinished li span{color:#5f6877}
.qc-unfinished li a{margin-left:auto}
