/* /catalog on the unify kit (v2, one indigo sheet): this page's own objects only (the status strip and opening plate, the featured plugin card,
   the register finder). Type, colour, buttons and the field come from /late/unify.css; the register cards keep the
   shared site.css layout, whose font tokens the shell maps to QN Switzer, QN Zodiak and QN Martian. */

/* the saved status strip opens the sheet, above the heading (it stays where the live page has it) */
html body.qu .ct>.qv-status-catalog{padding:20px var(--fr) 0;margin:0}
html body.qu .ct>.qv-status-catalog ul{display:flex;flex-wrap:wrap;gap:6px 22px;margin:0;padding:0;list-style:none}
html body.qu .ct>.qv-status-catalog li{margin:0;font:500 12px/1.5 var(--qn-pix);font-stretch:100%;text-transform:uppercase;letter-spacing:.06em;color:var(--qn-ice)}
html body.qu .ct>.qv-status-catalog li a{color:var(--qn-hi);text-decoration:underline;text-decoration-color:var(--qn-line);text-underline-offset:3px}
html body.qu .ct>.qv-status-catalog .qv-tag{color:var(--qu-field-muted)}
html body.qu .ct>.qv-status-catalog p{max-width:none;margin:6px 0 0;font:400 12px/1.5 var(--qn-pix);letter-spacing:.02em;color:var(--qu-field-muted)}
html body.qu .ct>.qv-status-catalog .stamp,html body.qu .ct>.qv-status-catalog time{font:inherit;color:inherit}
html body.qu .ct>.qv-status-catalog+.qu-open{padding-top:24px}
@media(max-width:800px){html body.qu .ct>.qv-status-catalog{padding:16px var(--qn-g) 0}html body.qu .ct>.qv-status-catalog ul{gap:4px 16px}}

/* the opening: heading, lede and the counts line left; the engraved seat plate right in a hairline frame */
html body.qu .ct .ct-open{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,440px);grid-template-areas:"head art";column-gap:56px;align-items:stretch}
html body.qu .ct .ct-head{grid-area:head;min-width:0}
html body.qu .ct .ct-art{grid-area:art;position:relative;overflow:hidden;min-height:220px;border:1px solid var(--qn-line)}
html body.qu .ct .ct-art picture{position:absolute;inset:0;display:block}
html body.qu .ct .ct-art img{display:block;width:100%;height:100%;max-width:100%;object-fit:cover;object-position:50% 45%}
html body.qu .ct .pass-counts{max-width:62ch;margin:0;font:400 14px/1.6 var(--sans)!important;color:var(--qu-field-muted)}
html body.qu .ct .pass-counts a{color:var(--qn-hi)}
html body.qu .ct .pass-counts .stamp{font:400 12px/1.6 var(--qn-pix);letter-spacing:.02em}
@media(max-width:800px){
html body.qu .ct .ct-open{grid-template-columns:minmax(0,1fr);grid-template-areas:"head" "art";row-gap:20px}
html body.qu .ct .ct-art{min-height:0;height:132px}
}

/* action links: QN Martian caps, 44px rows (as on /connect) */
html body.qu .ct :is(.plugin-links a,.pass-plugin-detail .pass-links a){display:inline-flex;align-items:center;gap:8px;min-height:44px;font:400 13px/1.2 var(--qn-pix);font-stretch:100%;text-transform:uppercase;letter-spacing:.08em;color:var(--ink);text-decoration:none}
html body.qu .ct .plugin-links a:after{content:"\2192";font:400 14px/1 var(--qn-pix)}
@media(hover:hover){html body.qu .ct :is(.plugin-links a,.pass-plugin-detail .pass-links a):hover{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:4px}}
html body.qu .ct :is(.plugin-links,.pass-plugin-detail .pass-links){display:flex;flex-wrap:wrap;gap:0 28px;margin:8px 0 0}

