/* QURI SPECIMEN LAB v3 · only local WebP sprite atlases, no fonts/CDNs */
:root {--v3-ink:#173d37;--v3-turquoise:#30a993;--v3-light:#eaf8f1;--v3-line:#c9e3d5;--v3-orange:#ee9868;--v3-red:#b54f3c}
.edition-badge{background:#dcfae9!important;color:#14624d!important;border:1px solid #9fd4bc;font-weight:900!important;letter-spacing:.7px!important}
.hero-sprite{display:block;background-image:url('../assets/inspector-hero-4frames.webp');background-repeat:no-repeat;background-size:200% 200%;background-position:0 0;flex-shrink:0;image-rendering:auto;will-change:transform;filter:drop-shadow(0 14px 16px #30594c24)}
.pose-welcome{background-position:0 0}.pose-suspect{background-position:100% 0}.pose-clear{background-position:0 100%}.pose-unknown{background-position:100% 100%}
.stage-dialogue{position:relative;margin:17px 0 0;max-width:390px;padding:12px 17px 13px 19px;background:#ffffffef;border:1px solid #c7e4d6;border-radius:17px 17px 17px 5px;box-shadow:0 9px 28px #234b3720;display:flex;flex-direction:column;gap:5px;isolation:isolate;animation:quri-slide-in .35s ease both}
.stage-dialogue:before{content:'';position:absolute;left:14px;bottom:-7px;width:13px;height:13px;background:#fff;border-left:1px solid #c7e4d6;border-bottom:1px solid #c7e4d6;transform:rotate(-45deg);z-index:-1}
.dialogue-name,.verdict-eyebrow{display:flex;align-items:center;gap:7px;font-size:10px;letter-spacing:1px;font-weight:850;color:#397a61}
.talk-dot,.pulse-tiny{display:inline-block;width:8px;height:8px;border-radius:50%;background:#37c699;box-shadow:0 0 0 4px #55eeb528}
.stage-dialogue strong{color:#214d40;font-size:17px;line-height:1.38;letter-spacing:-.3px;overflow-wrap:break-word}
.stage-dialogue>span:last-child{color:#5c7162;font-size:12px;line-height:1.55;overflow-wrap:break-word}
.inspection-stage{min-height:450px}
.stage-copy{width:53%;padding-bottom:89px}
.stage-copy h2{font-size:clamp(24px,2.5vw,37px)}
.stage-meta{margin-top:12px}
.inspection-stage .inspector{width:300px;height:300px;left:47%;bottom:7px;filter:drop-shadow(0 17px 13px #223b3829)}
.inspector-effect{left:74%;width:128px;height:128px;bottom:192px}
.journey-progress{margin:20px 0 19px;background:linear-gradient(115deg,#f5fcf7,#eff8f3);border:1px solid #d9eade;border-radius:16px;display:flex;gap:9px;align-items:center;padding:15px 22px;box-shadow:0 4px 16px #234e3b08}
.journey-item{flex:1;min-width:0;display:grid;grid-template-columns:32px 1fr;column-gap:8px;align-items:center;opacity:.54;transition:opacity .22s, transform .22s}
.journey-item>span{grid-row:1/3;display:grid;place-items:center;border-radius:11px;width:32px;height:34px;background:#d7ebe0;color:#36644f;font-size:12px;font-weight:850}
.journey-item strong{font-size:13px;color:#204b3d;white-space:normal}.journey-item small{font-size:11px;color:#61776a;margin-top:2px}
.journey-item.current,.journey-item.complete{opacity:1}.journey-item.current>span{background:#228069;color:white;box-shadow:0 4px 13px #378a695a}.journey-item.complete>span{background:#d0f1db;color:#15725a}
.journey-line{height:1px;background:#c1d7c7;width:30px;flex-shrink:1}
.intake-card{overflow:hidden}
.drop-zone{display:grid!important;grid-template-columns:minmax(165px,44%) minmax(0,1fr);gap:8px;align-items:center;min-height:275px!important;padding:13px 17px 12px 7px!important;text-align:left!important;position:relative;isolation:isolate;background:radial-gradient(circle at 18% 42%,#d4f7e3 0,transparent 54%),linear-gradient(122deg,#f7fef9 7%,#ecf7ef 92%)!important;border:2px dashed #9ccdb6!important;border-radius:22px!important;overflow:hidden;transition:background .25s,box-shadow .25s,transform .25s,border-color .25s}
.drop-zone:hover,.drop-zone:focus-visible,.drop-zone.drag-over{border-color:#38a887!important;box-shadow:0 9px 34px #1e946b1b!important;background:radial-gradient(circle at 18% 42%,#bef7d2 0,transparent 55%),linear-gradient(122deg,#effff6,#ecfff1)!important;outline:3px solid transparent}
.drop-zone.drag-over{transform:scale(1.009)}
.upload-robot-wrap{width:100%;min-height:245px;display:flex;align-items:center;justify-content:center;position:relative;z-index:2;pointer-events:none}
.upload-robot{width:min(100%,265px);aspect-ratio:1;animation:quri-hover 3.1s ease-in-out infinite}
.robot-floor{position:absolute;bottom:1px;left:24%;width:52%;height:15px;background:#22584d24;filter:blur(10px);border-radius:50%;z-index:-1}
.drop-zone.drag-over .upload-robot,.drop-zone:hover .upload-robot{animation:quri-hey .85s ease-in-out infinite alternate}
.upload-instructions{display:flex;flex-direction:column;gap:12px;position:relative;z-index:3;min-width:0}
.upload-kicker{font-size:10px;letter-spacing:1.2px;color:#34816a;font-weight:900;display:flex;align-items:center;gap:9px}
.upload-headline{font-size:clamp(19px,1.6vw,25px)!important;line-height:1.39;letter-spacing:-.6px;color:#205246!important;font-weight:850;word-break:keep-all;overflow-wrap:break-word}
.upload-subtitle{font-size:13px;line-height:1.55;color:#53786a;word-break:keep-all}
.upload-cta{display:flex;align-items:center;flex-wrap:wrap;gap:7px;background:#216f5b;color:white;font-weight:750;font-size:13px;padding:12px 14px;border-radius:12px;box-shadow:0 5px 13px #2b73552c;width:fit-content;line-height:1.35}
.upload-cta svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round}.upload-cta span{font-size:10px;font-weight:500;color:#d8f4e7;white-space:normal}
.drop-zone .format-badges{justify-content:flex-start!important;flex-wrap:wrap;gap:5px}.drop-zone .format-badges b{background:white;color:#376452;border-color:#cee6d7}.drop-zone .format-badges i{font-size:10px;color:#557365}
.intake-coach{display:flex;align-items:flex-start;gap:9px;padding:12px 14px;margin:13px 0 14px;background:#f5f9ef;border:1px solid #dfebd6;border-radius:12px;color:#4e6656;font-size:12px;line-height:1.6}
.intake-coach strong{color:#32715c;white-space:nowrap}.intake-coach>span:last-child{flex:1}.coach-star{display:block;width:8px;height:8px;background:#30bb90;border-radius:50%;margin-top:6px;box-shadow:0 0 0 4px #5bdcb526}
.intake-card:has(.drop-zone.drag-over) .intake-coach{background:#e1f9eb;border-color:#6cc99e}
.results-section{position:relative}
.verdict-hero{display:grid;grid-template-columns:minmax(270px,37%) minmax(0,1fr);align-items:center;gap:5px;margin:18px 0 22px;min-height:340px;border-radius:25px;border:1px solid #c9dcd1;background:radial-gradient(circle at 19% 44%,#c2f3dc 0,transparent 39%),linear-gradient(115deg,#effaf3,#f8fdf9 75%);overflow:hidden;position:relative;box-shadow:0 11px 34px #224c3b0b}
.verdict-hero[data-level='high']{border-color:#edc7b2;background:radial-gradient(circle at 18% 38%,#ffd5bc 0,transparent 42%),linear-gradient(115deg,#fff1e9,#fffcf7 82%)}
.verdict-hero[data-level='moderate']{border-color:#e5d3ae;background:radial-gradient(circle at 18% 38%,#fff1c3 0,transparent 42%),linear-gradient(115deg,#fff9e9,#fffdf7 82%)}
.verdict-hero[data-level='insufficient']{border-color:#dfd5c7;background:radial-gradient(circle at 18% 38%,#f9e1bf 0,transparent 42%),linear-gradient(115deg,#fff8ed,#faf8f4 82%)}
.verdict-art{min-height:330px;display:flex;align-items:center;justify-content:center;position:relative;isolation:isolate}
.verdict-robot{width:min(100%,350px);aspect-ratio:1;position:relative;z-index:2;animation:quri-hero-sway 4.1s ease-in-out infinite;transition:filter .22s}
.verdict-halo{position:absolute;bottom:22px;width:52%;height:24px;border-radius:50%;background:#3d6b5936;filter:blur(16px);z-index:-1}
.verdict-spark{position:absolute;width:11px;height:11px;border-radius:50%;background:#4fd5aa;box-shadow:0 0 0 7px #4fd5aa1c;animation:quri-twinkle 3s infinite;z-index:1}
.spark-a{top:18%;left:18%}.spark-b{bottom:26%;right:16%;animation-delay:1.2s}
.verdict-hero[data-level='high'] .verdict-spark{background:#ee785c;box-shadow:0 0 0 7px #ee785c1c}
.verdict-hero[data-level='insufficient'] .verdict-spark,.verdict-hero[data-level='moderate'] .verdict-spark{background:#efb75e;box-shadow:0 0 0 7px #efb75e1c}
.verdict-copy{padding:28px clamp(20px,3vw,46px) 30px 0;position:relative;z-index:2}
.verdict-eyebrow{font-size:11px;letter-spacing:1.6px}.verdict-hero[data-level='high'] .verdict-eyebrow{color:#a84f3a}
.verdict-copy h3{font-size:clamp(25px,3.05vw,44px);font-weight:850;color:#225444;line-height:1.29;letter-spacing:-1.1px;margin:15px 0 12px;word-break:keep-all;overflow-wrap:break-word}
.verdict-hero[data-level='high'] h3{color:#a44230}.verdict-hero[data-level='insufficient'] h3{color:#805a32}.verdict-hero[data-level='moderate'] h3{color:#946424}
.verdict-copy p{font-size:15px;line-height:1.8;color:#576b5c;max-width:540px;margin:0 0 18px;word-break:keep-all}
.verdict-label-row{display:flex;gap:11px;flex-wrap:wrap;align-items:center;margin-bottom:21px;font-size:12px;color:#6b766a}
.verdict-level{border:1px solid #a8d9c0;border-radius:100px;padding:6px 13px;color:#246b54;background:#e2f5e8;font-weight:800}
[data-level='high'] .verdict-level{border-color:#e5a992;background:#ffe8df;color:#ad563d}
[data-level='moderate'] .verdict-level,[data-level='insufficient'] .verdict-level{border-color:#e4cb95;background:#fff1d4;color:#906627}
.verdict-actions{display:flex;flex-wrap:wrap;gap:10px}.verdict-actions .button{font-size:13px;min-height:43px}
.verdict-hero:has(.verdict-actions button:hover) .verdict-robot{filter:drop-shadow(0 16px 18px #22594330)}
.result-overview{margin-top:8px}
.quri-assistant{position:fixed;bottom:20px;right:24px;z-index:120;width:min(374px,calc(100vw - 40px));display:flex;align-items:flex-end;flex-direction:column;gap:10px;pointer-events:none}
.quri-assistant>*{pointer-events:auto}
.quri-toggle{border:1px solid #bee4d3;border-radius:22px;background:linear-gradient(128deg,#fff,#e5f8ed);box-shadow:0 10px 39px #113b3050;padding:5px 14px 5px 7px;display:flex;align-items:center;gap:9px;min-height:72px;width:100%;text-align:left;cursor:pointer;color:#1b5543;transition:transform .18s,box-shadow .18s}
.quri-toggle:hover,.quri-toggle:focus-visible{transform:translateY(-2px);box-shadow:0 16px 43px #134e3459}
.mini-robot{width:59px;height:59px;flex-shrink:0;filter:none;animation:quri-hover 3.4s infinite}
.quri-toggle-copy{min-width:0;flex:1;display:flex;gap:4px;flex-direction:column}.quri-toggle-copy strong{font-size:14px;font-weight:830}.quri-toggle-copy small{font-size:12px;color:#587665;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.quri-toggle-icon{font-weight:800;font-size:19px;color:#2c8d67}
.quri-panel{width:100%;background:#fcfffb;border:1px solid #b8dcc9;box-shadow:0 16px 48px #143e3058;border-radius:21px;overflow:hidden;display:flex;flex-direction:column;max-height:min(520px,calc(100dvh - 120px))}
.quri-panel[hidden]{display:none!important}
.quri-panel-head{background:linear-gradient(110deg,#dff6e9,#f4fcf7);display:flex;align-items:center;gap:9px;padding:10px 14px;border-bottom:1px solid #cee7d6}
.quri-panel-head .mini-robot{width:52px;height:52px;animation:none}.quri-panel-head>div{flex:1;min-width:0;display:flex;flex-direction:column;gap:4px}.quri-panel-head strong{font-size:15px;color:#205140}.quri-panel-head small{font-size:11px;color:#5d806c}
#quri-close{width:34px;height:34px;border-radius:50%;border:1px solid #c6dfd0;background:white;cursor:pointer;font-size:23px;color:#286a52}
.quri-chat{padding:15px 15px 10px;display:flex;flex-direction:column;gap:10px;overflow-y:auto;min-height:95px;max-height:245px}
.quri-chat-bubble{align-self:flex-start;background:#e9f6ec;border:1px solid #d4e9d9;border-radius:15px 15px 15px 4px;max-width:95%;padding:12px 14px;color:#275744;line-height:1.65;font-size:13px;white-space:pre-wrap;overflow-wrap:anywhere}
.quri-chat-bubble.user{align-self:flex-end;background:#246d59;color:white;border-color:#246d59;border-radius:15px 15px 4px 15px}
.quri-suggestions{padding:0 15px 15px;display:flex;gap:7px;flex-wrap:wrap}
.quri-suggestions button{border-radius:100px;border:1px solid #b9dbca;background:white;color:#24624c;font-size:12px;font-weight:700;padding:9px 12px;cursor:pointer;transition:background .16s,transform .16s}.quri-suggestions button:hover,.quri-suggestions button:focus-visible{background:#d8f7e6;transform:translateY(-1px)}
.quri-panel-note{border-top:1px solid #e5ece6;padding:10px 15px;margin:0;color:#728473;font-size:10px;line-height:1.6}
@keyframes quri-hover{0%,100%{transform:translateY(0) rotate(-.5deg)}50%{transform:translateY(-9px) rotate(.8deg)}}
@keyframes quri-hero-sway{0%,100%{transform:translateY(0) rotate(-.8deg) scale(1)}45%{transform:translateY(-10px) rotate(.7deg) scale(1.016)}}
@keyframes quri-hey{0%{transform:translateY(-3px) rotate(-2deg)}100%{transform:translateY(-11px) rotate(2deg)}}
@keyframes quri-twinkle{0%,100%{transform:scale(.6);opacity:.35}45%{transform:scale(1.15);opacity:1}}
@keyframes quri-slide-in{from{transform:translateY(8px);opacity:.2}to{transform:translateY(0);opacity:1}}
@media(max-width:1400px){.drop-zone{grid-template-columns:41% 1fr;padding:10px!important}.upload-robot-wrap{min-height:220px}.upload-robot{width:min(100%,228px)}.upload-headline{font-size:20px!important}.upload-instructions{gap:9px}.upload-cta span{font-size:9px}.inspection-stage .inspector{left:39%;width:269px;height:269px}}
@media(max-width:1130px){.workspace-grid{grid-template-columns:1fr!important}.drop-zone{grid-template-columns:38% 1fr;min-height:265px!important}.upload-robot{width:min(100%,260px)}.upload-robot-wrap{min-height:250px}.stage-dialogue{max-width:330px}.stage-dialogue strong{font-size:15px}.inspection-stage .inspector{left:34%;width:255px;height:255px}.stage-copy{width:57%}}
@media(max-width:760px){.journey-progress{padding:12px 11px;gap:6px}.journey-line{width:13px}.journey-item{grid-template-columns:26px 1fr;gap:5px}.journey-item>span{width:26px;height:29px;font-size:10px}.journey-item strong{font-size:11px}.journey-item small{font-size:9px}.inspection-stage{min-height:492px}.stage-copy{width:66%;padding-bottom:81px}.stage-copy h2{font-size:24px}.stage-dialogue{max-width:305px;padding:10px 12px}.stage-dialogue>span:last-child{font-size:11px}.inspection-stage .inspector{left:21%;width:220px;height:220px}.verdict-hero{grid-template-columns:minmax(200px,39%) 1fr;min-height:305px}.verdict-art{min-height:290px}.verdict-robot{width:min(100%,280px)}.verdict-copy h3{font-size:26px}.verdict-copy p{font-size:13px}.verdict-actions .button{min-height:37px;padding:9px 12px}.quri-assistant{right:13px;bottom:13px;width:min(335px,calc(100vw - 24px))}}
@media(max-width:520px){.journey-item small{display:none}.journey-item{grid-template-columns:1fr;gap:2px;justify-items:center;text-align:center}.journey-item>span{grid-row:auto}.journey-item strong{font-size:10px}.journey-progress{gap:3px}.journey-line{width:8px}.inspection-stage{min-height:560px}.stage-copy{width:100%;padding:20px 18px 0;height:314px}.stage-copy h2{font-size:25px}.stage-copy>p{font-size:12px}.stage-meta{margin-top:8px}.stage-dialogue{margin-top:9px;max-width:100%;gap:3px}.stage-dialogue strong{font-size:14px}.stage-dialogue>span:last-child{font-size:11px}.lab-scene{inset:323px 0 59px 0;height:180px}.inspection-stage .inspector{left:34%;width:178px;height:178px;bottom:6px}.inspector-effect{left:71%;bottom:120px;width:78px;height:78px}.drop-zone{grid-template-columns:1fr!important;text-align:center!important;gap:0;min-height:auto!important;padding:11px 12px 19px!important}.upload-robot-wrap{min-height:183px;height:183px}.upload-robot{width:210px}.upload-instructions{align-items:center;text-align:center;gap:7px}.upload-headline{font-size:20px!important}.upload-subtitle{font-size:12px}.upload-cta{font-size:12px;padding:11px}.upload-cta span{font-size:10px}.drop-zone .format-badges{justify-content:center!important}.intake-coach{flex-wrap:wrap;gap:6px}.verdict-hero{grid-template-columns:1fr;gap:0;min-height:auto;padding:0 0 16px}.verdict-art{min-height:245px;height:245px}.verdict-robot{width:255px}.verdict-copy{padding:0 20px 15px;text-align:center;display:flex;flex-direction:column;align-items:center}.verdict-copy h3{font-size:27px;margin:9px 0}.verdict-copy p{font-size:13px;margin:0 0 10px}.verdict-label-row{justify-content:center;margin-bottom:14px;font-size:10px}.verdict-actions{justify-content:center}.verdict-actions .button{font-size:12px}.quri-toggle{min-height:59px;padding:5px 10px}.quri-toggle .mini-robot{width:48px;height:48px}.quri-toggle-copy strong{font-size:13px}.quri-toggle-copy small{font-size:11px}.quri-panel{max-height:min(550px,calc(100dvh - 92px))}}
.motion-paused .hero-sprite,.motion-paused .verdict-spark{animation:none!important;transition:none!important}
@media(prefers-reduced-motion:reduce){.hero-sprite,.verdict-spark,.stage-dialogue{animation:none!important;transition:none!important}}
@media print{.quri-assistant,.journey-progress,.stage-dialogue,.intake-coach,.verdict-actions{display:none!important}.verdict-hero{break-inside:avoid;box-shadow:none;min-height:185px}.verdict-art{min-height:170px}.verdict-robot{width:180px}.verdict-copy h3{font-size:22px}}
.stage-step.skipped{opacity:.4;filter:grayscale(.8);position:relative}.stage-step.skipped b{text-decoration:line-through;text-decoration-thickness:1px}
.stage-dialogue.talk-pop{animation:quri-slide-in .28s ease both}
/* Direct user-triggered preview, independent from the genuine report state. */
.pose-demo-callout{display:flex;align-items:center;justify-content:space-between;gap:12px;background:#f9fcf7;border:1px solid #d5e6d9;border-radius:14px;padding:12px 18px;margin:0 0 20px}
.pose-demo-callout>div{display:flex;flex-direction:column;gap:2px;min-width:0}
.pose-demo-callout strong{color:#285b47;font-size:13px}.pose-demo-callout span{color:#637d68;font-size:12px}
.pose-showcase{display:grid;grid-template-columns:minmax(240px,36%) 1fr;align-items:center;gap:16px;margin:-4px 0 22px;padding:8px 22px 14px;background:linear-gradient(120deg,#e9faf1,#f7fcf8);border:1px solid #cbe3d2;border-radius:21px;box-shadow:0 8px 30px #163f2710}
.pose-showcase[hidden]{display:none!important}.pose-showcase-art{display:flex;justify-content:center;min-height:258px;align-items:center}.pose-showcase-art .hero-sprite{width:min(100%,280px);aspect-ratio:1;animation:quri-hero-sway 3.8s ease-in-out infinite}
.pose-showcase-copy .section-index{color:#3b8368;font-size:10px}.pose-showcase-copy h3{color:#245943;font-size:clamp(20px,2.25vw,30px);line-height:1.4;margin:9px 0}.pose-showcase-copy p{color:#567768;font-size:13px;line-height:1.7;margin:0 0 15px}
.pose-showcase-tabs{display:flex;align-items:center;flex-wrap:wrap;gap:7px}.pose-showcase-tabs button{border:1px solid #b5d8c4;border-radius:10px;background:white;color:#2d6852;font-size:12px;cursor:pointer;padding:10px 12px;font-weight:750;transition:transform .16s,background .16s}
.pose-showcase-tabs button.active,.pose-showcase-tabs button:hover{background:#267e5e;color:white;border-color:#267e5e;transform:translateY(-1px)}
@media(max-width:760px){.pose-demo-callout{flex-wrap:wrap}.pose-showcase{grid-template-columns:1fr;gap:0}.pose-showcase-art{min-height:205px}.pose-showcase-art .hero-sprite{width:205px}.pose-showcase-copy{text-align:center}.pose-showcase-tabs{justify-content:center}.pose-showcase-tabs button{font-size:11px}}
@media print{.pose-demo-callout,.pose-showcase{display:none!important}}
