/* written by landing_page.py for cycleqc from landing-cqc.css */
/* CycleQC ship page: the wow "the frame that tells the truth" (loaded after landing.css, only on this page).
   Beats on the drawing (data-beat): 1 a sample app and the AI that built it saying "done" · 2 four red corner marks frame the parts
   that were checked, each part says what was found; the part outside is hatched "cannot check" · 3 everything becomes a one-page
   report with a fix order for your AI. Red is only the corner marks (owner rule); no ticks, no green, no "ผ่าน" (product rule). */
.qc-stage{display:block;width:100%;height:auto;overflow:visible;font-family:var(--th)}
.qc-stage text{stroke:none}
.qc-win{fill:#F4F2EF}
.qc-win-t{fill:#58524C;font:500 15px var(--th)}
.qc-win-line{stroke:#D9D2C8;stroke-width:1}
.qc-sec-bg,.qc-row-bg{fill:#E9E4DC}
.qc-sec-t{fill:#22201F;font:500 16px var(--th)}
.qc-row-t{fill:#22201F;font:500 14.5px var(--th)}
.qc-num{fill:#22201F;font:600 15px var(--th)}
.qc-wire{fill:#CFC8BE}
.qc-hatch-bg{fill:#E9E4DC}
.qc-hatch-ln{stroke:#22201F;stroke-width:1.6;opacity:.55}
.qc-hatch{fill:url(#qc-hatch);opacity:0;transition:opacity .8s var(--jg-ease) .5s}
.qc-chip rect{fill:#F4F2EF;stroke:#22201F;stroke-width:1}
.qc-chip text{fill:#22201F;font:500 14px var(--th);text-anchor:middle}
.qc-chip-risk rect{fill:#22201F}
.qc-chip-risk text{fill:#F4F2EF}
.qc-chip-out rect{stroke-dasharray:4 3}
.qc-chip{opacity:0;transition:opacity .6s var(--jg-ease) calc(.35s + var(--i) * 180ms)}
.qc-sec{--i:0}
.qc-corner{fill:none;stroke:var(--red);stroke-width:4;stroke-linecap:round;stroke-linejoin:round}
.qc-frame{transform-box:fill-box;transform-origin:center;opacity:0;transform:scale(1.06);transition:opacity .6s var(--jg-ease),transform var(--jg-dur) var(--jg-ease)}
.qc-bub{fill:#F4F2EF}
.qc-bub-who{fill:#58524C;font:500 14px var(--th)}
.qc-bub-t{fill:#22201F;font:600 16px var(--th)}
.qc-app{transform-box:fill-box;transform-origin:left center;transition:transform var(--jg-dur) var(--jg-ease),opacity var(--jg-dur) var(--jg-ease)}
.qc-paper{fill:#F4F2EF}
.qc-rep-t{fill:#22201F;font:500 19px var(--th)}
.qc-fix{fill:#E6E0D7}
.qc-fix-t{fill:#22201F;font:500 15px var(--th)}
.qc-btn{fill:#22201F}
.qc-btn-t{fill:#F4F2EF;font:500 14px var(--th);text-anchor:middle}
.qc-report{transform-box:fill-box;transform-origin:left center;opacity:0;transform:translateX(-40px) scale(.96);transition:opacity var(--jg-dur) var(--jg-ease),transform var(--jg-dur) var(--jg-ease)}
.qc-report .qc-hatch{opacity:1}
.qc-src,.qc-report{filter:drop-shadow(0 10px 18px rgba(0,0,0,.45))}
.qc-win{filter:drop-shadow(0 10px 18px rgba(0,0,0,.45))}

/* 2: the checked parts are framed and say what was found; the part outside is hatched */
[data-beat="2"] .qc-frame,[data-beat="3"] .qc-frame{opacity:1;transform:none}
[data-beat="2"] .qc-chip,[data-beat="3"] .qc-chip,[data-beat="2"] .qc-hatch,[data-beat="3"] .qc-hatch{opacity:1}
/* 3: one page you can act on; the "done" bubble steps back */
[data-beat="3"] .qc-report{opacity:1;transform:none}
[data-beat="3"] .qc-app{transform:scale(.8);opacity:.35}

/* the key under the drawing stays on screen the whole time (Grok r1: the meaning lives in words) */
.qc-legend{display:flex;flex-wrap:wrap;gap:8px 24px;margin:16px 0 0;padding:0;list-style:none}
.qc-legend li{display:inline-flex;align-items:center;gap:10px;font:500 15px/1.4 var(--th);color:#fff}
.qc-key{display:inline-block;width:22px;height:16px;flex:none}
.qc-key-in{background:
  linear-gradient(var(--red),var(--red)) 0 0/7px 2.5px no-repeat,linear-gradient(var(--red),var(--red)) 0 0/2.5px 7px no-repeat,
  linear-gradient(var(--red),var(--red)) 100% 0/7px 2.5px no-repeat,linear-gradient(var(--red),var(--red)) 100% 0/2.5px 7px no-repeat,
  linear-gradient(var(--red),var(--red)) 0 100%/7px 2.5px no-repeat,linear-gradient(var(--red),var(--red)) 0 100%/2.5px 7px no-repeat,
  linear-gradient(var(--red),var(--red)) 100% 100%/7px 2.5px no-repeat,linear-gradient(var(--red),var(--red)) 100% 100%/2.5px 7px no-repeat}
.qc-key-out{background:repeating-linear-gradient(45deg,#F4F2EF 0 2px,transparent 2px 6px);outline:1px dashed rgba(255,255,255,.6)}

/* pinned: the drawing takes two thirds of the box; the peak is one big line */
.jg5 .qc-deep.pin .jg-deep-in{grid-template-columns:minmax(0,4fr) minmax(0,8fr)}
.jg5 .qc-deep.pin .qc-stage{max-height:min(600px,calc(100vh - var(--hh) - 190px))}
.qc-peak-t{font:400 clamp(28px,2.7vw,40px)/1.35 var(--th);color:#fff;text-wrap:balance}
.qc-pl{display:block}
.qc-deep:not(.pin) .qc-peak{margin-top:28px}
.qc-deep:not(.pin) .jg-bridge{font-size:clamp(22px,2vw,28px);font-weight:500}
.jg5 .qc-deep .jg-h2b{font-size:clamp(28px,2.6vw,38px)}

/* stills (phones, touch screens, reduced motion): three frozen beats with words */
.qc-frames{display:grid;grid-template-columns:minmax(0,1fr);gap:16px;max-width:620px;margin:24px 0}
.qc-frame-f{margin:0;padding:12px 12px 14px;background:rgba(255,255,255,.05)}
.qc-frame-f svg{display:block;width:100%;height:auto}
.qc-frame-f figcaption{margin-top:10px;font:400 16px/1.5 var(--th);color:#fff}
.qc-still *{transition:none !important}
@media (max-width:599px){.qc-pl{white-space:normal}}
@media (prefers-reduced-motion:reduce){.qc-stage *{transition:none !important}}
/* roles: three equal tabs */
.jg5 .jg-tabs{grid-template-columns:repeat(3,minmax(0,1fr))}
@media (max-width:599px){.jg5 .jg-tabs{column-gap:16px}.jg5 .jg-tab{font-size:14.5px;line-height:1.3}}
/* phones: the three days keep their words (short texts; the follow button stays in the first screen) */
@media (max-width:599px){.jg5 .jg-day:not(:last-child) .jg-day-t{display:inline}}

/* stills are cropped views: nothing outside the crop may show */
svg.qc-still{overflow:hidden}

/* round 2 (critic CQC r1): faint real-looking content instead of grey bars; the report lists what to fix first */
.qc-field{fill:#F4F2EF;stroke:#CFC8BE;stroke-width:1}
.qc-ph{fill:#7A736B;font:400 13px var(--th)}
.qc-ph-dark{fill:#3A3632}
.qc-sbtn{fill:#CFC8BE}
.qc-sbtn-t{fill:#3A3632;font:500 12.5px var(--th);text-anchor:middle}
.qc-label-bg{fill:#F4F2EF}
.qc-fix-l{fill:#3A3632;font:400 14px var(--th)}
.qc-legend .qc-sim{color:var(--mist);font-weight:400}
/* problems: three groups sit in three columns on wide screens */
@media (min-width:1101px){.jg5 .jg-cols{grid-template-columns:repeat(3,minmax(0,1fr));gap:40px 36px}}
/* reduced motion and stills: one heading size per role */
.qc-deep:not(.pin) .jg-a h2{font-size:clamp(32px,3vw,44px)}
.qc-deep:not(.pin) .jg-bridge{font-size:24px;font-weight:400}
.jg5 .qc-deep:not(.pin) .jg-h2b{font-size:clamp(26px,2.4vw,32px)}
/* stills: bigger words inside the drawing */
.qc-still .qc-chip text{font-size:17px}
.qc-still .qc-sec-t{font-size:18px}
.qc-still .qc-ph{font-size:15px}
.qc-still .qc-row-t{font-size:16px}

/* round 3 (critic CQC r2) */
.jg5 .qc-deep.pin .jg-bridge{font-size:30px}
.qc-still .qc-report .qc-chip text{font-size:15px}
.qc-deep:not(.pin) .jg-deep-in::before{display:none}