/* the featured plugin card */
html body.qu .ct .plugin-card{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,.7fr);border-bottom:1px solid var(--rule)}
html body.qu .ct .featured{padding-top:40px}
html body.qu .ct .plugin-copy{min-width:0;padding:28px 40px 24px 0}
html body.qu .ct .listing-top{display:flex;justify-content:space-between;gap:20px;margin:0 0 14px;font:500 12px/1.4 var(--qn-pix);text-transform:uppercase;letter-spacing:.08em;color:var(--muted)}
html body.qu .ct .plugin-card h2{margin:0 0 16px}
html body.qu .ct .plugin-card h2 span{font:300 .5em/1 var(--serif);font-stretch:100%;text-transform:none;letter-spacing:-.01em}
html body.qu .ct .plugin-description{max-width:46ch;margin:0 0 20px;font:300 clamp(19px,1.6vw,22px)/1.38 var(--serif)}
html body.qu .ct .listing-fields{display:flex;flex-wrap:wrap;gap:10px 32px;margin:0 0 16px}
html body.qu .ct .listing-fields div{display:flex;align-items:baseline;gap:10px}
html body.qu .ct .listing-fields dd{margin:0;font:400 14px/1.5 var(--qn-pix);letter-spacing:-.01em}
html body.qu .ct .plugin-needs{margin:0 0 4px;font-size:16px}
html body.qu .ct .terminal{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px 16px;margin:16px 0 8px;padding:14px 14px 14px 18px;background:var(--qn-field-2);border:1px solid var(--qn-line)}
html body.qu .ct .terminal pre{margin:0;padding:0;border:0;background:none;white-space:pre-wrap;overflow-wrap:anywhere;user-select:all}
html body.qu .ct .terminal .install-package{white-space:nowrap}
html body.qu .ct .terminal .copy{margin:0;border-color:var(--qn-hi);background:var(--qn-hi);color:var(--qn-field)}
@media(hover:hover){html body.qu .ct .terminal .copy:hover{background:var(--qn-ice);border-color:var(--qn-ice)}}
html body.qu .ct .terminal .copy-state{grid-column:1/-1;min-height:20px;margin:0;font:400 13px/1.5 var(--sans);color:var(--qu-field-muted)}
html body.qu .ct .terminal .copy-state:empty{min-height:0}
html body.qu .ct .listing-source{margin:6px 0 0;font:400 14px/1.6 var(--sans);color:var(--muted)}
html body.qu .ct .listing-source time{font:400 12px/1.6 var(--qn-pix)}
html body.qu .ct .ct-key{position:relative;min-width:0;min-height:280px;overflow:hidden;background:none;color:var(--qn-hi);border-left:1px solid var(--rule)}
html body.qu .ct .ct-key>div,html body.qu .ct .ct-key picture{position:absolute;inset:0;display:block}
html body.qu .ct .ct-key img{display:block;width:100%;height:100%;object-fit:cover;object-position:38% 50%}
html body.qu .ct .ct-key p{position:absolute;z-index:1;left:24px;right:24px;bottom:18px;margin:0;font:300 22px/1.3 var(--serif);color:var(--qn-hi)}
@media(max-width:900px){
html body.qu .ct .plugin-card{grid-template-columns:minmax(0,1fr)}
html body.qu .ct .plugin-copy{padding:22px 0 20px}
html body.qu .ct .ct-key{min-height:0;height:160px;margin-bottom:-1px;border-left:0;border-top:1px solid var(--rule)}
html body.qu .ct .terminal{grid-template-columns:minmax(0,1fr);padding:14px}
html body.qu .ct .terminal .copy{justify-self:stretch}
}

