/* Approved entry presentation, shared by every existing and future catalog entry. */
.repository-drawer .drawer-body>.drawer-visual{margin:18px 0 0}.repository-drawer .drawer-visual[hidden]{display:none}
#repo-dialog.repository-drawer{width:540px;max-width:100vw;background:#fff;color:#121821;border-left:1px solid #e3e5e8;box-shadow:-16px 0 60px #11182718;font-family:Inter,Arial,sans-serif}
#repo-dialog.repository-drawer::backdrop{background:#14171970}
.repository-drawer .drawer-header{display:flex;align-items:center;gap:12px;padding:26px 22px 18px;background:#fff;position:relative}
.repository-drawer .drawer-icon{display:grid;place-items:center;flex:0 0 54px;height:54px;border:1px solid #e2e5e9;border-radius:12px;background:#faf9f6;color:#9e5631;font-size:20px;font-weight:700}
.drawer-identity{min-width:0;flex:1}.drawer-identity strong{display:block;font-size:16px;letter-spacing:-.5px;line-height:1.3}.drawer-identity span{display:block;color:#737b87;font-size:12px;line-height:1.4;margin-top:4px}
.drawer-stats{text-align:right;align-self:center;white-space:nowrap}.drawer-stats strong{display:block;color:#ff4e22;font-size:14px;font-weight:600}.drawer-stats small{display:block;color:#858b98;font-size:10px;margin-top:5px}
.repository-drawer .close-dialog{align-self:flex-start;flex:0 0 36px;min-width:36px;min-height:36px;width:36px;height:36px;border:0;border-radius:12px;background:#f4f4f5;color:#121821}
.drawer-body{padding:0 22px 28px}.drawer-visual{margin:0 0 18px;aspect-ratio:2/1;border:1px solid #e4e6ea;border-radius:12px;background:#fafafa;overflow:hidden;display:grid;place-items:center;position:relative}
.drawer-visual>img{width:100%;height:100%;object-fit:contain;min-height:0;position:absolute;inset:0}.drawer-visual>[hidden]{display:none}
.drawer-visual-fallback{width:100%;height:100%;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;padding:28px;background:#f7f6f2;color:#172024}
.drawer-visual-fallback span{text-transform:uppercase;font-size:10px;letter-spacing:1.4px;color:#6d736c}.drawer-visual-fallback strong{font-size:clamp(28px,3vw,40px);line-height:1.1;letter-spacing:-1.8px;margin:12px 0}.drawer-visual-fallback small{font-size:11px;color:#71756d;max-width:36ch}
.repository-drawer :is(#dialog-title,h1){font-size:44px;line-height:1.06;letter-spacing:-2px;font-weight:780;margin:0 0 5px;color:#111820;overflow-wrap:anywhere}
.drawer-headline{font-size:23px;line-height:1.17;letter-spacing:-.7px;font-weight:500;color:#505662;margin:0 0 14px}
.drawer-actions{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin:0 0 10px}.drawer-actions>a,.drawer-actions>button{display:flex;align-items:center;justify-content:center;gap:10px;min-width:0;min-height:54px;border:1px solid #dfe2e7;border-radius:11px;font-family:inherit;font-size:14px;font-weight:600;line-height:1.2;text-decoration:none;background:#fff;color:#151b24;padding:10px}
.drawer-actions>.drawer-grab{background:#ff4e22;border-color:#ff4e22;color:#fff;font-size:17px}.drawer-actions .icon{width:22px;height:22px;flex-shrink:0}.drawer-actions a .icon:last-child{width:15px;height:15px}
.drawer-permalink{display:flex;align-items:center;gap:12px;background:#f8f8f9;border:1px solid #dfe2e7;border-radius:11px;padding:5px 12px;color:#656d7a;min-height:38px;font-size:12px}.drawer-permalink>a{color:inherit;text-decoration:none;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;flex:1;min-width:0}.drawer-permalink button{border:0;background:none;color:inherit;display:grid;place-items:center;min-height:28px;min-width:28px;padding:0}
.repository-drawer .copy-status{font-size:12px;color:#596159;margin:0;line-height:1.5}.repository-drawer .copy-status:not(:empty){margin-top:8px}
.drawer-tags{display:flex;flex-wrap:wrap;gap:7px;list-style:none;margin:14px 0 16px;padding:0}.drawer-tags li{font-size:12px;padding:6px 16px;background:#f3f4f6;color:#3f4753;border:1px solid #e5e7eb;border-radius:22px}
.drawer-explanation{font-size:14px;line-height:1.45;color:#505662;margin:0 0 12px}.drawer-barrier{font-size:12px;line-height:1.5;color:#606975;margin:0 0 14px}
.drawer-section{margin:4px 0;border:1px solid #e3e6eb;border-radius:11px;font-size:14px}.drawer-section>summary{display:flex;align-items:center;gap:10px;min-height:37px;padding:8px 13px;cursor:pointer;list-style:none;font-weight:650;line-height:1.3}.drawer-section>summary::-webkit-details-marker{display:none}.drawer-section>summary span{flex:1}.drawer-section>summary>.icon{width:16px;height:16px}.drawer-section[open]>summary>.icon:last-child{transform:rotate(180deg)}
.drawer-section-body{padding:2px 15px 14px;color:#505662;font-size:13px;line-height:1.55;overflow-wrap:anywhere}.drawer-section-body ul{padding-left:19px}.drawer-section-body li{margin:8px 0}.drawer-section-body a{color:#343d4b}.drawer-section-body>a{display:block;margin:10px 0}.drawer-section-body pre{font:11px/1.5 monospace;white-space:pre-wrap;overflow-wrap:anywhere;max-height:280px;overflow:auto}.drawer-claims small{display:block;font-size:11px;color:#787f87}.drawer-claims blockquote{margin:8px 0;padding-left:12px;border-left:2px solid #e7e8eb;font-size:12px}
.repository-drawer :is(button,a,summary):focus-visible{outline:3px solid #e65b2e;outline-offset:3px}
@media(max-width:600px){#repo-dialog.repository-drawer{width:100vw;border:0}.repository-drawer .drawer-header{padding:18px 16px 14px;gap:9px}.drawer-body{padding:0 16px 24px}.repository-drawer .drawer-icon{flex-basis:42px;height:42px;font-size:16px}.drawer-identity strong{font-size:14px}.drawer-identity span{font-size:10px}.drawer-stats strong{font-size:12px}.drawer-stats small{font-size:9px}.repository-drawer :is(#dialog-title,h1){font-size:36px;letter-spacing:-1.5px}.drawer-headline{font-size:20px}.drawer-actions>a,.drawer-actions>button{font-size:12px;gap:7px}.drawer-actions>.drawer-grab{font-size:15px}.drawer-tags li{padding:5px 11px;font-size:11px}.drawer-visual-fallback{padding:20px}.drawer-visual-fallback strong{font-size:30px}}

@media(max-width:380px){.drawer-actions>button,.drawer-actions>a{padding:8px 6px;gap:6px;white-space:nowrap}.drawer-actions>.drawer-grab{font-size:14px}.drawer-actions .icon{width:18px;height:18px}.drawer-actions a span{white-space:normal}.drawer-tags{gap:6px}}

.project-standard{max-width:640px;margin:0 auto;background:#fff;border:1px solid #e3e6eb;border-radius:12px;color:#121821;font-family:Inter,Arial,sans-serif}.project-standard .drawer-header{border-radius:12px 12px 0 0}.project-standard .drawer-body h1{font-size:44px;line-height:1.06;font-weight:780;margin:0 0 5px;letter-spacing:-2px}.project-standard .drawer-visual{margin-bottom:18px}.project-standard .drawer-explanation{font-size:14px;line-height:1.45}.project-standard .drawer-tags{padding-left:0}.project-standard .drawer-section summary{font-size:14px}.project-standard .icon{stroke:currentColor;fill:none;stroke-width:1.8;width:18px;height:18px}.project-standard .drawer-actions{margin-top:0}@media(max-width:600px){.project-standard .drawer-body h1{font-size:36px}}

.drawer-identity strong{overflow-wrap:anywhere}.drawer-visual-fallback strong{max-width:100%;overflow-wrap:anywhere;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;flex-shrink:0}.drawer-visual-fallback{overflow:hidden}.drawer-visual-fallback small{flex-shrink:0}@media(max-width:600px){.drawer-visual-fallback strong{font-size:clamp(20px,6vw,24px);letter-spacing:-1px;margin:3px 0}.drawer-visual-fallback{padding:10px 12px}.drawer-visual-fallback span{font-size:9px;line-height:1.2}.drawer-visual-fallback small{font-size:10px;line-height:1.25}}
/* Optional learning video, loaded only when expanded. */
.drawer-learning-player{aspect-ratio:16/9;width:100%;background:#141414;border-radius:8px;overflow:hidden;margin:8px 0}.drawer-learning-player iframe,.drawer-learning-player video{display:block;width:100%;height:100%;border:0}.drawer-section-body>.drawer-learning-source{font-size:11px;margin:8px 0 0;color:#606975}

.drawer-learning-video{margin:18px 0}.drawer-learning-video h3{font-size:14px;font-weight:650;line-height:1.3;margin:0 0 10px}.drawer-learning-video>.drawer-learning-source{display:block;font-size:11px;color:#606975;margin:8px 0 0;text-decoration:none}

