/* Default United Technology colours. The plugin overrides these with the node's
   own brand colour at runtime when the active theme provides one. */
:root,
[data-md-color-scheme] {
  --md-primary-fg-color: #47704c;
  --md-primary-fg-color--light: #47704c;
  --md-primary-fg-color--dark: #37593c;
  --md-primary-bg-color: #ffffff;
  --md-accent-fg-color: #2d4876;
  --md-typeset-a-color: #2d4876;
}

/* Screenshots: full width on phones, framed so they read as pictures of the site. */
.md-typeset img.ut-shot {
  display: block;
  max-width: 100%;
  height: auto;
  border: 1px solid #d0d7de;
  border-radius: 6px;
}

/* "Did not find the answer?" form, added by the plugin for logged-in users. */
.md-typeset .ut-help-ask {
  margin-top: 2.5em;
  padding: 1em 1.2em;
  border: 1px solid #d0d7de;
  border-radius: 6px;
}
.md-typeset .ut-help-ask h2 {
  margin-top: 0;
}
.md-typeset .ut-help-ask label {
  display: block;
  font-weight: 700;
}
.md-typeset .ut-help-ask textarea {
  box-sizing: border-box;
  width: 100%;
  min-height: 7em;
  margin: 0.4em 0;
  padding: 0.5em;
  font: inherit;
  color: inherit;
  background: transparent;
  border: 1px solid #8c959f;
  border-radius: 4px;
}
.md-typeset .ut-help-ask textarea:focus-visible,
.md-typeset .ut-help-ask button:focus-visible {
  outline: 2px solid var(--md-accent-fg-color);
  outline-offset: 2px;
}
.md-typeset .ut-help-ask button {
  min-height: 44px;
  cursor: pointer;
}
.md-typeset .ut-help-ask__privacy {
  font-size: 0.85em;
}
.md-typeset .ut-help-ask__notice {
  padding: 0.6em 0.8em;
  border-left: 4px solid;
  font-weight: 700;
}
.md-typeset .ut-help-ask__notice--ok::before {
  content: "✓ ";
}
.md-typeset .ut-help-ask__notice--error::before {
  content: "! ";
}
.md-typeset .ut-help-ask__trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* "AI and connections": area cards and the AI functions matrix (tools/ai_functions.py). */
.md-typeset .ut-ai-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: 0.8rem;
  margin: 1em 0;
}
.md-typeset .ut-ai-card {
  padding: 0.2em 1em;
  border: 1px solid #d0d7de;
  border-radius: 6px;
}
.md-typeset .ut-ai-card p {
  margin: 0.6em 0;
}
.md-typeset .ut-ai-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.md-typeset .ut-ai-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4em 1.2em;
  font-size: 0.85em;
}
.md-typeset .ut-ai-legend > span {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
}
.md-typeset .ut-ai-summary,
.md-typeset .ut-ai-note,
.md-typeset .ut-ai-meta {
  font-size: 0.85em;
  color: var(--md-default-fg-color--light);
}
.md-typeset .ut-ai-scroll {
  position: relative; /* keeps the absolutely placed screen-reader text inside the scroll box */
  overflow-x: auto;
  margin: 0.5em 0 1em;
}
.md-typeset .ut-ai-scroll:focus-visible {
  outline: 2px solid var(--md-accent-fg-color);
}
.md-typeset table.ut-ai-matrix {
  display: table;
  min-width: 36rem;
  font-size: 0.8rem;
}
.md-typeset table.ut-ai-matrix caption {
  text-align: left;
  font-weight: 700;
  padding-bottom: 0.4em;
}
.md-typeset table.ut-ai-matrix td {
  text-align: center;
  vertical-align: middle;
}
.md-typeset table.ut-ai-matrix tbody th {
  text-align: left;
  font-weight: 400;
}
.md-typeset .ut-ai-subject {
  display: block;
  font-weight: 700;
}
.md-typeset .ut-ai-plugin {
  display: block;
  font-size: 0.9em;
  color: var(--md-default-fg-color--light);
}
.md-typeset .ut-ai-flag {
  display: inline-block;
  margin: 0.25em 0.3em 0 0;
  padding: 0 0.45em;
  font-size: 0.85em;
  line-height: 1.6;
  color: #6b3d00;
  background: #fff4d6;
  border: 1px solid #d9a440;
  border-radius: 999px;
}
.md-typeset .ut-ai-flag--diff {
  color: #1f3f6b;
  background: #e8f0fb;
  border-color: #8aa9d6;
}
.md-typeset .ut-ai-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.6em;
  height: 1.6em;
  border-radius: 50%;
  font-weight: 700;
}
.md-typeset .ut-ai-mark--allowed { color: #ffffff; background: #2f6b36; }
.md-typeset .ut-ai-mark--denied { color: #ffffff; background: #a1262b; }
.md-typeset .ut-ai-mark--partial { color: #4a3300; background: #f2c14e; }
.md-typeset .ut-ai-mark--none { color: #57606a; background: transparent; }
.md-typeset .ut-ai-pair {
  display: inline-flex;
  align-items: center;
  gap: 0.2em;
  margin: 0.1em 0.2em;
  white-space: nowrap;
}
.md-typeset .ut-ai-who {
  font-size: 0.8em;
  color: var(--md-default-fg-color--light);
}
.md-typeset .ut-ai-details summary {
  cursor: pointer;
  font-weight: 700;
}
.md-typeset .ut-ai-details ul {
  list-style: none;
  margin-left: 0;
}
.md-typeset .ut-ai-details li {
  margin-left: 0;
}
.md-typeset code.ut-ai-url {
  word-break: break-all;
}