/* requirements and setup */
html body.qu .ct .pass-plugin-detail{max-width:760px;padding:56px 0 0}
html body.qu .ct .pass-plugin-detail h2{font-size:clamp(32px,3.4vw,52px)}
html body.qu .ct .pass-plugin-detail h3{margin-top:28px}
html body.qu .ct .pass-plugin-detail ol{margin:0 0 16px;padding-left:1.3em}
html body.qu .ct .pass-plugin-detail ol>li{margin:0 0 8px;padding-left:.3em}
html body.qu .ct .pass-plugin-detail table{table-layout:fixed}
html body.qu .ct .pass-plugin-detail :is(td,tbody th){overflow-wrap:anywhere}
html body.qu .ct .pass-plugin-detail td{font:450 16px/1.45 var(--sans)}
html body.qu .ct .pass-plugin-detail details{margin:0 0 20px;border-block:1px solid var(--rule)}
html body.qu .ct .pass-plugin-detail summary{display:flex;align-items:center;min-height:44px;cursor:pointer;font:500 13px/1.3 var(--qn-pix);text-transform:uppercase;letter-spacing:.08em}
html body.qu .ct .pass-plugin-detail details>a{display:inline-flex;align-items:center;min-height:44px;margin-bottom:8px}
@media(max-width:800px){html body.qu .ct .pass-plugin-detail{padding-top:40px}}

/* the register: the finder's controls at 44px in the kit's label and text faces */
html body.qu .ct .catalog-register .market-dateline{margin:0 0 20px;font:400 12px/1.5 var(--qn-pix);letter-spacing:.02em;color:var(--muted)}
html body.qu .ct .catalog-register :is(input,select){min-height:44px;border-radius:0;font-family:var(--sans)}
html body.qu .ct .catalog-register .chips button{min-height:44px;border-radius:0;font:400 12px/1 var(--qn-pix);text-transform:uppercase;letter-spacing:.06em}
html body.qu .ct .catalog-register .group-head h2{font-size:clamp(30px,3.2vw,48px)}
html body.qu .ct .catalog-register #catalog-results{min-height:500px}
html body.qu .ct .catalog-register .record-open{display:inline-flex;align-items:center;min-height:44px}
html body.qu .ct .catalog-register .entry-title{font:600 19px/1.3 var(--sans)!important;font-stretch:100%;letter-spacing:-.01em}
html body.qu .ct .catalog-register .entry-description{font:400 15px/1.5 var(--sans)!important;color:var(--muted)}
html body.qu .ct .ct-key:after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(0deg,var(--qu-field) 0,var(--qu-field) 14%,transparent 58%)}
@media(max-width:800px){html body.qu .ct>.qv-status-catalog li{font-size:11px;letter-spacing:.04em}html body.qu .ct>.qv-status-catalog p{font-size:11px}}
/* tap targets on a phone: the strip's links, the register's source links and record links at 44px (they were 24px) */
html body.qu .ct .terminal .copy{min-height:44px}
html body.qu .ct .catalog-register :is(.source a,details>a,#seat-key-source a){display:inline-flex;align-items:center;min-height:44px}
@media(max-width:800px){html body.qu .ct>.qv-status-catalog ul{gap:0 16px}html body.qu .ct>.qv-status-catalog li{line-height:44px}html body.qu .ct>.qv-status-catalog li a{display:inline-block;line-height:44px}}
/* hq default (c), 16.11 wave pass: on a phone the strip is two lines that scroll sideways together (was four 44px rows plus two lines):
   the readings in one row of 44px targets, the stamp and the note in a second row; the markup is live (catalog-snap.mjs matches it) */
@media(max-width:800px){html body.qu .ct>.qv-status-catalog{display:grid;grid-template-columns:max-content max-content;column-gap:16px;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:none;-webkit-mask-image:linear-gradient(90deg,#000 calc(100% - 28px),transparent);mask-image:linear-gradient(90deg,#000 calc(100% - 28px),transparent)}html body.qu .ct>.qv-status-catalog::-webkit-scrollbar{display:none}html body.qu .ct>.qv-status-catalog ul{grid-column:1/-1;flex-wrap:nowrap}html body.qu .ct>.qv-status-catalog li{white-space:nowrap}html body.qu .ct>.qv-status-catalog p{margin:0;white-space:nowrap;line-height:20px}html body.qu .ct>.qv-status-catalog p:last-child{padding-right:28px}}
/* 1119 batch: on a phone the finder scrolls away with the records (site.css pins it under the header at <=700px, where it covered most of the screen) */
@media(max-width:760px){html body.qu .ct .catalog-register .finder{position:static;top:auto}}
