/* Original illustrative product scenes; never live controls. */
.qt-demo,.qt-handheld{--demo-bg:#fff;--demo-ink:#182d47;--demo-muted:#536980;--demo-line:#dce6ef;--demo-tint:#edf5ff;--demo-blue:#0866e8;--demo-teal:#007d70;--demo-green:#087b50;box-sizing:border-box;min-width:0;margin:0;color:var(--demo-ink);font-family:inherit}
.qt-demo *,.qt-handheld *{box-sizing:border-box}
.qt-demo{display:flex;flex-direction:column;gap:12px;container-type:inline-size}
.qt-demo-example{display:flex;align-items:center;gap:8px;font-size:11px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--demo-muted)}
.qt-demo-example:before{content:"";width:6px;height:6px;border-radius:50%;background:var(--demo-blue)}
.qt-demo-window{overflow:hidden;border:1px solid var(--demo-line);border-radius:20px;background:var(--demo-bg);box-shadow:0 12px 36px -25px #174f8660;font-size:13px;line-height:1.45;min-width:0}
.qt-demo figcaption,.qt-handheld figcaption{margin:0;color:var(--demo-muted);font-size:12px;line-height:1.6;max-width:64ch}
.qt-demo-icon{display:inline-block;width:21px;height:21px;min-width:21px;vertical-align:middle;color:currentColor}
.qt-demo-head{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:17px 18px;border-bottom:1px solid var(--demo-line);min-width:0}
.qt-demo-heading{font-size:13px;font-weight:750;letter-spacing:-.015em;min-width:0;overflow-wrap:anywhere}
.qt-demo-headnote{font-size:10px;font-weight:600;color:var(--demo-muted);text-align:right;min-width:0;overflow-wrap:anywhere}
.qt-demo-panes{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
.qt-demo-pane{min-width:0;min-height:216px;padding-bottom:10px}
.qt-demo-pane+.qt-demo-pane{border-left:1px solid var(--demo-line)}
.qt-demo-pane .qt-demo-head{padding:16px 12px}
.qt-demo-pane .qt-demo-headnote{display:none}
.qt-demo-row{display:flex;align-items:center;gap:9px;min-width:0;margin:6px;padding:11px 7px;border-radius:9px}
.qt-demo-selected{background:var(--demo-tint)}
.qt-demo-fileicon{color:var(--demo-blue);display:grid;place-items:center;width:29px;height:29px;flex:none;background:var(--demo-tint);border-radius:8px}
.qt-demo-filename{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:650}
.qt-demo-detail{margin-left:auto;white-space:nowrap;font-size:10px;color:var(--demo-muted)}
.qt-demo-row .qt-demo-detail{display:none}
.qt-demo-destination{background:linear-gradient(150deg,var(--demo-bg),var(--demo-tint))}
.qt-demo-destination-mark{display:flex;min-height:164px;padding:19px 12px;flex-direction:column;align-items:center;justify-content:center;gap:10px;text-align:center}
.qt-demo-destination-mark>.qt-demo-icon{width:36px;height:36px;color:var(--demo-blue)}
.qt-demo-destination-mark strong{font-size:12px;font-weight:700}
.qt-demo-destination-mark>span{max-width:22ch;font-size:10px;color:var(--demo-muted)}
.qt-demo-copybar{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:13px 14px;background:var(--demo-tint);border-top:1px solid var(--demo-line)}
.qt-demo-copybar>span{display:flex;align-items:center;gap:7px;min-width:0;font-size:11px}
.qt-demo-copybar b{font-weight:650}
.qt-demo-action{display:inline-flex;align-items:center;gap:7px;background:var(--demo-blue);color:#fff;padding:8px 10px;border-radius:8px;font-size:11px;font-weight:700;white-space:nowrap;flex-shrink:0}
.qt-demo-action .qt-demo-icon{width:15px;height:15px;min-width:15px}
.qt-demo-pair{display:grid;grid-template-columns:minmax(0,1fr) 80px minmax(0,1fr);align-items:center;gap:8px;padding:24px 16px}
.qt-demo-pair-device{display:flex;min-width:0;align-items:center;flex-direction:column;gap:7px;text-align:center}
.qt-demo-pair-device>.qt-demo-icon{width:31px;height:31px;color:var(--demo-blue);margin-bottom:3px}
.qt-demo-pair-device strong{font-size:12px}
.qt-demo-pair-device>span{font-size:10px;color:var(--demo-muted)}
.qt-demo-qr-mark{display:grid;place-items:center;aspect-ratio:1;background:var(--demo-tint);border:1px solid var(--demo-line);border-radius:15px;color:var(--demo-blue)}
.qt-demo-qr-mark .qt-demo-icon{width:53px;height:53px}
.qt-demo-review{display:flex;align-items:center;gap:11px;padding:15px;border-top:1px solid var(--demo-line);background:var(--demo-tint)}
.qt-demo-review>.qt-demo-icon{color:var(--demo-teal);flex:none}
.qt-demo-review>span:not(.qt-demo-pill){min-width:0;flex:1}
.qt-demo-review strong{display:block;font-size:11px;font-weight:700}
.qt-demo-review small{display:block;margin-top:4px;font-size:10px;line-height:1.5;color:var(--demo-muted)}
.qt-demo-pill{display:inline-flex;align-items:center;gap:5px;padding:5px 8px;flex:none;font-size:10px;font-weight:700;border-radius:99px;background:#daf4e8;color:var(--demo-green)}
.qt-demo-pill .qt-demo-icon{width:13px;height:13px;min-width:13px}
.qt-demo-pill.qt-demo-blue{background:var(--demo-tint);color:var(--demo-blue)}
.qt-demo-current{padding:18px 17px}
.qt-demo-job-title{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:12px}
.qt-demo-job-title>span:first-child{display:flex;align-items:center;gap:9px;min-width:0}
.qt-demo-job-title>span:first-child>.qt-demo-icon{color:var(--demo-blue);flex:none}
.qt-demo-job-title b{font-weight:700;min-width:0;overflow-wrap:anywhere}
.qt-demo-progress{height:6px;border-radius:6px;margin:20px 0 12px;background:var(--demo-line);overflow:hidden}
.qt-demo-progress>span{display:block;width:52%;height:100%;border-radius:6px;background:linear-gradient(90deg,var(--demo-blue),#00a995)}
.qt-demo-job-stats{display:flex;justify-content:space-between;gap:10px;font-size:10px;color:var(--demo-muted)}
.qt-demo-job-stats b{font-weight:650;color:var(--demo-ink)}
.qt-demo-quiet{font-size:9px;color:var(--demo-muted);margin-top:9px}
.qt-demo-queue{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 17px;border-top:1px solid var(--demo-line);font-size:11px}
.qt-demo-queue>span{display:flex;align-items:center;gap:9px;min-width:0}
.qt-demo-queue .qt-demo-icon{width:17px;height:17px;min-width:17px;color:var(--demo-muted)}
.qt-demo-queue small{font-size:10px;color:var(--demo-muted)}
.qt-demo-parts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:20px 13px 15px}
.qt-demo-parts>div{display:flex;align-items:center;flex-direction:column;gap:12px;padding:15px 6px;background:var(--demo-tint);border-radius:11px;min-width:0;color:var(--demo-blue)}
.qt-demo-parts .qt-demo-icon{width:31px;height:31px}
.qt-demo-parts>div>span{font-size:9px;font-weight:650;max-width:100%;overflow-wrap:anywhere;text-align:center}
.qt-demo-part-summary{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:0 14px 18px}
.qt-demo-part-summary>small{font-size:9px;line-height:1.5;max-width:24ch;text-align:right;color:var(--demo-muted)}
.qt-demo-trash{display:flex;align-items:center;gap:10px;padding:15px 14px;border-top:1px solid var(--demo-line)}
.qt-demo-trash>span:nth-child(2){flex:1;min-width:0}
.qt-demo-trash strong{display:block;font-size:12px}
.qt-demo-trash small{display:block;font-size:10px;line-height:1.5;margin-top:3px;color:var(--demo-muted)}
.qt-demo-secondary{background:var(--demo-tint);color:var(--demo-blue)}
.qt-demo-photo{padding:16px 16px 0}
.qt-demo-landscape{display:block;aspect-ratio:400/210;width:100%;height:auto;border-radius:13px}
.qt-demo-metadata-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding:17px 16px 20px}
.qt-demo-metadata-grid small{display:block;font-size:9px;color:var(--demo-muted);margin-bottom:5px}
.qt-demo-metadata-grid strong{display:block;font-size:11px;font-weight:700;overflow-wrap:anywhere}
.qt-demo-space{display:grid;grid-template-columns:1.45fr 1fr;grid-template-rows:79px 79px;gap:7px;padding:16px}
.qt-demo-space>div{display:flex;flex-direction:column;align-items:flex-start;justify-content:space-between;gap:10px;padding:13px;border-radius:12px;font-size:11px;min-width:0}
.qt-demo-space-photos{grid-row:span 2;background:#d9ecff;color:#0751bd}
.qt-demo-space-photos .qt-demo-icon{width:32px;height:32px}
.qt-demo-space-archives{background:#cdf4ed;color:#00695b}
.qt-demo-space-other{background:#fff0cd;color:#755000}
.qt-demo-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:36px 28px;min-width:0}
.qt-demo-grid>.qt-demo{height:100%}
.qt-demo-grid>.qt-demo>.qt-demo-window{flex:1}
.qt-demo-workflows{grid-template-columns:repeat(3,minmax(0,1fr))}
.qt-demo-hero{position:relative;max-width:680px;isolation:isolate;padding-bottom:50px;min-width:0}
.qt-demo-hero>.qt-demo{position:relative;z-index:1}
.qt-demo-nori{position:absolute;right:-25px;bottom:-35px;z-index:2;width:clamp(90px,23%,160px);height:auto;filter:drop-shadow(0 12px 14px #17315020);pointer-events:none}
.qt-handheld{display:flex;align-items:center;flex-direction:column;gap:20px;min-width:0}
.qt-handheld-frame{width:min(100%,570px);padding:18px 24px 24px;border:1px solid #c9d8e8;border-radius:32px 32px 40px 40px;background:linear-gradient(160deg,#f5f9fe,#dce7f4);box-shadow:0 28px 65px -30px #17345450,inset 0 2px 0 #ffffffbb;overflow:hidden}
.qt-handheld-top,.qt-handheld-bottom{background:#0c1827;border:7px solid #263448;border-radius:14px;overflow:hidden;min-width:0}
.qt-handheld-top{aspect-ratio:16/9}
.qt-handheld-deck{display:grid;grid-template-columns:minmax(0,18fr) minmax(0,60fr) minmax(0,18fr);column-gap:2%;align-items:center;padding-top:5px;min-width:0}
.qt-handheld-bottom{width:100%;margin:auto;aspect-ratio:9/8}
.qt-handheld-controls{display:flex;flex-direction:column;align-items:center;justify-content:space-evenly;gap:15px;height:100%;min-width:0;padding:8px 0;pointer-events:none;user-select:none}
.qt-handheld-stick{display:block;width:70%;max-width:46px;aspect-ratio:1;border-radius:50%;background:radial-gradient(circle,#304964 0 39%,#506a86 41% 47%,#c2cfdd 49% 61%,#edf3fa 63%);box-shadow:0 2px 3px #10284024,inset 0 1px 1px #fff}
.qt-handheld-dpad{display:block;position:relative;width:64%;max-width:36px;aspect-ratio:1;filter:drop-shadow(0 2px 1px #10284030)}
.qt-handheld-dpad:before,.qt-handheld-dpad:after{content:"";position:absolute;background:linear-gradient(135deg,#52708d,#263f5b);border-radius:3px;box-shadow:inset 0 1px 0 #9caec0}
.qt-handheld-dpad:before{width:100%;height:34%;top:33%;left:0}
.qt-handheld-dpad:after{height:100%;width:34%;left:33%;top:0}
.qt-handheld-buttons{display:grid;grid-template-columns:1fr 1fr;gap:5px;width:68%;max-width:39px;aspect-ratio:1;transform:rotate(45deg)}
.qt-handheld-buttons i{display:block;border-radius:50%;background:linear-gradient(135deg,#46a3ff,#0866e8);box-shadow:0 2px 2px #10284030,inset 0 1px 0 #acd8ff}
.qt-handheld-buttons i:nth-child(2),.qt-handheld-buttons i:nth-child(3){background:linear-gradient(135deg,#77cfc5,#00897b);box-shadow:0 2px 2px #10284030,inset 0 1px 0 #b9ece4}
.qt-handheld-frame img{display:block;width:100%;height:100%;object-fit:contain}
.qt-handheld-hinge{height:18px;position:relative}
.qt-handheld-hinge:before{content:"";position:absolute;height:4px;width:66%;top:7px;left:17%;background:#b1c2d4;border-radius:4px}
.qt-handheld figcaption{text-align:center;max-width:60ch}
body.dark .qt-demo,body.dark .qt-handheld,[data-theme="dark"] .qt-demo,[data-theme="dark"] .qt-handheld{--demo-bg:#0b1018;--demo-ink:#e0e8f2;--demo-muted:#9daec1;--demo-line:#293444;--demo-tint:#10213a;--demo-blue:#6aa9ff;--demo-teal:#5ddbc5;--demo-green:#8ae1b6}
body.dark .qt-demo-action,[data-theme="dark"] .qt-demo-action{color:#071c39}
body.dark .qt-demo-secondary,[data-theme="dark"] .qt-demo-secondary{color:var(--demo-blue)}
body.dark .qt-demo-pill,[data-theme="dark"] .qt-demo-pill{background:#15382d}
body.dark .qt-demo-pill.qt-demo-blue,[data-theme="dark"] .qt-demo-pill.qt-demo-blue{background:var(--demo-tint)}
body.dark .qt-demo-space-photos,[data-theme="dark"] .qt-demo-space-photos{background:#142f54;color:#9ac8ff}
body.dark .qt-demo-space-archives,[data-theme="dark"] .qt-demo-space-archives{background:#103d35;color:#89ebd7}
body.dark .qt-demo-space-other,[data-theme="dark"] .qt-demo-space-other{background:#3d3118;color:#f5d58e}
body.dark .qt-handheld-frame,[data-theme="dark"] .qt-handheld-frame{border-color:#314050;background:linear-gradient(150deg,#253243,#101b2a);box-shadow:0 28px 65px -30px #000,inset 0 2px 0 #ffffff20}
@container (min-width:520px){.qt-demo-row .qt-demo-detail{display:block}.qt-demo-pane .qt-demo-headnote{display:block}.qt-demo-row{padding:12px}.qt-demo-window{font-size:14px}}
@container (max-width:330px){.qt-demo-head{padding:14px 12px;gap:8px}.qt-demo-headnote{font-size:9px}.qt-demo-review{flex-wrap:wrap}.qt-demo-review>.qt-demo-pill{margin-left:32px}.qt-demo-copybar{padding:10px;gap:6px}.qt-demo-copybar>span{font-size:10px}.qt-demo-copybar>span>.qt-demo-icon{display:none}.qt-demo-copybar .qt-demo-action{font-size:10px;padding:7px}.qt-demo-pair{grid-template-columns:minmax(0,1fr) 56px minmax(0,1fr);padding:19px 10px}.qt-demo-qr-mark .qt-demo-icon{width:40px;height:40px}.qt-demo-pair-device strong{font-size:11px}.qt-demo-job-stats{flex-wrap:wrap}.qt-demo-part-summary{flex-direction:column;align-items:flex-start}.qt-demo-part-summary>small{text-align:left;max-width:none}.qt-demo-trash{flex-wrap:wrap}.qt-demo-trash>.qt-demo-action{margin-left:39px}.qt-demo-metadata-grid{gap:6px;padding:13px 12px}.qt-demo-metadata-grid strong{font-size:10px}.qt-demo-metadata-grid small{font-size:9px}.qt-demo-parts{gap:5px;padding:14px 10px}.qt-demo-parts>div>span{font-size:8px}.qt-demo-job-title{gap:6px}.qt-demo-job-title b{font-size:11px}}
@media(max-width:1000px){.qt-demo-workflows{grid-template-columns:1fr 1fr}.qt-demo-workflows>.qt-demo:last-child{grid-column:1/-1}}
@media(max-width:700px){.qt-demo-grid,.qt-demo-workflows{grid-template-columns:minmax(0,1fr);gap:28px}.qt-demo-workflows>.qt-demo:last-child{grid-column:auto}.qt-demo-hero{padding:0 0 50px}.qt-demo-hero>.qt-demo{transform:none}.qt-demo-nori{right:-2px;bottom:-24px;width:82px}.qt-handheld-frame{padding:12px 12px 18px;border-radius:25px 25px 30px 30px}.qt-handheld-top,.qt-handheld-bottom{border-width:5px;border-radius:10px}.qt-handheld-hinge{height:14px}.qt-handheld-hinge:before{top:5px}}
@media(prefers-reduced-motion:reduce){.qt-demo-hero>.qt-demo{transform:none}}

/* Open clamshell: independent shell planes, recessed glass and physical controls.
   Original CSS model; the screen pixels remain the real emulator captures. */
.qt-handheld{perspective:1400px;padding:24px 12px 36px;position:relative;isolation:isolate}
.qt-handheld:after{content:"";position:absolute;z-index:-1;bottom:12px;left:10%;width:84%;height:42px;border-radius:50%;background:#15263b38;filter:blur(18px);transform:rotate(-5deg)}
.qt-handheld-frame{width:min(100%,570px);padding:0;border:0;border-radius:0;background:none!important;box-shadow:none!important;overflow:visible;transform:rotateX(7deg) rotateY(-11deg) rotateZ(-4deg);transform-style:preserve-3d}
.qt-handheld-lid{position:relative;padding:3.8% 3.6% 5%;border:1px solid #747e8b;border-radius:25px 25px 19px 19px;background:linear-gradient(130deg,#68717d 0%,#373e49 6%,#222833 46%,#121721 98%);box-shadow:inset 0 2px 2px #ffffff65,inset 0 -3px 4px #070a11,3px 6px 0 #141a24,5px 8px 0 #080c14,10px 14px 24px #15263b25;transform:rotateX(-5deg);transform-origin:center bottom}
.qt-handheld-top,.qt-handheld-bottom{position:relative;border:5px solid #080c12;border-radius:9px;box-shadow:0 0 0 1px #77818c55,inset 0 2px 6px #000;background:#080c12}
.qt-handheld-lid:after{content:"";pointer-events:none;position:absolute;inset:12px;border-radius:16px;background:linear-gradient(140deg,#ffffff12,transparent 36%,transparent 72%,#ffffff04);mix-blend-mode:screen}
.qt-handheld-lid-detail{position:absolute;bottom:2%;left:45%;width:10%;height:3px;background:linear-gradient(90deg,#131923,#56606c,#131923);border-radius:3px}
.qt-handheld-hinge{height:17px;margin:0 2%;background:linear-gradient(180deg,#0a0e16,#707a86 20%,#333c49 45%,#111721 80%,#515c6a);border:1px solid #111722;border-radius:6px;box-shadow:inset 0 1px 0 #c2c8ce55,0 3px 3px #0005;z-index:2}
.qt-handheld-hinge:before,.qt-handheld-hinge:after{content:"";position:absolute;top:-1px;height:17px;width:9%;background:linear-gradient(180deg,#151c25,#687481 30%,#303b49 65%,#0e141e);border-inline:1px solid #080c13;border-radius:5px;left:8%}
.qt-handheld-hinge:after{left:auto;right:8%}
.qt-handheld-deck{position:relative;grid-template-columns:minmax(0,22fr) minmax(0,55fr) minmax(0,22fr);column-gap:2%;padding:4% 2.5% 5%;border:1px solid #6d7887;border-radius:17px 17px 30px 30px;background:linear-gradient(130deg,#64707f 0%,#3d4756 5%,#2a3341 45%,#1c2533 100%);box-shadow:inset 0 2px 2px #ffffff55,inset 0 -3px 4px #0c111c,2px 7px 0 #17202e,3px 11px 0 #0d1420,9px 20px 25px #15263b40}
.qt-handheld-bottom{border-width:6px;border-radius:9px}
.qt-handheld-controls{gap:18px;padding:4px 0;justify-content:space-between}
.qt-handheld-stick{width:70%;max-width:58px;background:radial-gradient(circle at 43% 36%,#4e5969 0 22%,#252e3b 39%,#151d29 43%,#6edccb 45%,#057e91 49%,#111925 54%,#687483 59%,#121925 65%);box-shadow:inset 0 2px 3px #b2c5da66,0 4px 4px #080d1599,0 0 9px #00a99544}
.qt-handheld-dpad{width:64%;max-width:48px;filter:drop-shadow(1px 4px 2px #060a1199)}
.qt-handheld-dpad:before,.qt-handheld-dpad:after{border-radius:4px;background:linear-gradient(135deg,#657285,#313d50 55%,#1a2432);box-shadow:inset 0 1px 1px #b4bdc966,inset 0 -1px 1px #0a0e16}
.qt-handheld-buttons{position:relative;width:77%;max-width:63px;display:block;transform:none}
.qt-handheld-buttons i{position:absolute;display:grid;place-items:center;width:38%;height:38%;font:600 clamp(7px,.8vw,10px)/1 system-ui,sans-serif;color:#d2dbe6;border:1px solid #75829855;background:linear-gradient(135deg,#657185,#273346 65%,#182334)!important;box-shadow:inset 0 1px 1px #ffffff66,1px 3px 2px #080e1999!important}
.qt-handheld-buttons i:nth-child(1){top:0;left:31%;color:#9ab8f5}.qt-handheld-buttons i:nth-child(2){right:0;top:31%;color:#ffbaaa}.qt-handheld-buttons i:nth-child(3){bottom:0;left:31%;color:#f2dfa7}.qt-handheld-buttons i:nth-child(4){left:0;top:31%;color:#a5dfc9}
.qt-handheld-system{display:flex;gap:8px;width:62%;justify-content:space-between}
.qt-handheld-system i{display:block;width:38%;height:6px;border-radius:5px;background:#172131;border:1px solid #7b879844;box-shadow:0 1px 1px #0a101b,inset 0 1px 1px #5e6b7b}
body.dark .qt-handheld:after{background:#0009}
@media(max-width:700px){.qt-handheld{padding:16px 4px 28px}.qt-handheld-frame{padding:0;border:0;border-radius:0;transform:rotateX(5deg) rotateY(-7deg) rotateZ(-3deg)}.qt-handheld-lid{border-radius:18px 18px 13px 13px}.qt-handheld-top,.qt-handheld-bottom{border-width:4px;border-radius:6px}.qt-handheld-deck{border-radius:12px 12px 22px 22px}.qt-handheld-controls{gap:10px}.qt-handheld-hinge,.qt-handheld-hinge:before,.qt-handheld-hinge:after{height:12px}.qt-handheld-hinge:before{top:-1px}.qt-handheld-system{gap:5px}.qt-handheld-system i{height:4px}}
.qt-handheld-buttons i:before{content:attr(data-letter)}

/* Use real light/OLED app captures; never invert image content or obey a different OS theme. */
.themed-capture{display:block;min-width:0}
.themed-capture>.capture-light{display:block}
.themed-capture>.capture-dark{display:none}
html[data-theme="dark"] .themed-capture>.capture-light{display:none}
html[data-theme="dark"] .themed-capture>.capture-dark{display:block}
.qt-handheld .themed-capture{width:100%;height:100%}
