/* =========================================================================
   MCP TOOLS DOCS PAGE — HEADER (solid white to match the top wave)
   ========================================================================= */

.header {
  background-color: #ffffff;
}


/* =========================================================================
   DOC PAGE HEAD — the top of a reference page: name, one sentence, the facts
   you need to call it, the first call. No hero, no slogan, no CTA.
   ========================================================================= */

.dh {
  background: var(--color-background);
  position: relative;
  z-index: 1;
}

.dh .content-inner,
.mt-conventions .content-inner,
.mt-catalog .content-inner,
.mt-faq .content-inner {
  max-width: 1000px;
}

.dh .dh__body {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.dh .dh__body .dh__titlerow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}

.dh .dh__body .dh__titlerow .dh__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 25px;
}

.dh .dh__body .dh__titlerow .dh__actions .dh__copy {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  padding: 10px 25px;
  border-radius: 50px;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  color: var(--color-ink);
  font-family: inherit;
  font-weight: 600;
  cursor: pointer;
}

.dh .dh__body .dh__titlerow .dh__actions .dh__copy:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.dh .dh__body .dh__titlerow .dh__actions .dh__copy:disabled {
  opacity: 0.6;
  cursor: default;
}

.dh .dh__body .dh__titlerow .dh__actions .dh__copy.is-copied {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.dh .dh__body .dh__titlerow .dh__actions .dh__copy.is-error {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.dh .dh__body .dh__titlerow .dh__actions .dh__copy .dh__copy-icon {
  display: flex;
  line-height: 1;
}

.dh .dh__body .dh__titlerow .dh__actions .dh__copy .dh__copy-icon .eicon {
  width: 16px;
  height: 16px;
}

.dh .dh__body .dh__titlerow .dh__actions .dh__markdown-link {
  color: var(--color-muted);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.dh .dh__body .dh__titlerow .dh__actions .dh__markdown-link:hover {
  color: var(--color-primary);
  text-decoration: underline;
}

.dh .dh__body .dh__title {
  font-size: 32px;
  font-weight: 700;
  color: var(--color-ink);
  margin: 0;
  line-height: 1.2;
}

.dh .dh__body .dh__lead {
  margin: 0;
  color: var(--color-muted);
  line-height: 1.7;
  max-width: 800px;
}

.dh .dh__body .dh__lead code {
  font-family: 'Courier New', Courier, monospace;
  font-size: 14px;
  color: var(--color-primary);
  overflow-wrap: anywhere;
}

.dh .dh__body .dh__facts {
  margin: 0;
  border-top: 1px solid var(--color-border);
}

.dh .dh__body .dh__facts .dh__fact {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--color-border);
}

.dh .dh__body .dh__facts .dh__fact .dh__fact-label {
  flex: 0 0 200px;
  color: var(--color-muted);
  font-weight: 600;
}

.dh .dh__body .dh__facts .dh__fact .dh__fact-value {
  flex: 1 1 300px;
  margin: 0;
  color: var(--color-ink);
  line-height: 1.7;
}

.dh .dh__body .dh__facts .dh__fact .dh__fact-value code {
  font-family: 'Courier New', Courier, monospace;
  font-size: 14px;
  color: var(--color-primary);
  overflow-wrap: anywhere;
}

.dh .dh__body .dh__first-call {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.dh .dh__body .dh__first-call .dh__first-call-label {
  margin: 0;
  color: var(--color-muted);
  font-weight: 600;
}

.dh .dh__body .dh__first-call pre {
  margin: 0;
  padding: 25px;
  border-radius: 12px;
  background: var(--color-ink);
  overflow-x: auto;
}

.dh .dh__body .dh__first-call pre code {
  color: #4fbefe;
  font-family: 'Courier New', Courier, monospace;
  font-size: 14px;
  white-space: pre;
  line-height: 1.7;
}

.dh .dh__body .dh__related {
  margin: 0;
  color: var(--color-muted);
}

.dh .dh__body .dh__related a {
  color: var(--color-primary);
  font-weight: 600;
  text-decoration: none;
}

.dh .dh__body .dh__related a:hover {
  text-decoration: underline;
}

@media (min-width: 768px) {

  .dh .dh__body .dh__title {
    font-size: 42px;
  }

}


/* THE TWO ACTIONS GET THEIR OWN ROW ON A PHONE INSTEAD OF SQUEEZING BESIDE THE TITLE */

@media (max-width: 767px) {

  .dh .dh__body .dh__titlerow .dh__actions {
    width: 100%;
    gap: 10px;
  }

}


/* =========================================================================
   MCP TOOLS DOCS PAGE — CONVENTIONS (how the surface behaves)
   ========================================================================= */

.mt-conventions {
  background: var(--color-surface);
  position: relative;
  z-index: 1;
}

.mt-conventions::before {
  content: "";
  position: absolute;
  top: -79px;
  left: 0;
  width: 100%;
  height: 80px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'%3E%3Cpath d='M0,0 C480,80 960,0 1440,60 L1440,80 L0,80 Z' fill='%23ffffff'/%3E%3C/svg%3E");
  background-size: 100% 100%;
  pointer-events: none;
  z-index: 2;
}

.mt-conventions .mt-conventions__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 25px;
}

.mt-conventions .mt-conventions__grid .mt-conventions__card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 25px;
  border-radius: 12px;
  background: var(--color-background);
  border: 1px solid var(--color-border);
}

/* THE MARKETING SITE DOES NOT LOAD Eesier.Web.Shared/site.css, SO THE SHARED .eicon SIZING RULE IS ABSENT — EVERY ICON ON THIS PAGE STATES ITS OWN BOX */

.mt-conventions .mt-conventions__grid .mt-conventions__card .mt-conventions__card-icon {
  display: flex;
  color: var(--color-primary);
  line-height: 1;
}

.mt-conventions .mt-conventions__grid .mt-conventions__card .mt-conventions__card-icon .eicon {
  width: 25px;
  height: 25px;
}

.mt-conventions .mt-conventions__grid .mt-conventions__card .mt-conventions__card-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-ink);
  margin: 0;
}

