/* hub.css — mcp.emm.sa (same as api.emm.sa) (on top of the EMM design system). */
.logo-mark{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:9px;background:var(--navy);color:#fff;font-weight:800;font-size:15px;margin-inline-start:0;margin-inline-end:.5rem}
.eyebrow{color:var(--accent-ink);font-weight:700;font-size:.9rem;margin:0 0 .5rem}
.hero h1{font-size:clamp(1.6rem,3.2vw,2.6rem);line-height:1.3;margin:0 0 .75rem}
.lead{font-size:1.08rem;color:var(--text-muted);max-width:70ch}
.hero code, p code, li code, td code{background:var(--surface-2);padding:.1em .35em;border-radius:5px;font-size:.9em;direction:ltr;unicode-bidi:isolate}
pre{background:var(--navy-700);color:#e6e8f2;padding:1rem 1.1rem;border-radius:10px;overflow:auto;direction:ltr;text-align:left;font-size:.85rem;line-height:1.5;white-space:pre-wrap;overflow-wrap:anywhere}/* qa:pre-wrap */
pre code{background:none;color:inherit;padding:0}
.app-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:1rem;margin-top:1rem}
.app-card{display:flex;flex-direction:column;gap:.45rem}
.app-card-head{display:flex;justify-content:space-between;align-items:center;gap:.5rem}
.app-card .card-title{margin:0}
.app-host{font-size:.8rem;color:var(--text-muted);direction:ltr;text-align:right;margin:0}
.app-price{font-size:.9rem;margin:0;color:var(--text)}
.app-badges{display:flex;gap:.4rem;flex-wrap:wrap;margin-top:auto}
.status-dot{width:12px;height:12px;border-radius:50%;display:inline-block;flex:0 0 auto}
.status-pill{white-space:nowrap;font-size:.9rem}
.status-up{background:var(--green-400)}
.status-down{background:var(--red-400)}
.crumbs{font-size:.85rem;color:var(--text-muted);margin-bottom:.75rem}
.crumbs a{color:var(--text-muted)}
.app-header h1{margin:.25rem 0 .5rem}
.endpoints{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:.5rem}
.endpoints li{display:flex;flex-wrap:wrap;gap:.4rem;align-items:center}
.endpoints code{direction:ltr;unicode-bidi:embed}
.plans{list-style:none;padding:0;display:flex;flex-direction:column;gap:.4rem}
.facts{display:grid;grid-template-columns:max-content 1fr;gap:.35rem 1rem;margin:0}
.facts dt{font-weight:700}
.facts dd{margin:0}
.compare-table td,.status-table td{vertical-align:top}
.compare-table .text-xs{max-width:16ch}
.section h2{margin-top:0}
.faq details{border:1px solid var(--border);border-radius:10px;padding:.75rem 1rem;margin-bottom:.5rem;background:var(--surface)}
.faq summary{cursor:pointer;font-weight:700}
.faq p{margin:.5rem 0 0;color:var(--text-muted)}
.legal h2{margin-top:1.5rem;font-size:1.15rem}
.legal p,.legal li{line-height:1.8}
.mcp-tools{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:1rem;margin-top:1rem}
.mcp-tool code{display:block;direction:ltr;text-align:left}
@media (max-width:720px){.facts{grid-template-columns:1fr}}
/* qa:nav-toggle — mobile hamburger + theme toggle for the hubs */
@media (max-width: 760px) {
  .nav-inner { position: relative; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 8px; border: 1px solid var(--border); background: var(--surface); color: var(--text); cursor: pointer; margin-inline-start: auto; }
  .nav-toggle .ic { width: 22px; height: 22px; }
  .nav.nav-open .nav-links { display: flex; flex-direction: column; align-items: stretch; gap: var(--space-sm); position: absolute; top: 100%; inset-inline: 0; background: var(--surface); border-bottom: 1px solid var(--border); padding: var(--space-md); z-index: 50; box-shadow: 0 8px 24px rgba(0,0,0,.08); max-height: calc(100vh - 72px); overflow-y: auto; }
  .nav.nav-open .nav-links li { width: 100%; }
  .nav.nav-open .nav-links a, .nav.nav-open .nav-links .btn { display: block; width: 100%; text-align: start; padding: var(--space-sm) var(--space-md); }
}
.nav-inner .theme-toggle { margin-inline-start: var(--space-sm); }
