/* Shared, scoped to course entrances and optional native lesson explanations. */
.ce-shell{max-width:1000px;margin:auto;padding:24px;color:#183f36;font-family:system-ui,sans-serif;line-height:1.6}.ce-shell h1{font-size:clamp(1.7rem,4vw,2.8rem);line-height:1.18;max-width:25ch}.ce-shell a{color:#17694e}.ce-shell .ce-lead{font-size:1.15rem;max-width:65ch}.ce-nav{display:flex;flex-wrap:wrap;gap:12px;align-items:center}.ce-nav a{padding:6px 0}.ce-card{margin:20px 0;padding:clamp(16px,3vw,28px);background:#fff;border:1px solid #cbded5;border-radius:18px}.ce-card h2{margin-top:0;font-size:1.35rem}.ce-links{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,230px),1fr));gap:12px;list-style:none;padding:0}.ce-links a{display:block;border:1px solid #bbd8cd;border-radius:12px;padding:14px;background:#f6faf7;text-decoration:none}.ce-links a:hover{text-decoration:underline}.ce-button,.ce-example button,.ce-try button{display:inline-block;min-height:44px;padding:10px 16px;background:#17694e;color:white!important;border:1px solid #17694e;border-radius:9px;font:inherit;cursor:pointer;text-decoration:none;line-height:1.4}.ce-example button:disabled{opacity:.5;cursor:default}.ce-example button[aria-pressed=true]{background:#163c32}.ce-example{max-width:760px;margin:16px 0}.ce-example figure{margin:12px 0}.ce-example img{display:block;width:100%;height:auto;max-width:720px;border-radius:12px;border:1px solid #cbded5}.ce-example figcaption{font-size:.94rem;color:#345b4f;margin:8px 0}.ce-controls{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.ce-steps{padding-left:24px;line-height:1.7}.ce-steps li{padding:4px}.ce-try label{display:block;font-weight:600}.ce-try input{display:block;max-width:100%;box-sizing:border-box;width:260px;padding:12px;border:1px solid #4e7568;border-radius:7px;font:inherit;margin:8px 0}.ce-result{min-height:1.7em;white-space:pre-line}.ce-help{margin:16px 0;border:1px solid #bfd8cc;border-radius:12px;padding:14px;background:#f6faf7}.ce-help>summary{cursor:pointer;min-height:32px;font-weight:600}.ce-help p{max-width:65ch}.ce-help .ce-try{margin:20px 0}.ce-native-link{margin:12px 0}.ce-guide-footer{padding:18px;display:flex;gap:14px;flex-wrap:wrap;border-top:1px solid #bfd8cc}.ce-fraction{display:inline-flex;flex-direction:column;vertical-align:middle;text-align:center;line-height:1.2;font-size:.95em;margin:0 .15em}.ce-fraction>span:first-child{border-bottom:1px solid currentColor;padding:0 .15em}.ce-fraction>span:last-child{padding:.08em .15em 0}.ce-catalog{max-width:1050px}.ce-note{color:#456257;font-size:.94rem}.ce-shell :focus-visible,.ce-help :focus-visible{outline:3px solid #bd510b;outline-offset:3px}@media(max-width:450px){.ce-shell{padding:16px}.ce-card{padding:14px}.ce-controls button{font-size:.95rem}.ce-guide-footer{display:block}.ce-guide-footer a{display:block;margin:8px 0}}
.ce-controls[hidden],.ce-try button[hidden]{display:none!important}