.mt-conventions .mt-conventions__grid .mt-conventions__card .mt-conventions__card-desc {
  color: var(--color-muted);
  line-height: 1.7;
  margin: 0;
}

@media (min-width: 768px) {

  .mt-conventions .mt-conventions__grid {
    grid-template-columns: repeat(2, 1fr);
  }

}

@media (min-width: 1024px) {

  .mt-conventions .mt-conventions__grid {
    grid-template-columns: repeat(3, 1fr);
  }

}


/* =========================================================================
   MCP TOOLS DOCS PAGE — CATALOG (search, index, groups, tools)
   ========================================================================= */

.mt-catalog {
  background: var(--color-background);
  position: relative;
  z-index: 1;
}

.mt-catalog::before {
  content: "";
  position: absolute;
  top: -79px;
  left: 0;
  width: 100%;
  height: 80px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'%3E%3Cpath d='M0,0 C480,80 960,0 1440,60 L1440,80 L0,80 Z' fill='%23f6f7fc'/%3E%3C/svg%3E");
  background-size: 100% 100%;
  pointer-events: none;
  z-index: 2;
}

.mt-catalog .mt-catalog__search {
  margin: 0 0 25px;
}

.mt-catalog .mt-catalog__search .mt-catalog__search-label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.mt-catalog .mt-catalog__search .mt-catalog__search-input {
  width: 100%;
  padding: 10px 25px;
  min-height: 50px;
  border-radius: 50px;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  color: var(--color-ink);
  font-family: inherit;
  font-size: 16px;
}

.mt-catalog .mt-catalog__search .mt-catalog__search-input:focus {
  outline: none;
  border-color: var(--color-primary);
}

.mt-catalog .mt-catalog__toc {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 50px;
}

.mt-catalog .mt-catalog__toc .mt-catalog__toc-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 25px;
  border-radius: 50px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  color: var(--color-ink);
  text-decoration: none;
  font-weight: 600;
}

.mt-catalog .mt-catalog__toc .mt-catalog__toc-link:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.mt-catalog .mt-catalog__toc .mt-catalog__toc-link .mt-catalog__toc-icon {
  display: flex;
  color: var(--color-primary);
  line-height: 1;
}

.mt-catalog .mt-catalog__toc .mt-catalog__toc-link .mt-catalog__toc-icon .eicon {
  width: 16px;
  height: 16px;
}

.mt-catalog .mt-catalog__toc .mt-catalog__toc-link .mt-catalog__toc-count {
  color: var(--color-muted);
  font-size: 14px;
}

.mt-catalog .mt-catalog__empty {
  text-align: center;
  color: var(--color-muted);
  line-height: 1.7;
}

.mt-catalog .mt-group {
  margin-bottom: 50px;
  scroll-margin-top: 100px;
}

.mt-catalog .mt-group .mt-group__header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 25px;
  margin-bottom: 25px;
}

.mt-catalog .mt-group .mt-group__header .mt-group__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: #dbeafe;
  color: var(--color-primary);
  flex-shrink: 0;
}

