@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;450;500;550;600;650;700&display=swap');
:root{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#20252d;background:#fff;font-synthesis:none;font-size:14px}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a,select,input{ -webkit-tap-highlight-color:transparent}button{cursor:pointer;color:inherit}a{color:inherit;text-decoration:none}button{background:white;border:1px solid #dfe2e7;border-radius:7px;padding:9px 13px;display:inline-flex;align-items:center;justify-content:center;gap:8px}button:hover{background:#f7f8fa;border-color:#b9bec8}button:focus-visible,a:focus-visible,select:focus-visible,input:focus-visible{outline:3px solid #f9c84e;outline-offset:3px}header{border-bottom:1px solid #e9eaed}.topbar{max-width:1450px;margin:auto;display:flex;align-items:center;gap:28px;height:78px;padding:0 34px}.brand{font-size:20px;font-weight:650;white-space:nowrap;letter-spacing:-.6px;display:flex;align-items:center;gap:10px}.hug{font-size:32px}.global-search,.search{display:flex;align-items:center;gap:10px;border:1px solid #e0e3e8;border-radius:8px;background:#fafbfc;padding:9px 12px;color:#828996}.global-search{width:350px}.global-search>span,.search>span{font-size:23px;line-height:20px}input{border:0;background:transparent;min-width:0;width:100%;outline:0;color:#333}input::placeholder{color:#8b919c;font-size:13px}kbd{border:1px solid #e0e2e6;border-radius:3px;padding:0 5px;font-size:12px}nav{display:flex;gap:23px;align-items:center;margin-left:auto;white-space:nowrap}nav a{color:#575d67;font-size:14px}nav .nav-active{color:#20252d;font-weight:600}nav small{background:#fff2c8;border:1px solid #f6df98;font-size:9px;border-radius:4px;padding:3px;margin-left:2px}.avatar{width:32px;height:32px;display:inline-flex;align-items:center;justify-content:center;border-radius:50%;background:#e9e9ff;color:#6560a7;font-size:11px;font-weight:600;flex-shrink:0}.user{background:#e6eee6;color:#4b6948}.concept-bar{display:flex;align-items:center;justify-content:center;gap:10px;background:#fffaf0;border-bottom:1px solid #f3ead6;padding:10px 24px;font-size:12px;color:#7b6945}.concept-bar>span:first-of-type+*{letter-spacing:0}.concept-dot{height:6px;width:6px;border-radius:50%;background:#dba73b}.concept-divider{color:#d7cbb4;padding:0 4px}.concept-note{margin-left:24px;color:#96876b}main{max-width:1370px;margin:auto;padding:0 34px}.repo-head{padding:34px 0 26px}.repo-line{display:flex;justify-content:space-between;align-items:center;gap:20px}.repo-name{display:flex;align-items:center;gap:12px;font-size:24px;letter-spacing:-.65px}.org-logo{background:#7cbb16;color:#fff;display:inline-flex;width:33px;height:33px;align-items:center;justify-content:center;border-radius:7px;font-size:27px}.slash{color:#a4a8b0;padding:0 5px}.repo-name strong{font-weight:600}.verified{background:#e4f0ff;color:#5e96d0;border-radius:50%;width:17px;height:17px;font-size:12px;display:flex;align-items:center;justify-content:center}.repo-actions{display:flex;gap:9px}.repo-actions button{font-size:13px}.repo-actions b{font-weight:500;border-left:1px solid #e4e5e8;padding-left:9px;color:#777}.dark{background:#20252d;color:white;border-color:#20252d}.dark:hover{background:#383e48;color:white}.repo-desc{font-size:15px;color:#6c7380;margin:17px 0}.tags{display:flex;flex-wrap:wrap;gap:7px}.tag{display:inline-flex;align-items:center;gap:5px;background:#f7f8fa;border:1px solid #e5e7eb;border-radius:6px;padding:5px 8px;font-size:12px;color:#6b7280}.tag.amber{background:#fff9e9;color:#936b21;border-color:#f5e6be}.tag.green{background:#f0f8f3;color:#538269;border-color:#e0eee6}.tag.tiny{padding:3px 6px}.tabs{display:flex;align-items:center;gap:24px;border-bottom:1px solid #e0e3e8}.tabs button{border:0;border-bottom:2px solid transparent;border-radius:0;padding:14px 0;color:#717784;background:none;gap:7px}.tabs button[aria-selected=true]{border-bottom-color:#e5b23b;color:#252b33}.tabs button span{background:#f0f1f4;border-radius:5px;font-size:11px;padding:2px 5px}.repo-status{margin-left:auto;display:flex;align-items:center;gap:7px;color:#9399a1;font-size:12px}.status-dot{width:6px;height:6px;border-radius:50%;background:#75a385}.collection-toolbar{display:flex;justify-content:space-between;align-items:center;padding-top:28px;gap:20px}h1{font-size:20px;font-weight:600;letter-spacing:-.45px;margin:0}h1 span{font-size:13px;font-weight:400;color:#969ca6;margin-left:8px;letter-spacing:0}.collection-toolbar p{color:#949aa4;font-size:13px;margin:7px 0 0}.toolbar-right{display:flex;gap:10px}.search{background:#fff;width:205px;padding:8px 11px}select{border:1px solid #e0e3e8;border-radius:7px;padding:9px 10px;background:white;color:#69717f;font-size:13px}.categories{display:flex;gap:8px;flex-wrap:wrap;margin:23px 0 21px}.categories button{border:1px solid #e8eaed;border-radius:6px;font-size:12px;padding:7px 11px;color:#757c87}.categories button.active{background:#fff8e6;border-color:#efd896;color:#8b651b}.categories button span{font-size:11px;opacity:.65;margin-left:3px}.workspace{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(330px,1fr);gap:26px;align-items:start}.asset-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.asset-card{padding:0;text-align:left;display:block;border:1px solid #e5e7eb;border-radius:10px;overflow:hidden;position:relative;width:100%;transition:border-color .18s,box-shadow .18s}.asset-card:hover{border-color:#c2c7ce;background:white;box-shadow:0 5px 16px #1f293708}.asset-card.selected{border-color:#d7ac47;box-shadow:0 0 0 1px #e9ca83}.thumb{height:165px;background:radial-gradient(ellipse at 50% 35%,#fafbfc,#f1f3f5);display:flex;align-items:center;justify-content:center;position:relative}.thumb img{height:91%;width:91%;object-fit:contain;transition:transform .25s}.asset-card:hover img{transform:scale(1.055)}.usd-label{position:absolute;left:10px;top:10px;border:1px solid #e1e4e9;color:#939aa3;background:#ffffffa8;font-size:10px;padding:3px 5px;border-radius:4px}.selected-check{position:absolute;right:10px;top:10px;background:#e8b849;color:white;width:18px;height:18px;border-radius:50%;font-size:11px;display:flex;align-items:center;justify-content:center}.card-info{padding:13px 13px 11px}.card-info h3{font-size:14px;font-weight:550;margin:0 0 7px}.card-info p{display:flex;justify-content:space-between;font-size:11px;color:#8d949e;margin:0}.card-info .category{font-size:11px;color:#798291;margin-bottom:12px}.show-more{width:100%;margin-top:19px;color:#737b88;font-size:12px}.inspector-heading{display:flex;justify-content:space-between;align-items:center;padding:13px 17px;border-bottom:1px solid #e8e9ec}.eyebrow{font-size:10px;letter-spacing:1.5px;color:#8a929e;font-weight:600}aside{border:1px solid #e2e5e9;border-radius:10px;overflow:hidden;position:sticky;top:20px;background:white}#viewport{height:310px;background:radial-gradient(ellipse at 50% 28%,#fbfcfd,#eef0f3);position:relative;overflow:hidden}#preview-image{height:87%;width:90%;object-fit:contain;position:absolute;left:5%;top:5%}#canvas{width:100%;height:100%;display:none;touch-action:none}.viewer-badge{position:absolute;top:13px;left:14px;background:#ffffffb5;border:1px solid #e5e7ea;border-radius:5px;padding:4px 7px;color:#8e95a0;font-size:10px}.icon-btn{border:1px solid #dfe2e7;border-radius:5px;padding:4px 7px;background:#ffffffcd;font-size:17px;height:29px;min-width:29px}#fullscreen{position:absolute;top:13px;right:14px}.viewer-bottom{position:absolute;bottom:12px;left:14px;right:14px;display:flex;align-items:center;justify-content:space-between;font-size:10px;color:#9098a4;pointer-events:none}.viewer-bottom div{display:flex;gap:5px;pointer-events:auto}.inspector-body{padding:20px}.asset-title-line{display:flex;justify-content:space-between;align-items:center;gap:10px}h2{font-size:23px;font-weight:600;letter-spacing:-.6px;margin:0}.asset-title-line .tag{font-size:10px}.file-path{font-family:ui-monospace,monospace;color:#8a929f;font-size:11px;margin-top:7px;overflow-wrap:anywhere}#asset-description{font-size:13px;line-height:1.7;color:#7e8793;margin:17px 0}.asset-meta{display:grid;grid-template-columns:1fr 1fr;gap:15px;border-top:1px solid #eceef1;border-bottom:1px solid #eceef1;padding:15px 0;font-size:12px}.asset-meta span{display:block;color:#969da7;font-size:11px;margin-bottom:5px}.asset-meta b{font-weight:500;color:#525c6b}.variant-row{display:flex;justify-content:space-between;align-items:center;margin:17px 0;font-size:12px;color:#8b929e}#swatches{display:flex;gap:9px}.swatch{background:var(--swatch);border:2px solid white;outline:1px solid #e1e4e8;width:20px;height:20px;min-width:20px;border-radius:50%;padding:0}.swatch.active{outline:1.5px solid #a0a6af}.swatch:hover{background:var(--swatch)}.download-btn{display:flex;justify-content:space-between;width:100%;background:#fff7df;border-color:#ecd595;color:#85601e;font-size:13px;padding:11px 12px}.download-btn:hover{background:#ffefbf;border-color:#d7b55f}.asset-update{display:flex;gap:9px;margin-top:19px;font-size:10px;line-height:1.7;color:#9299a4}.avatar.small{width:25px;height:25px;font-size:9px;background:#e6edf5;color:#667a94}.asset-update b{color:#646e7d;font-weight:500}.asset-update small{font-size:10px;display:block;color:#a0a6b0}footer{border-top:1px solid #eceef1;margin-top:45px;padding:24px 0 30px;display:flex;justify-content:space-between;gap:16px;color:#999faa;font-size:11px}footer>span:first-child{font-size:13px}.tab-panel[hidden]{display:none}.empty{padding:70px 20px;text-align:center;grid-column:1/-1;color:#89919e}.file-toolbar{display:flex;align-items:center;gap:12px;margin:28px 0 20px}.file-toolbar .history-button{margin-left:auto}.commit-bar{display:flex;align-items:center;gap:12px;background:#f9fafb;padding:15px 18px;border:1px solid #e0e3e8;border-radius:9px 9px 0 0;color:#747d8c;font-size:13px}.commit-bar code{margin-left:auto}.file-table{width:100%;border-collapse:collapse;border:1px solid #e0e3e8;font-size:13px}.file-table td{padding:15px 18px;border-bottom:1px solid #e8eaee;color:#818996}.file-table td:first-child{color:#364151;font-weight:500}.file-table tr:hover{background:#fafbfc}.file-table button{padding:0;border:0;background:none;font-size:13px}.files-note{color:#9198a3;font-size:12px;margin:16px 0}.history-layout{display:grid;grid-template-columns:1fr 1fr;gap:30px;margin:25px 0}.history-list{border-left:1px solid #e0e4e9;margin-left:12px;padding-left:25px}.commit{display:block;text-align:left;padding:17px;margin:0 0 15px;width:100%;background:#fafbfc}.commit h3{margin:0 0 10px;font-size:15px}.commit p{font-size:12px;color:#8b929f;margin:0;line-height:1.8}.commit.active{border-color:#d7b055;background:#fffcf3}.diff{background:#f9fafb;border:1px solid #e2e5ea;border-radius:9px;padding:22px;align-self:start;overflow:auto}.diff h3{font-size:15px;margin-top:0}.diff p{font-size:13px;color:#798391;line-height:1.7}.diff pre{font-size:12px;line-height:1.9;white-space:pre-wrap;color:#687385}.addition{display:block;color:#2a7858;background:#eaf7ee}.removal{display:block;color:#ac5154;background:#fff0f0}.article{max-width:810px;margin:35px auto;color:#636e7d;font-size:16px;line-height:1.8}.article h2,.article h3{color:#303a49}.article h3{font-size:18px;margin-top:30px}.article .callout{background:#fffaf0;border:1px solid #efe2c6;border-radius:8px;padding:18px 22px;font-size:14px}.article table{width:100%;border-collapse:collapse;font-size:14px}.article td{border-bottom:1px solid #e6e9ee;padding:12px 0}.discussion{display:flex;gap:15px;padding:23px 0;border-bottom:1px solid #e3e6eb}.discussion h3{font-size:16px;margin:0 0 8px}.discussion p{font-size:14px;margin:0;color:#8a929e}.discussion .tag{margin-left:auto;align-self:start}.community-intro{font-size:13px;color:#9199a5}.community-list{padding-top:25px}.community-list h2{margin-bottom:10px}.close{position:absolute;right:15px;top:15px}dialog{border:1px solid #e1e5eb;border-radius:14px;width:min(620px,calc(100vw - 30px));padding:32px;color:#364151;box-shadow:0 25px 120px #11182725}dialog::backdrop{background:#17233450;backdrop-filter:blur(3px)}dialog h2{font-size:23px;margin:0 0 10px}dialog p{line-height:1.7;color:#7c8796;font-size:14px}dialog pre{padding:18px;background:#f6f7f9;border:1px solid #e3e7ec;border-radius:7px;font-size:12px;line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere}dialog .modal-note{font-size:12px;color:#9099a6}#toast{position:fixed;bottom:25px;left:50%;transform:translate(-50%,20px);background:#222b36;color:white;box-shadow:0 7px 30px #0002;border-radius:8px;padding:13px 20px;opacity:0;transition:.2s;pointer-events:none;font-size:13px;z-index:100}#toast.visible{opacity:1;transform:translate(-50%,0)}#viewport:fullscreen{height:100vh;width:100vw;background:#f0f2f4}.icon-btn.active{background:#fff1c7;border-color:#d9b552}@media(min-width:1500px){.thumb{height:190px}}@media(max-width:1150px){.topbar{gap:18px}.global-search{width:240px}nav{gap:15px}nav a:nth-child(-n+2){display:none}.workspace{grid-template-columns:minmax(0,1.4fr) minmax(310px,1fr)}.asset-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.repo-name{font-size:21px}.concept-note{margin-left:8px}}@media(max-width:800px){main{padding:0 20px}.topbar{padding:0 20px;height:66px}.global-search{display:none}.brand{font-size:18px}nav a{display:none}nav a.nav-active{display:block}.concept-note{display:none}.repo-head{padding-top:25px}.repo-line{flex-wrap:wrap;gap:15px}.repo-name{font-size:20px}.repo-desc{line-height:1.7;font-size:14px}.tabs{gap:20px;overflow:auto;white-space:nowrap}.repo-status{display:none}.tabs button{font-size:12px}.collection-toolbar{align-items:flex-start;flex-direction:column;gap:17px}.toolbar-right{width:100%}.search{flex:1}.workspace{grid-template-columns:1fr}.workspace>aside{position:relative;grid-row:1}.asset-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.thumb{height:140px}#viewport{height:340px}.inspector-body{display:grid;grid-template-columns:1fr 1fr;gap:0 20px}.asset-title-line,.file-path,#asset-description{grid-column:1/-1}.asset-meta{grid-column:1;grid-row:4/7}.variant-row,.download-btn,.asset-update{grid-column:2}.asset-update{margin-top:10px}footer{flex-direction:column}.history-layout{grid-template-columns:1fr}.file-table td:nth-child(2){display:none}}@media(max-width:500px){.concept-bar{font-size:10px}.brand{font-size:16px}.topbar{gap:12px}.user{display:none}.repo-name{font-size:17px;gap:8px}.repo-name .verified{display:none}.repo-actions{width:100%;justify-content:space-between}.tabs{gap:18px}.asset-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.thumb{height:150px}.categories{gap:6px}.categories button{font-size:11px;padding:7px 8px}.inspector-body{display:block}.asset-meta{margin-top:14px}.asset-update{margin-top:18px}.file-toolbar{flex-wrap:wrap}.commit-bar{font-size:11px}.commit-bar code{display:none}.repo-desc{font-size:13px}h1{font-size:18px}.file-table td{padding:13px 10px}}
/* Readable type at normal and enlarged browser text sizes. */
.repo-desc{font-size:16px}.collection-toolbar p,input::placeholder,.repo-actions button,.tabs button,.categories button,.search input,.download-btn,.variant-row,#asset-description{font-size:14px}.card-info .category,.card-info p,.usd-label,.viewer-badge,.viewer-bottom,.file-path,.asset-meta span,.asset-meta,.asset-update,.asset-update small,.eyebrow,.asset-title-line .tag,footer,.categories button span,nav small{font-size:12px}.card-info h3{font-size:15px}.asset-update{line-height:1.7}.asset-title-line .tag{white-space:nowrap}#asset-description{line-height:1.65}.repo-name{overflow-wrap:anywhere}.asset-card{min-width:0}.card-info h3{overflow-wrap:anywhere}.tabs button{font-size:14px}.file-path{line-height:1.7}button:disabled{opacity:.45;cursor:default}@media(max-width:500px){.categories button{font-size:12px}.tabs button{font-size:13px}.repo-name{font-size:17px}.repo-desc{font-size:14px}.concept-bar{font-size:12px}.concept-divider{display:none}.concept-bar{gap:7px;flex-wrap:wrap}.toolbar-right select{max-width:140px}.collection-toolbar p{font-size:14px}.asset-title-line .tag{font-size:12px}}

.space-link{display:inline-flex;align-items:center;justify-content:center;border:1px solid #dfe2e7;border-radius:7px;padding:9px 13px;font-size:14px;gap:8px}.space-link:hover{background:#f7f8fa}.space-link.dark{color:white;background:#20252d}.topbar .brand .hug{font-size:27px}.topbar .brand .tag{font-size:11px;letter-spacing:.5px}.concept-bar{flex-wrap:wrap}.article li{margin:10px 0}.community-intro{line-height:1.7}@media(max-width:800px){.topbar .brand{font-size:17px}.topbar nav #pilot-feedback{display:block;font-size:13px}.topbar .brand .tag{display:none}.topbar{gap:12px}.repo-actions .space-link{font-size:13px}}
.space-link{display:inline-flex;align-items:center;justify-content:center;border:1px solid #dfe2e7;border-radius:7px;padding:9px 13px;font-size:14px;gap:8px}.space-link:hover{background:#f7f8fa}.space-link.dark{background:#20252d;color:white}.template-callout{margin-top:24px;display:flex;justify-content:space-between;gap:18px;align-items:center;padding:20px 23px;background:#fffaf0;border:1px solid #f0dfb8;border-radius:9px}.template-callout b{font-size:15px;font-weight:600}.template-callout p{color:#8a7a5c;font-size:14px;margin:7px 0 0;line-height:1.5}.template-callout button{background:white;white-space:nowrap;font-size:14px}.thumb-symbol{font-size:52px;color:#c6cdd6}.thumb-image[hidden]{display:none}.detail-link{display:block;font-size:13px;color:#687c9a;margin-top:17px;line-height:1.6}.asset-title-line{margin-bottom:10px}.asset-meta{margin-top:17px}.download-btn{text-decoration:none}.asset-grid .thumb{height:190px}#preview-message{position:absolute;inset:60px 25px;display:flex;align-items:center;justify-content:center;text-align:center;line-height:1.7;color:#758090;font-size:14px}#preview-message[hidden],#preview-image[hidden],#inspector[hidden]{display:none}#canvas{display:block}#preview-image{z-index:1}.viewer-badge,.viewer-bottom,#fullscreen{z-index:2}.setup-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin:30px 0}.setup-step{border:1px solid #e3e6eb;border-radius:10px;padding:23px}.setup-step .step-number{color:#ad842c;font-size:13px;font-weight:600}.setup-step h3{font-size:18px;margin:14px 0 10px}.setup-step p{font-size:14px;line-height:1.7;color:#7b8593}.setup-step a{font-size:14px;text-decoration:underline}.setup-code{padding:22px;background:#f7f8fa;border:1px solid #e4e7ec;border-radius:10px;font-size:13px;line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere}.setup-header{margin:30px 0 15px}.setup-header p{font-size:16px;color:#7f8897;line-height:1.7}.setup-note{font-size:14px;line-height:1.8;color:#7a8594}.empty h2{font-size:23px;color:#394453}.empty p{font-size:15px;line-height:1.8}.file-table th{text-align:left;padding:14px 18px;font-size:13px;font-weight:500;color:#8b93a0;background:#fafbfc}.file-table td{overflow-wrap:anywhere}.repo-name{font-size:21px}.repo-line{align-items:flex-start}.topbar nav{gap:16px}.topbar .tag{font-size:11px}.error-note{background:#fff5ec;padding:16px;border-radius:8px;color:#985b31;font-size:14px}.file-scroll{overflow-x:auto}.tabs{gap:24px}.thumb img{max-height:100%}.brand .hug{font-size:29px}.topbar{max-width:1370px}.collection-toolbar{padding-top:25px}.asset-meta b{overflow-wrap:anywhere}.card-info p{gap:8px}.tag{max-width:100%}@media(max-width:800px){.setup-steps{grid-template-columns:1fr}.template-callout{flex-direction:column;align-items:flex-start}.topbar>.tag{display:none}.topbar nav a{display:none}.topbar nav button{font-size:12px}.topbar{gap:10px}.brand{font-size:17px}.repo-name{font-size:19px}.repo-actions{flex-wrap:wrap}.inspector-body{display:block}.file-table td:nth-child(2){display:table-cell}.tabs{gap:19px}.template-callout{padding:17px}.setup-header p{font-size:15px}}@media(max-width:500px){.brand{font-size:15px}.brand .hug{font-size:23px}.repo-actions .space-link{font-size:12px}.asset-grid .thumb{height:155px}.card-info h3{font-size:14px}.card-info p{font-size:12px}.topbar nav button{padding:8px}.repo-name{font-size:18px}}
.tabs button[aria-selected=true]{border-bottom-color:var(--accent,#e5b23b)}.asset-card.selected{border-color:var(--accent,#e5b23b)}.org-logo{background:var(--accent,#e5b23b)!important}

/* Rigyd fork: physics rows in the inspector */
.physics-head{grid-column:1/-1;margin-top:10px;padding-top:10px;border-top:1px solid rgba(127,127,127,.25);font-weight:600;letter-spacing:.04em;text-transform:uppercase;font-size:11px;opacity:.7}
.asset-meta small{opacity:.65;font-weight:400}
.asset-meta a{color:var(--accent)}

[data-tab="setup"],#template-button,#setup-button,#template-callout{display:none!important}
#show-more[hidden]{display:none!important}
/* Rigyd fork: rows card.js appends, and the joint-limits table inside one */
[data-extra] b{font-weight:500}
[data-extra] small{opacity:.65}
table.jl{width:100%;border-collapse:collapse;font-size:11px;margin-top:4px}
table.jl td{padding:2px 6px 2px 0;border-bottom:1px solid rgba(127,127,127,.15);vertical-align:top}
table.jl td:first-child{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;word-break:break-all}
table.jl td:last-child{text-align:right;white-space:nowrap;opacity:.8}

/* Rigyd fork: the preview is the evidence, so give it half the page.
   The template was built for a gallery of static USD files, where a thumbnail
   beside a long file list made sense. Here the point is the interactive model,
   the collision hulls and the clip, so the viewport gets equal billing and the
   grid drops to two columns rather than squeezing three into half the width. */
.workspace{grid-template-columns:minmax(0,1fr) minmax(420px,1fr);gap:24px}
.asset-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
/* Square, and as wide as the inspector column: these are objects photographed
   from a three-quarter view, so a letterbox wastes the height the tall ones
   need and the camera has to back off to fit a coffee maker. A square pane
   frames a drill and a server blank equally well. */
#viewport{height:auto;aspect-ratio:1;flex:0 0 auto}
aside{top:16px;max-height:calc(100vh - 32px);display:flex;flex-direction:column}
.inspector-body{overflow-y:auto;flex:1;min-height:0;scrollbar-width:thin}

/* Cards: equal height whatever the title length, and a title that cannot push
   the meta line out of alignment across a row. */
.asset-card{display:flex;flex-direction:column;height:100%}
/* The thumbnail is a fixed band, not a flex child to be squeezed: without
   this the taller cards in a row stole its height and the renders shrank to
   slivers. */
.asset-card .thumb{flex:0 0 auto;width:100%;align-self:stretch}
.asset-grid{align-items:stretch}
.card-info{display:flex;flex-direction:column;flex:1;gap:4px}
.card-info h3{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;line-clamp:2;overflow:hidden;margin:0;line-height:1.35;min-height:2.7em}
.card-info .category{margin:0 0 auto}
.card-info p{margin-top:8px;padding-top:8px;border-top:1px solid #f0f1f4}

@media(max-width:1150px){.workspace{grid-template-columns:minmax(0,1fr) minmax(380px,1fr)}
  .asset-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:900px){.workspace{grid-template-columns:1fr}
  aside{max-height:none;display:block}.inspector-body{overflow:visible}
  #viewport{height:380px}}

/* A studio sweep behind the model, not the page's near-white.
   Clear glass has no colour of its own: on a white backdrop a borosilicate
   bottle renders as a white silhouette and reads as opaque plastic, which is
   what it looked like. Against a graphite sweep the walls, the meniscus and
   the printed graduations behind the far wall all separate. The same reason
   @rigyd/simready-viewer and the asset thumbnails use a dark backdrop. */
#viewport{background:radial-gradient(ellipse at 50% 32%,#454c55,#22262c 72%)}
#viewport:fullscreen{background:radial-gradient(ellipse at 50% 32%,#454c55,#1b1f24 72%)}
.viewer-badge{background:#ffffff1f;border-color:#ffffff30;color:#d6dae0}
.viewer-bottom{color:#aeb6c0}
#viewport .icon-btn{background:#ffffff1c;border-color:#ffffff33;color:#e6e9ed}
#viewport .icon-btn:hover{background:#ffffff2e}
#viewport .icon-btn.active{background:#f9c84e;border-color:#f9c84e;color:#2a2200}
#preview-message{color:#c3c9d1}

/* Rigyd fork: the Collection card tab, as a report rather than boilerplate. */
.report{max-width:960px;margin:34px auto 60px;color:#4b5563;font-size:15px;line-height:1.75}
.report h2{font-size:27px;margin:16px 0 6px;color:#222933;letter-spacing:-.6px}
.report h3{font-size:17px;margin:38px 0 10px;color:#2a313b;letter-spacing:-.2px}
.report .lede{font-size:17px;color:#687180;line-height:1.65;margin:0 0 6px}
.report p{margin:12px 0}
.report code{background:#f3f4f6;border:1px solid #e7e9ed;border-radius:4px;padding:1px 5px;font-size:13px}
.report ul{padding-left:20px}.report li{margin:9px 0}
.figs{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin:26px 0 8px}
.fig{border:1px solid #e5e7eb;border-radius:10px;padding:16px 17px;background:#fcfcfd}
.fig b{display:block;font-size:27px;font-weight:600;letter-spacing:-1px;color:#222933;line-height:1.1}
.fig span{display:block;font-size:13px;color:#4b5563;margin-top:3px}
.fig small{display:block;font-size:12px;color:#949aa4;margin-top:4px;line-height:1.5}
table.rt{width:100%;border-collapse:collapse;font-size:13px;margin-top:10px}
table.rt th{text-align:left;font-weight:550;color:#6b7280;border-bottom:1px solid #dfe2e7;padding:8px 10px 8px 0;white-space:nowrap}
table.rt td{padding:9px 10px 9px 0;border-bottom:1px solid #eef0f3;vertical-align:top}
table.rt td:first-child{color:#2f3741}
table.rt td small{display:block;color:#9aa0aa;font-size:11px}
table.rt a{color:#2f3741;text-decoration:underline;text-decoration-color:#d7dbe1;text-underline-offset:3px}
table.rt a:hover{text-decoration-color:var(--accent,#e5b23b)}
table.rt td.warn{color:#b45309;font-weight:600}
.rt-scroll{overflow-x:auto}
.rt-note{font-size:13px;color:#9299a3}
@media(max-width:800px){.figs{grid-template-columns:repeat(2,1fr)}.report{margin-top:24px}}
@media(max-width:500px){.figs{grid-template-columns:1fr}}
/* Licensing is not settled at the review stage, so the header chip is empty
   and an empty chip should not draw as a blank pill. */
#license:empty{display:none}

/* The thumbnails are rendered on #1a1a1a (sampled from the PNG's own corner
   pixel), so a light container drew a grey letterbox frame around every one.
   Match the render's background and the seam disappears. */
.thumb{background:#1a1a1a}
.thumb img{height:100%;width:100%;transition:none}
/* No hover zoom: it crops the render and reads as a storefront, not a review. */
.asset-card:hover img{transform:none}

/* Joint controls, over the preview's bottom-left corner. NVIDIA asked for
   "tests confirming joint limits"; the card prints the numbers, and this lets
   a reviewer drive each joint to its authored stop and watch it hold. The
   slider ends ARE the limits, so there is nothing to read off-screen. */
#joint-panel{position:absolute;left:12px;bottom:46px;z-index:3;width:228px;
  max-height:calc(100% - 96px);display:flex;flex-direction:column;
  background:rgba(16,19,24,.76);backdrop-filter:blur(10px);
  border:1px solid rgba(255,255,255,.13);border-radius:9px;
  color:#e8eaee;font-size:11px;overflow:hidden}
#viewport.showing-demo #joint-panel{display:none}
.joint-head{display:flex;align-items:center;justify-content:space-between;
  gap:8px;padding:8px 10px;border-bottom:1px solid rgba(255,255,255,.1);
  font-weight:600;letter-spacing:.02em}
.joint-head small{opacity:.55;font-weight:500;margin-left:4px}
.joint-reset{background:transparent;border:1px solid rgba(255,255,255,.18);
  color:inherit;border-radius:5px;padding:2px 7px;font-size:10px}
.joint-reset:hover{background:rgba(255,255,255,.1);
  border-color:rgba(255,255,255,.3)}
.joint-list{overflow-y:auto;padding:8px 10px 10px;scrollbar-width:thin;
  display:flex;flex-direction:column;gap:9px}
.joint-row{display:grid;grid-template-columns:1fr auto;gap:2px 8px;cursor:pointer}
.joint-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;opacity:.82}
.joint-row b{font-variant-numeric:tabular-nums;font-weight:600;opacity:.95}
.joint-row input[type=range]{grid-column:1/-1;width:100%;height:14px;margin:0;
  accent-color:var(--accent,#f9c84e);background:transparent}

/* The pane is square now, so a dozen sliders would fill it. Cap the list and
   let it scroll; the model is the thing being reviewed. */
#joint-panel{max-height:min(54%,300px)}

/* The loading spinner, in place of the asset's thumbnail. The template fades
   the Blender still in behind the message, which reads as a finished render
   of the thing the viewer has not drawn yet. */
#preview-spinner{position:absolute;left:50%;top:calc(50% - 26px);z-index:2;
  width:34px;height:34px;margin:-17px 0 0 -17px;border-radius:50%;
  border:2px solid rgba(255,255,255,.16);
  border-top-color:var(--accent,#f9c84e);
  animation:preview-spin .8s linear infinite}
#preview-spinner[hidden]{display:none}
@keyframes preview-spin{to{transform:rotate(1turn)}}
@media(prefers-reduced-motion:reduce){
  #preview-spinner{animation-duration:2.4s}}

/* ---- Inspector, second pass -------------------------------------------
   The card was pinned to the viewport height with its body scrolling inside,
   which is right for a short file listing and wrong here: the physics block
   runs to twenty rows and a reviewer met it cut off mid-word, with a second
   scrollbar inside the page's own. The card now runs to its full length and
   scrolls with the page. */
aside{position:static;max-height:none;display:block}
.inspector-body{overflow:visible;padding-bottom:22px}

/* The joint drawer, collapsed. Open it covers the asset it demonstrates, so
   it opens on a click and closes again; shut, the bar still carries the one
   number a reviewer wants before touching anything — how many joints. */
#joint-panel{left:12px;bottom:46px;width:auto;max-width:252px;max-height:none}
#joint-panel .joint-list{display:none}
#joint-panel.open{width:252px}
#joint-panel.open .joint-list{display:flex;max-height:min(46vh,320px)}
#joint-panel .joint-reset{display:none}
#joint-panel.open .joint-reset{display:inline-block}
.joint-head{border-bottom:0}
#joint-panel.open .joint-head{border-bottom:1px solid rgba(255,255,255,.1)}
.joint-toggle{display:flex;align-items:center;gap:7px;background:transparent;
  border:0;padding:0;color:inherit;font-size:11px;font-weight:600;
  letter-spacing:.02em}
.joint-toggle:hover{background:transparent}
.joint-toggle small{opacity:.55;font-weight:500;
  font-variant-numeric:tabular-nums}
.joint-caret{display:inline-block;font-size:9px;opacity:.6;
  transition:transform .18s ease}
#joint-panel.open .joint-caret{transform:rotate(90deg)}
@media(prefers-reduced-motion:reduce){.joint-caret{transition:none}}

/* Mass and size are what someone checks first, so they are read before the
   label rather than after it. The rest of the block keeps the template's
   even rhythm. */
.asset-meta>div:nth-child(-n+2) b{font-size:15px}

/* The collapsed conformance list on the asset card. 136 rows per asset: open
   by request, scrolling inside its own box so it never pushes the download
   button off the card. */
details.vchecks{margin-top:10px;border-top:1px solid var(--line,#e5e7eb);padding-top:8px}
details.vchecks>summary{cursor:pointer;font-weight:600;font-size:12px;list-style:none;
  display:flex;align-items:baseline;gap:8px}
details.vchecks>summary::-webkit-details-marker{display:none}
details.vchecks>summary::before{content:'▸';font-size:10px;opacity:.6}
details.vchecks[open]>summary::before{content:'▾'}
details.vchecks>summary small{font-weight:400;opacity:.65;font-size:11px}
table.vc{width:100%;border-collapse:collapse;margin-top:8px;display:block;
  max-height:min(52vh,420px);overflow:auto}
table.vc td{vertical-align:top;padding:4px 6px 4px 0;border-bottom:1px solid rgba(0,0,0,.05);
  font-size:11.5px;line-height:1.35}
table.vc td.vc-code{white-space:nowrap;font-variant-numeric:tabular-nums;opacity:.7;width:1%}
table.vc td.vc-status{white-space:nowrap;font-weight:600;width:1%}
table.vc td b{font-weight:500;display:block}
table.vc td small{display:block;opacity:.65;margin-top:2px}
/* The card is a two-column grid of label/value pairs, so a row carrying a
   table got 204px to render three columns in. Anything with a table takes the
   full width instead — the joint limits as well as the conformance list. */
.asset-meta>div:has(table){grid-column:1/-1}
.asset-meta>div:has(table)>b{display:block}

/* #asset-meta is a two-column grid, so a row holding a table, a paragraph of
   runner output or a list of download links gets squeezed into ~204px. Those
   rows say so with [data-wide] and take the full width. */
.asset-meta>div:has([data-wide]){grid-column:1/-1}
.asset-meta>div:has([data-wide])>b{display:block}
