/* Containerlab Apps: a quiet, technical workspace with room for the topology. */
@font-face { font-family: Inter; font-style: normal; font-weight: 100 900; font-display: swap; src: url("../fonts/inter-latin.woff2") format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 100 800; font-display: swap; src: url("../fonts/jetbrains-mono-latin.woff2") format("woff2"); }
:root {
  --md-text-font: "Inter";
  --md-code-font: "JetBrains Mono";
  --md-primary-fg-color: #101720;
  --md-primary-bg-color: #e4eaf3;
  --md-accent-fg-color: #65bce5;
}
[data-md-color-scheme="slate"] {
  --md-default-bg-color: #0d141e;
  --md-default-bg-color--light: #121c29;
  --md-default-fg-color: #ccd6e4;
  --md-default-fg-color--light: #92a1b6;
  --md-default-fg-color--lighter: #526076;
  --md-code-bg-color: #131d2a;
  --md-code-fg-color: #cdd8e6;
  --md-typeset-a-color: #83c9ed;
  --site-border: #263344;
  --site-surface: #111b28;
  --site-heading: #f0f4fa;
  --site-muted: #91a2b9;
  --site-accent: #8bd0ef;
  --md-footer-bg-color: #0b121b;
  --md-footer-bg-color--dark: #090f17;
}
[data-md-color-scheme="default"] {
  --md-default-bg-color: #fafbfd;
  --md-default-fg-color: #33475f;
  --md-default-fg-color--light: #63748b;
  --md-primary-fg-color: #fafbfd;
  --md-primary-bg-color: #263b54;
  --md-accent-fg-color: #096d9d;
  --md-typeset-a-color: #096d9d;
  --md-code-bg-color: #eff3f8;
  --site-border: #dce4ef;
  --site-surface: #f1f5fa;
  --site-heading: #13283f;
  --site-muted: #5d7087;
  --site-accent: #066e9c;
}
body { -webkit-font-smoothing: antialiased; }
.md-header { background: var(--md-default-bg-color); color: var(--site-heading); box-shadow: none; border-bottom: 1px solid var(--site-border); }
.md-header__inner { height: 3.3rem; }
.md-header__title { font-size: .78rem; font-weight: 600; letter-spacing: -.02em; }
.md-header__button.md-logo img { height: 1.7rem; width: 1.7rem; }
.md-search__form { background: var(--site-surface); border: 1px solid var(--site-border); border-radius: 7px; }
.md-typeset { font-size: .74rem; line-height: 1.8; }
.md-typeset h1, .md-typeset h2, .md-typeset h3 { color: var(--site-heading); letter-spacing: -.035em; }
.md-typeset h1 { margin-bottom: 1.2rem; font-size: 2rem; font-weight: 620; line-height: 1.15; }
.md-typeset h2 { font-weight: 570; }
.md-typeset h3 { font-weight: 560; }
.md-typeset a { text-underline-offset: 4px; }
.md-typeset img { border-radius: 10px; }
.md-typeset .grid.cards > ul > li { background: var(--site-surface); border: 1px solid var(--site-border); border-radius: 10px; padding: 1.2rem; }
.md-typeset .grid.cards > ul > li:hover { border-color: var(--site-accent); }
.md-typeset .admonition, .md-typeset details { border-radius: 8px; }
.md-typeset code { border-radius: 4px; font-size: .85em; }
.md-typeset pre > code { border: 1px solid var(--site-border); border-radius: 8px; }
.md-nav { font-size: .64rem; }
.md-nav__link--active { font-weight: 600; }
.md-sidebar__scrollwrap { scrollbar-width: thin; }
.md-main__inner { margin-top: .6rem; }
.md-path { padding-top: .5rem; }
.md-content__inner { padding-top: .5rem; }
.md-main:has(.clab-home) .md-main__inner { margin-top: 0; }
/* Keep the page outline quiet; its rail marks the current reading position. */
@media (min-width: 960px) {
  .md-sidebar--secondary .md-nav__title { display: flex; align-items: center; gap: 8px; padding-bottom: 6px; color: var(--site-muted); font-weight: 500; }
  .md-sidebar--secondary .md-nav__title .md-nav__icon { display: none; }
  .md-sidebar--secondary .md-nav__title::before { content: ""; width: 14px; height: 14px; flex: none; background: currentColor; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' d='M3 5h18M3 12h12M3 19h14'/%3E%3C/svg%3E") center / contain no-repeat; }
  .md-sidebar--secondary .md-nav__list { margin: 6px 0 0 7px; padding: 0; border-left: 1px solid var(--site-border); }
  .md-sidebar--secondary .md-nav__item { padding: 0; }
  .md-sidebar--secondary .md-nav__link { position: relative; margin: 0; padding: 7px 0 7px 14px; border-radius: 0; color: var(--site-muted); line-height: 1.5; }
  .md-sidebar--secondary .md-nav__link:hover { color: var(--site-heading); background: transparent; }
  .md-sidebar--secondary .md-nav__link--active { color: var(--site-accent); background: transparent; }
  .md-sidebar--secondary .md-nav__link--active::before { content: ""; position: absolute; left: -1px; top: 5px; bottom: 5px; width: 2px; border-radius: 2px; background: var(--site-accent); }
  .md-sidebar--secondary .md-nav .md-nav .md-nav__list { margin: 0 0 0 14px; }
}
.md-footer-meta { border-top: 1px solid var(--site-border); }
.video-embed { aspect-ratio: 16/9; }
.video-embed iframe { width: 100%; height: 100%; border: 0; border-radius: 10px; }
.clab-home { max-width: 1120px; margin: 0 auto; padding: 0 12px; }
.md-content:has(.clab-home) { min-width: 0; }
.md-content__inner:has(.clab-home) { margin-top: 0; }
.md-main:has(.clab-home) { background-image: radial-gradient(ellipse 70% 28% at 50% 5%, #31587617, transparent); }
.home-hero { text-align: center; padding: 36px 0 24px; position: relative; }
.md-typeset .home-hero h1 { color: var(--site-heading); font-size: clamp(44px, 5.5vw, 72px); line-height: 1.06; font-weight: 600; letter-spacing: -.065em; margin: 0 0 20px; }
.home-hero > p { max-width: 535px; margin: 0 auto; color: var(--site-muted); font-size: 15px; line-height: 1.8; letter-spacing: -.01em; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px; margin-top: 28px; }
.hero-actions > p { margin: 0; display: contents; }
.md-typeset .hero-button { display: inline-flex; justify-content: center; align-items: center; gap: 12px; padding: 12px 18px; border-radius: 7px; font-size: 12px; font-weight: 600; line-height: 1.5; transition: background .15s, transform .15s; }
.md-typeset .hero-button-primary { color: #132c3c; background: #a0d5ef; border: 1px solid #a0d5ef; box-shadow: inset 0 1px 0 #ffffff45, 0 4px 15px #00000010; }
.md-typeset .hero-button-primary:hover { color: #132c3c; background: #bce6fa; transform: translateY(-1px); }
.md-typeset .hero-button-secondary { color: var(--site-heading); border: 1px solid var(--site-border); background: var(--site-surface); }
.md-typeset .hero-button-secondary:hover { border-color: var(--site-muted); }
.clab-home > .clab-example clab-topology:not([borderless]) { margin: 14px 0 0; box-shadow: 0 28px 80px #00000020, 0 0 70px #629fc608; }
.demo-caption { font-size: 11px; text-align: center; color: var(--site-muted); padding: 18px 0 30px; }
.home-section-heading { margin: 30px 0 26px; }
.md-typeset .home-section-heading h2 { margin: 10px 0 12px; font-size: 32px; letter-spacing: -.05em; }
.home-section-heading > p { margin: 0; color: var(--site-muted); font-size: 13px; }
.home-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.md-typeset .home-card { display: flex; flex-direction: column; align-items: flex-start; position: relative; background: var(--site-surface); border: 1px solid var(--site-border); border-radius: 12px; padding: 26px 24px; color: var(--site-muted); transition: border-color .2s, transform .2s; }
.md-typeset .home-card:hover { border-color: var(--site-muted); transform: translateY(-3px); }
.home-card .card-icon { display: grid; place-items: center; color: var(--site-accent); border: 1px solid var(--site-border); background: var(--md-default-bg-color); border-radius: 9px; width: 38px; height: 38px; font-size: 19px; margin-bottom: 28px; }
.md-typeset .home-card h3 { font-size: 17px; letter-spacing: -.03em; margin: 9px 0 10px; }
.home-card > p { font-size: 12px; line-height: 1.85; margin: 0 0 24px; }
.home-card > p:first-child { margin-bottom: 0; }
.home-card > p:last-child { margin-top: auto; margin-bottom: 0; }
.home-card .card-link::after { content: ""; position: absolute; inset: 0; border-radius: 12px; }
.clab-home .headerlink { display: none; }
.clab-home a { text-decoration: none; }
.card-link { font-size: 11px; color: var(--site-accent); font-weight: 500; margin-top: auto; }
.card-link .twemoji { margin-left: 6px; }
.home-bottom { margin-top: 65px; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--site-border); padding: 32px 0 46px; gap: 20px; }
.md-typeset .home-bottom h3 { font-size: 20px; margin: 0 0 4px; }
.home-bottom > div > p { font-size: 12px; margin: 0; color: var(--site-muted); }
.home-bottom > p { margin: 0; }
@media (min-width: 1220px) { .md-grid { max-width: 1320px; } }
@media (max-width: 760px) {
  .clab-home { padding: 0; }
  .home-hero { padding-top: 28px; }
  .home-hero > p { font-size: 13px; }
  .home-cards { grid-template-columns: 1fr; }
  .home-card .card-icon { margin-bottom: 20px; }
  .home-section-heading { margin-top: 45px; }
  .home-bottom { margin-top: 45px; flex-direction: column; align-items: flex-start; }
  .md-typeset .hero-button { font-size: 11px; padding: 11px 13px; gap: 8px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; } }
