/* Shared native-card extensions; no changes to the existing simulator palette. */
.cr-depth,.cr-instructor-panel{margin:1rem 0;padding:clamp(.75rem,2vw,1.25rem);border:1px solid var(--line,#7188a0);border-radius:14px;background:var(--panel,transparent);min-width:0}.cr-depth h3,.cr-depth h4{margin:.5rem 0}.cr-depth p{line-height:1.65;overflow-wrap:anywhere}.cr-depth .cr-equation{font-family:ui-monospace,Consolas,monospace;border-left:3px solid #6298ce;padding:.7rem .9rem;background:rgba(74,130,190,.09);border-radius:6px;line-height:1.6;overflow-wrap:anywhere}.cr-depth details,.cr-instructor-panel details{margin:.7rem 0;padding:.65rem;border:1px solid var(--line,#7891ad);border-radius:9px}.cr-depth summary,.cr-instructor-panel summary{cursor:pointer;font-weight:650}.cr-depth pre,.cr-instructor-panel pre{max-width:100%;max-height:24rem;overflow:auto;white-space:pre;tab-size:4;padding:.8rem;border-radius:8px;background:#102841;color:#e5f0ff;font: .85rem/1.5 ui-monospace,Consolas,monospace}.cr-depth .cr-trace-scroll{overflow-x:auto;max-width:100%}.cr-depth table{width:100%;border-collapse:collapse;table-layout:fixed}.cr-depth td,.cr-depth th{padding:.5rem;vertical-align:top;border-bottom:1px solid var(--line,#7891ad);overflow-wrap:anywhere}.cr-depth th:first-child{width:4rem}.cr-depth td code{white-space:pre-wrap;word-break:break-word}.cr-instructor-panel{border-left:4px solid #4c8bc6}.cr-instructor-panel .cr-solution-tools{display:flex;gap:.5rem;flex-wrap:wrap;margin:.6rem 0}.cr-instructor-panel [hidden]{display:none!important}.cr-instructor-panel .cr-step{margin:.5rem 0}.cr-instructor-panel summary:focus-visible,.cr-showcase button:focus-visible,.cr-showcase a:focus-visible{outline:3px solid #89bffc;outline-offset:3px}.cr-showcase{color:#eef6ff;background:linear-gradient(125deg,#102841,#1d4567);border:1px solid #466a8b;border-radius:18px;padding:clamp(1rem,3vw,2rem);margin:1rem 0;overflow:hidden;position:relative}.cr-showcase h2,.cr-showcase h3{color:#f2f8ff;margin:.25rem 0}.cr-showcase p,.cr-showcase small{color:#c8deef;line-height:1.5}.cr-showcase .cr-show-card{min-width:0;padding:1rem;background:#173954;border:1px solid #517596;border-radius:12px}.cr-showcase .cr-show-card[hidden]{display:none!important}.cr-showcase .cr-show-card:not([hidden]){animation:cr-show-enter .35s ease-out}.cr-showcase .cr-show-controls{display:flex;align-items:center;gap:.5rem;flex-wrap:wrap;margin-top:1rem}.cr-showcase button,.cr-showcase a.cr-show-action{background:#24568e;color:white;border:1px solid #86b8e6;border-radius:8px;padding:.55rem .8rem;font:inherit;cursor:pointer;text-decoration:none;display:inline-block}.cr-showcase .cr-show-action{font-weight:700}.cr-showcase .cr-show-label{font-size:.76rem;letter-spacing:.09em;text-transform:uppercase;color:#a9d8ff}.cr-showcase .cr-show-card details{margin-top:.8rem;padding:.6rem;border-top:1px solid #52789b}.cr-showcase .cr-show-card summary{cursor:pointer;color:#b7dcff}.cr-showcase .cr-show-card ul{margin:.4rem 0;padding-left:1.2rem}.cr-showcase .cr-show-card a:not(.cr-show-action){color:#c4e3ff}.cr-showcase .cr-show-dots{display:flex;flex-wrap:wrap;gap:.35rem}.cr-showcase .cr-show-dots button{padding:0;width:14px;height:14px;border-radius:50%;background:#416585}.cr-showcase .cr-show-dots button[aria-current=true]{background:#b4dcff}.cr-showcase .cr-show-count{font-size:.9rem;color:#c8deef}.cr-showcase .cr-show-top{display:flex;gap:.8rem;align-items:center;justify-content:space-between;flex-wrap:wrap}.cr-showcase .cr-show-icon{font-size:1.3rem;line-height:1;display:inline-block;color:#b4dcff}.cr-showcase .cr-show-card h3{font-size:clamp(1.15rem,2.5vw,1.7rem)}@keyframes cr-show-enter{from{opacity:.45;transform:translateX(12px)}to{opacity:1;transform:translateX(0)}}@media(prefers-reduced-motion:reduce){.cr-showcase .cr-show-card:not([hidden]){animation:none}}@media(max-width:560px){.cr-showcase .cr-show-card{padding:.75rem}.cr-depth th:first-child{width:2.5rem}.cr-showcase .cr-show-controls{gap:.35rem}}
/* The older .c51-card is a horizontal course-grid tile; the carousel is a full-width panel. */
.cr-showcase .cr-show-card.c51-card{display:block!important;width:100%;max-width:100%;min-width:0;box-sizing:border-box;overflow-wrap:anywhere}.cr-showcase .cr-show-card.c51-card[hidden]{display:none!important}.cr-showcase .cr-show-card>*,.cr-showcase .cr-show-slides{min-width:0;max-width:100%}.cr-showcase .cr-show-card>p{margin:.65rem 0}.cr-showcase .cr-show-card>h3{margin:.65rem 0}.cr-showcase .cr-show-card details{width:100%;box-sizing:border-box}.cr-showcase .cr-show-card .cr-show-top{display:flex!important}.cr-showcase .cr-show-card .cr-show-action{max-width:100%;white-space:normal}.cr-showcase .cr-show-dots{min-width:0;max-width:100%}
