.tmm-code-shell {
  position: relative;
  max-width: 100%;
  margin: 0 0 20px;
  direction: ltr;
  isolation: isolate;
}

.tmm-code-shell > pre.tmm-code-block,
.entry .tmm-code-shell > pre.tmm-code-block,
.entry-content .tmm-code-shell > pre.tmm-code-block {
  box-sizing: border-box;
  display: block;
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 38px 18px 16px;
  overflow-x: auto;
  overflow-y: hidden;
  white-space: pre;
  overflow-wrap: normal;
  word-break: normal;
  background: #fff;
  background-image: none;
  border: 1px solid #d9e0e3;
  border-radius: 5px;
  box-shadow: none;
  color: #333;
  text-align: left;
  tab-size: 4;
  font: 14px/1.65 Consolas, "Roboto Mono", "Fira Code", "Cascadia Code", "Courier New", monospace;
}

.tmm-code-shell > pre.tmm-code-block > code,
.entry .tmm-code-shell > pre.tmm-code-block > code,
.entry-content .tmm-code-shell > pre.tmm-code-block > code {
  display: inline;
  width: auto;
  min-width: 0;
  margin: 0;
  padding: 0;
  overflow: visible;
  border: 0;
  background: transparent;
  color: inherit;
  white-space: inherit;
  text-shadow: none;
  font: inherit;
  line-height: inherit;
}

.tmm-code-shell.tmm-has-lines > pre.tmm-code-block { 
    padding-left: 58px; 
    padding-bottom: 28px;
}
.tmm-code-shell .tmm-code-gutter {
  position: absolute;
  z-index: 1;
  top: 39px;
  bottom: 1px;
  left: 1px;
  box-sizing: border-box;
  width: 43px;
  padding: 0 9px 16px 0;
  overflow: hidden;
  border-right: 1px solid #e4e9ec;
  background: #f7f9fa;
  color: #718392;
  text-align: right;
  pointer-events: none;
  user-select: none;
  font: 14px/1.65 Consolas, "Roboto Mono", "Fira Code", "Cascadia Code", "Courier New", monospace;
}
.tmm-code-shell .tmm-code-gutter span { display: block; }

.tmm-code-shell .tmm-code-copy {
  position: absolute;
  z-index: 2;
  top: 7px;
  right: 8px;
  min-width: 48px;
  min-height: 26px;
  padding: 2px 8px;
  border: 1px solid #cad5d9;
  border-radius: 3px;
  background: #f8fafb;
  color: #365467;
  box-shadow: none;
  cursor: pointer;
  font: 12px/1.4 Arial, sans-serif;
  opacity: .7;
}
.tmm-code-shell:hover .tmm-code-copy,
.tmm-code-shell .tmm-code-copy:focus-visible { opacity: 1; }
.tmm-code-shell .tmm-code-copy:hover { background: #eef4f5; }
.tmm-code-shell .tmm-code-copy:focus-visible { outline: 2px solid #087e8b; outline-offset: 2px; }
.tmm-code-shell .tmm-code-label {
  position: absolute;
  top: 11px;
  left: 13px;
  color: #687d88;
  font: 11px/1.4 Arial, sans-serif;
}

.tmm-code-shell .token.comment,
.tmm-code-shell .token.prolog,
.tmm-code-shell .token.doctype { color: #747d83; font-style: italic; }
.tmm-code-shell .token.keyword,
.tmm-code-shell .token.control-flow,
.tmm-code-shell .token.arduino-function { color: #ac4b00; }
.tmm-code-shell .token.function,
.tmm-code-shell .token.generic-function { color: #a34800; }
.tmm-code-shell .token.string,
.tmm-code-shell .token.char,
.tmm-code-shell .token.attr-value { color: #06705e; }
.tmm-code-shell .token.number { color: #945000; }
.tmm-code-shell .token.constant,
.tmm-code-shell .token.boolean,
.tmm-code-shell .token.arduino-constant { color: #006d82; }
.tmm-code-shell .token.class-name,
.tmm-code-shell .token.arduino-class { color: #087568; }
.tmm-code-shell .token.arduino-object { color: #ac4b00; }
.tmm-code-shell .token.directive,
.tmm-code-shell .token.macro,
.tmm-code-shell .token.property,
.tmm-code-shell .token.tag { color: #176b9a; }
.tmm-code-shell .token.punctuation,
.tmm-code-shell .token.operator { color: #414b50; }

@media (max-width: 600px) {
  .tmm-code-shell > pre.tmm-code-block { font-size: 13px; }
  .tmm-code-shell .tmm-code-gutter { font-size: 13px; }
  .tmm-code-shell .tmm-code-copy { opacity: 1; min-height: 30px; }
}