.mt-catalog .mt-group .mt-group__header .mt-group__icon .eicon {
  width: 25px;
  height: 25px;
}

.mt-catalog .mt-group .mt-group__header .mt-group__heading {
  flex: 1 1 300px;
}

.mt-catalog .mt-group .mt-group__header .mt-group__heading .mt-group__title {
  font-size: 25px;
  font-weight: 700;
  color: var(--color-ink);
  margin: 0;
}

.mt-catalog .mt-group .mt-group__header .mt-group__heading .mt-group__desc {
  color: var(--color-muted);
  line-height: 1.7;
  margin: 10px 0 0;
}

.mt-catalog .mt-group .mt-group__header .mt-group__count {
  color: var(--color-muted);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

.mt-catalog .mt-group .mt-group__tools {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mt-catalog .mt-group .mt-group__tools .mt-tool {
  border-radius: 12px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  scroll-margin-top: 100px;
}

.mt-catalog .mt-group .mt-group__tools .mt-tool[open] {
  border-color: var(--color-primary);
}

.mt-catalog .mt-group .mt-group__tools .mt-tool .mt-tool__summary {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
  padding: 25px;
  cursor: pointer;
  list-style: none;
}

.mt-catalog .mt-group .mt-group__tools .mt-tool .mt-tool__summary::-webkit-details-marker {
  display: none;
}

.mt-catalog .mt-group .mt-group__tools .mt-tool .mt-tool__summary .mt-tool__name {
  font-family: 'Courier New', Courier, monospace;
  font-size: 16px;
  font-weight: 700;
  color: var(--color-primary);
}

.mt-catalog .mt-group .mt-group__tools .mt-tool .mt-tool__summary .mt-tool__badge {
  padding: 0 10px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.mt-catalog .mt-group .mt-group__tools .mt-tool .mt-tool__summary .mt-tool__badge--read {
  background: #dbeafe;
  color: #1c6fa8;
}

.mt-catalog .mt-group .mt-group__tools .mt-tool .mt-tool__summary .mt-tool__badge--write {
  background: #e2e8f0;
  color: #334155;
}

.mt-catalog .mt-group .mt-group__tools .mt-tool .mt-tool__summary .mt-tool__badge--destructive {
  background: #ffe6db;
  color: #c2410c;
}

.mt-catalog .mt-group .mt-group__tools .mt-tool .mt-tool__summary .mt-tool__desc {
  flex: 1 1 100%;
  color: var(--color-muted);
  line-height: 1.7;
}

.mt-catalog .mt-group .mt-group__tools .mt-tool .mt-tool__body {
  padding: 0 25px 25px;
}

.mt-catalog .mt-group .mt-group__tools .mt-tool .mt-tool__body .mt-tool__invocations {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 25px;
}

.mt-catalog .mt-group .mt-group__tools .mt-tool .mt-tool__body .mt-tool__invocations .mt-tool__invocation {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border-radius: 12px;
  background: var(--color-background);
  font-family: 'Courier New', Courier, monospace;
  font-size: 14px;
  color: var(--color-ink);
  overflow-x: auto;
  white-space: nowrap;
}

.mt-catalog .mt-group .mt-group__tools .mt-tool .mt-tool__body .mt-tool__invocations .mt-tool__invocation .mt-tool__verb {
  padding: 0 10px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  flex-shrink: 0;
}

.mt-catalog .mt-group .mt-group__tools .mt-tool .mt-tool__body .mt-tool__invocations .mt-tool__invocation .mt-tool__verb--post {
  background: #dbeafe;
  color: #1c6fa8;
}

.mt-catalog .mt-group .mt-group__tools .mt-tool .mt-tool__body .mt-tool__invocations .mt-tool__invocation .mt-tool__verb--get {
  background: #e2e8f0;
  color: #334155;
}

.mt-catalog .mt-group .mt-group__tools .mt-tool .mt-tool__body .mt-tool__params-title {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--color-muted);
  margin: 0 0 10px;
}

.mt-catalog .mt-group .mt-group__tools .mt-tool .mt-tool__body .mt-tool__no-params {
  color: var(--color-muted);
  margin: 0;
}

.mt-catalog .mt-group .mt-group__tools .mt-tool .mt-tool__body .mt-tool__table-wrap {
  overflow-x: auto;
}

.mt-catalog .mt-group .mt-group__tools .mt-tool .mt-tool__body .mt-tool__table {
  width: 100%;
  border-collapse: collapse;
}

.mt-catalog .mt-group .mt-group__tools .mt-tool .mt-tool__body .mt-tool__table td {
  padding: 10px;
  border-top: 1px solid var(--color-border);
  vertical-align: top;
  line-height: 1.7;
}

.mt-catalog .mt-group .mt-group__tools .mt-tool .mt-tool__body .mt-tool__table .mt-tool__param-name code {
  font-family: 'Courier New', Courier, monospace;
  font-size: 14px;
  font-weight: 700;
  color: var(--color-ink);
  white-space: nowrap;
}

.mt-catalog .mt-group .mt-group__tools .mt-tool .mt-tool__body .mt-tool__table .mt-tool__param-type {
  white-space: nowrap;
}

.mt-catalog .mt-group .mt-group__tools .mt-tool .mt-tool__body .mt-tool__table .mt-tool__param-type .mt-tool__type {
  display: block;
  font-family: 'Courier New', Courier, monospace;
  font-size: 14px;
  color: var(--color-muted);
}

.mt-catalog .mt-group .mt-group__tools .mt-tool .mt-tool__body .mt-tool__table .mt-tool__param-type .mt-tool__required {
  display: block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #c2410c;
}

.mt-catalog .mt-group .mt-group__tools .mt-tool .mt-tool__body .mt-tool__table .mt-tool__param-type .mt-tool__optional {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--color-muted);
}

.mt-catalog .mt-group .mt-group__tools .mt-tool .mt-tool__body .mt-tool__table .mt-tool__param-type .mt-tool__default {
  display: block;
  font-size: 12px;
  color: var(--color-muted);
}

.mt-catalog .mt-group .mt-group__tools .mt-tool .mt-tool__body .mt-tool__table .mt-tool__param-type .mt-tool__default code {
  font-family: 'Courier New', Courier, monospace;
  color: var(--color-ink);
}

.mt-catalog .mt-group .mt-group__tools .mt-tool .mt-tool__body .mt-tool__table .mt-tool__param-desc {
  color: var(--color-muted);
  min-width: 250px;
}


/* =========================================================================
   MCP TOOLS DOCS PAGE — FAQ
   ========================================================================= */

.mt-faq {
  background: var(--color-surface);
  position: relative;
  z-index: 1;
}

.mt-faq::before {
  content: "";
  position: absolute;
  top: -79px;
  left: 0;
  width: 100%;
  height: 80px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'%3E%3Cpath d='M0,0 C480,80 960,0 1440,60 L1440,80 L0,80 Z' fill='%23ffffff'/%3E%3C/svg%3E");
  background-size: 100% 100%;
  pointer-events: none;
  z-index: 2;
}

.mt-faq .mt-faq__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mt-faq .mt-faq__list details {
  padding: 25px;
  border-radius: 12px;
  background: var(--color-background);
  border: 1px solid var(--color-border);
}

.mt-faq .mt-faq__list details summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--color-ink);
}

