/* if using asterisks *fname* */
em.fname {
  font-style: normal !important;
  color: lightseagreen;
}

/* if using backticks `fname` */
code.fname2 {
  font-style: normal;
  color: lightseagreen;
  background-color: #f4f4f4; /* Optional: subtle background to make it pop */
  padding: 2px 6px;
  border-radius: 4px;
}

code.fname {
  font-family: ui-monospace, SFMono-Regular, SF Mono, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 0.875em;
  font-weight: 500;
  font-style: normal;
  color: #24292e; 
  background-color: #f6f8fa;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  padding: 0.15em 0.4em;
  white-space: nowrap;
}

/* target only inline code snippets, excluding code blocks inside <pre> */
p > code, li > code {
  font-family: ui-monospace, SFMono-Regular, SF Mono, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 0.875em;
  font-weight: 500;
  font-style: normal;
  color: #24292e; 
  background-color: #f6f8fa;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  padding: 0.15em 0.4em;
  word-break: break-word; /* allows long paths to wrap nicely on mobile lines */
}

/*----------------------------------------------------------------------*/
.kbd { /* keyboard shortcuts */
  font-family: ui-monospace, SFMono-Regular, SF Mono, Menlo, Monaco, Consolas, monospace;
  font-style: normal !important;
  font-size: 0.8em;
  font-weight: 600;
  color: #334155;       
  background-color: #f1f5f9; 
  border: 1px solid #cbd5e1;
  border-radius: 4px; 
  padding: 0.15em 0.45em;
  white-space: nowrap;
}

/*----------------------------------------------------------------------*/
.btn-gray {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-style: normal !important;
  font-size: 0.85em;
  font-weight: 500; 
  color: black;
  background-color: rgb(232, 225, 225); 
  border: 1px solid gray;
  border-radius: 4px;
  
  padding: 0.2em 0.6em;
  margin: 0 0.2em;
  white-space: nowrap;
  display: inline-block;
  line-height: 1.2;
}

/*----------------------------------------------------------------------*/
.menu-path { /* menu navigation paths */
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 0.9em;
  color: #334155; 
  font-weight: 500;
}

/* individual menu items inside the path */
.menu-path span.menu-item {
  background-color: #f8fafc; 
  border: 1px solid #e2e8f0;
  border-radius: 4px;
  padding: 0.1em 0.35em;
  font-weight: 600;
  color: #1e293b;
}

/* CSS-driven flat separator arrow */
.menu-path span.menu-item:not(:last-child)::after {
  content: " → ";
  color: #94a3b8; /* muted slate gray for the arrow separator */
  font-weight: 400;
  display: inline-block;
  margin: 0 0.4em;
  /* reset background and border for the arrow itself */
  background: none;
  border: none;
  padding: 0;
}

/*----------------------------------------------------------------------*/
.ck-true::before { /* checked state */
  content: "✓";
  font-family: system-ui, sans-serif;
  font-weight: bold;
  color: #ffffff;
  background-color: #6d87aa; /* Muted slate blue */
  border: 1px solid #4a5e7a;
  border-radius: 3px;
  display: inline-block;
  width: 1rem;
  height: 1rem;
  line-height: 1rem;
  text-align: center;
  margin-right: 0.4em;
  font-size: 0.75rem;
}

.ck-false::before { /* unchecked state */
  content: "";
  background-color: #f1f5f9; /* Soft cool-gray */
  border: 1px solid #cbd5e1;
  border-radius: 3px;
  display: inline-block;
  width: 1rem;
  height: 1rem;
  line-height: 1rem;
  margin-right: 0.4em;
}
