.murray-mechanism.has-historical-code{gap:8px;align-items:stretch;text-align:left;justify-content:center}
.murray-code-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:38px;font-size:16px}
.murray-code-heading>b{font-size:24px;color:var(--mint)}
.murray-code-table{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:5px}
.murray-code-table button{padding:3px 2px;min-height:42px;display:flex;align-items:center;justify-content:center;gap:3px}
.murray-code-table b{font-size:19px}.murray-code-table svg{width:22px;height:20px}.murray-code-table .is-panel{fill:var(--text)}.murray-code-table .is-sky{fill:transparent;stroke:var(--muted);stroke-width:.7}
.murray-code-table button.selected,.murray-code-services button.selected,.chappe-word-choices button.selected,.chappe-code-tabs button.selected,.chappe-code-steps button.selected{background:var(--mint);color:#102d27;border-color:var(--mint);font-weight:700}
.murray-code-table .selected .is-panel{fill:#102d27}.murray-code-table .selected .is-sky{stroke:#102d27}
.murray-code-services{display:flex;gap:6px}.murray-code-services button{flex:1;padding:6px 4px;font-size:13px}
.optical-code-source{font-size:13px;line-height:18px;min-height:18px}
.murray-small-mechanism{display:flex;align-items:center;gap:12px;border-top:1px solid var(--line);padding-top:9px}
.murray-small-mechanism .murray-side{width:88px;height:88px;flex-shrink:0}.murray-small-mechanism .murray-side-panel{top:12px;left:41px;width:6px;height:64px}.murray-small-mechanism .murray-side-axle{top:38px;left:38px;width:12px;height:12px;border-width:2px}
.murray-small-mechanism>div:last-child{display:flex;flex-direction:column;gap:5px}.murray-small-mechanism h3{font-size:15px;margin:0}.murray-small-mechanism b{font-size:15px;min-height:40px}.murray-small-mechanism span{font-size:14px}
.chappe-code-tabs{display:flex;gap:7px;flex-shrink:0}.chappe-code-tabs button{flex:1;padding:6px;font-size:14px}
.chappe-controls[data-code-view=vocabulary] .chappe-free-controls,.chappe-controls[data-code-view=free] .chappe-vocabulary{display:none}
.chappe-free-controls{display:flex;flex-direction:column;gap:12px}
.chappe-controls .chappe-vocabulary{display:flex;flex-direction:column;gap:13px}
.chappe-word-choices{display:flex;flex-wrap:wrap;gap:6px}.chappe-word-choices button{font-size:15px;padding:7px 9px}
.chappe-code-explanation{font-size:16px;line-height:23px}
.chappe-code-steps{display:flex;align-items:center;gap:8px}.chappe-code-steps button{flex:1;font-size:17px;padding:11px 7px;font-variant-numeric:tabular-nums}
.chappe-word-result{border:1px solid var(--line);border-radius:7px;padding:10px;min-height:86px;display:flex;flex-direction:column;gap:6px}.chappe-word-result span{font-size:15px;color:var(--muted)}.chappe-word-result strong{font-size:28px;line-height:34px;color:var(--mint)}
#chappeCodePlay{align-self:flex-start;min-width:135px;font-size:16px;padding:8px}
.chappe-code-note{font-size:14px;line-height:20px;color:var(--muted)}
@media(max-height:780px){.chappe-controls .chappe-vocabulary{gap:9px}.chappe-word-result{min-height:75px;padding:7px}.murray-code-table button{min-height:37px}.murray-code-heading{font-size:14px;min-height:30px}.murray-code-heading>b{font-size:21px}.murray-small-mechanism .murray-side{width:72px;height:72px}.murray-small-mechanism .murray-side-panel{top:10px;left:33px;height:52px}.murray-small-mechanism .murray-side-axle{top:30px;left:30px}.murray-mechanism.has-historical-code{gap:6px}}
.chappe-controls[data-code-view=demo] .chappe-free-controls,.chappe-controls[data-code-view=demo] .chappe-vocabulary,.chappe-controls:not([data-code-view=demo]) .chappe-demo{display:none}
.chappe-work:has([data-code-view=demo]){grid-template-columns:minmax(150px,.65fr) minmax(0,2.7fr);gap:16px}
.chappe-controls[data-code-view=demo]{justify-content:flex-start;gap:8px}
.chappe-controls[data-code-view=demo] .chappe-demo{display:flex;flex:1;min-height:0;gap:7px}
.chappe-demo-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:17px}
.chappe-demo-heading>div{display:flex;gap:6px}.chappe-demo-heading button{min-width:78px;padding:5px 10px}
.chappe-demo-heading button.selected{background:var(--blue);color:#071728;border-color:var(--blue);font-weight:700}
.chappe-demo-disclaimer{margin:0;color:var(--amber);font-size:13px;line-height:17px}
.chappe-demo-words{display:grid;grid-auto-flow:column;grid-template-rows:repeat(23,minmax(0,1fr));grid-template-columns:repeat(4,minmax(0,1fr));gap:2px 7px;min-height:0;flex:1}
.chappe-demo-words button{display:flex;align-items:center;gap:6px;text-align:left;border:1px solid var(--line);border-radius:4px;min-height:0;padding:2px 5px;overflow:hidden;font-size:14px;line-height:17px;background:var(--bg)}
.chappe-demo-words button>span{flex:0 0 20px;font-variant-numeric:tabular-nums;color:var(--blue);text-align:right}
.chappe-demo-words button>b{font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.chappe-demo-words button.selected{background:var(--mint);color:#102d27;border-color:var(--mint)}.chappe-demo-words button.selected>span{color:#102d27;font-weight:700}
.chappe-demo-transmission{display:flex;align-items:center;gap:9px;min-height:40px;flex-shrink:0}.chappe-demo-transmission .chappe-code-steps{flex:1;min-width:0}.chappe-demo-transmission .chappe-code-steps button{flex:0 0 auto;min-width:80px;padding:6px;font-size:16px}.chappe-demo-transmission strong{color:var(--mint);font-size:17px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}.chappe-demo-transmission>[data-chappe-demo-play]{width:125px;flex-shrink:0;padding:7px;font-size:15px}
@media(max-height:800px){.chappe-demo-heading{font-size:15px}.chappe-demo-words button{font-size:13px;line-height:15px;padding:0 4px}.chappe-controls[data-code-view=demo]{gap:5px}.chappe-controls[data-code-view=demo] .chappe-demo{gap:4px}.chappe-controls[data-code-view=demo] .chappe-code-tabs button{font-size:13px;padding:5px 3px}}

.chappe-demo-words button{text-decoration:none!important}