.mt-faq .mt-faq__list details .mt-faq__answer {
  margin-top: 10px;
  color: var(--color-muted);
  line-height: 1.7;
}


/* =========================================================================
   MCP TOOLS DOCS PAGE — CTA
   ========================================================================= */

.mt-cta {
  background: #dbeafe;
  position: relative;
  z-index: 1;
  text-align: center;
}

.mt-cta::before {
  content: "";
  position: absolute;
  top: -79px;
  left: 0;
  width: 100%;
  height: 80px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'%3E%3Cpath d='M0,0 C360,80 1080,0 1440,60 L1440,80 L0,80 Z' fill='%23dbeafe'/%3E%3C/svg%3E");
  background-size: 100% 100%;
  pointer-events: none;
  z-index: 2;
}

.mt-cta .content-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 25px;
}

.mt-cta .content-inner .mt-cta__title {
  font-size: 28px;
  font-weight: 700;
  color: var(--color-ink);
  margin: 0;
  line-height: 1.3;
}

.mt-cta .content-inner .mt-cta__subtitle {
  color: var(--color-muted);
  line-height: 1.7;
  margin: 0;
  max-width: 500px;
}

.mt-cta .content-inner .mt-cta__subtext {
  color: var(--color-muted);
  font-size: 14px;
  margin: 0;
}

@media (min-width: 768px) {

  .mt-cta .content-inner .mt-cta__title {
    font-size: 36px;
  }

}


/* =========================================================================
   MCP TOOLS DOCS PAGE — MOBILE WAVE OVERRIDES
   ========================================================================= */

@media (max-width: 767px) {

  .mt-connect::before,
  .mt-conventions::before,
  .mt-catalog::before,
  .mt-faq::before,
  .mt-cta::before {
    height: 50px;
    top: -49px;
  }

}
