:root {
  --color-primary: hsla(221, 61%, 26%, 1);
  --color-secondary: hsla(48, 89%, 67%, 1);
  --color-bg: hsla(218, 27%, 94%, 1);
  --color-text: hsla(213, 86%, 19%, 1);
  --color-border: hsla(221, 61%, 26%, 1);
  --color-border-dim: hsla(221, 61%, 26%, 0.5);
  --border: var(--color-border) solid 1px;
  --shadow: 0 2px 8px hsla(221, 61%, 26%, 0.12);
  --layout-areas:
    'logo'
    'sidebar'
    'main'
    'links';
  --header-display: contents;
  --layout-rows: min-content min-content 1fr min-content;
  --color-success: #BCF7B3;
  --color-failure: rgba(255, 0, 0, 0.25);
  --color-text-dim: hsla(213, 86%, 19%, 0.75);
}

.card {
  --dl-display: block;
  --dd-margin: 1rem 0;
}

@media (min-width: 768px) {
  :root {
    --layout-areas:
      'header header'
      'sidebar main'
      'sidebar footer';
    --layout-columns: min-content 1fr;
    --layout-rows: min-content 1fr min-content;
    --layout-max-height: 100vh;
    --menu-border: none var(--border) none none;
    --main-overflow: auto;
    --root-overflow: hidden;
    --header-display: flex;
    --sidebar-border-block: none;
    --sidebar-border-inline: var(--border);
  }
}

@container (min-width: 400px) {
  .card {
    --dl-display: grid;
    --dd-margin: 0;
  }
}

@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/IBMPlexSans-Regular.ttf) format('woff2');
}

@font-face {
  font-family: 'IBM Plex Sans';
  font-style: italic;
  font-display: swap;
  src: url(/IBMPlexSans-Italic.ttf) format('woff2');
}

@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/IBMPlexSans-Bold.ttf) format('woff2');
}

html {
  height: 100%;
}

body {
  background: var(--color-bg);
  color: var(--color-text);
  min-height: 100%;
  margin: 0;
  padding: 0;
  font-family: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
  contain: layout;
  display: grid;
  grid-template-areas: var(--layout-areas);
  grid-template-columns: var(--layout-columns);
  grid-template-rows: var(--layout-rows);
  max-height: var(--layout-max-height);
}

.txt-hint {
  font-style: italic;
  color: var(--color-text-dim, inherit);
}

.txt-invalid {
  font-style: italic;
  color: var(--color-text-dim, inherit);
}

.txt-center {
  text-align: center;
}

body>header {
  display: var(--header-display);
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  grid-area: header;
  z-index: 1;
  border-block-end: var(--border);
}

body>header a {
  text-decoration: none;
}

body>header a:hover,
body>header a:focus {
  text-decoration: initial;
}

h1 {
  font-size: 1.75rem;
  font-weight: normal;
  margin-block: 2.5rem;
}

h2 {
  font-size: 1.5rem;
  font-weight: normal;
  margin-block: 2.5rem 1.25rem;
}

a {
  color: var(--color-text);
}

a:hover,
a:focus {
  color: var(--color-primary);
}

.link-button {
  text-decoration: underline;
  font-weight: 400;
  cursor: pointer;
}

button,
.button {
  --color: white;
  --background: var(--color-primary);
  --border-color: var(--color-primary);
  --focus-outline: 4px double var(--color-text);
  color: var(--color);
  background: var(--background);
  border-radius: 0.25rem;
  font-size: 1rem;
  font-weight: 700;
  padding: 0.75rem 1rem;
  cursor: pointer;
  border: 1px solid var(--border-color);
  display: var(--button-display, inline-block);
  text-decoration: none;
  margin: var(--button-margin, 0);
  font-family: inherit;
  font-size: inherit;
  min-width: var(--button-min-width, auto);
}

.button:not(.button--link):focus {
  color: var(--color);
  outline: var(--focus-outline);
}

button:disabled,
.button:disabled {
  --background: var(--color-bg);
  --color: var(--color-text);
}

.button--outline {
  --background: transparent;
  --color: inherit;
  --border-color: inherit;
}

.button--link {
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
  text-decoration: underline;
  padding: 0;
  background: none;
  border: none;
  border-radius: initial;
}

header ol,
header ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 1rem;
}

.links {
  font-weight: 700;
  padding: 1.25rem 2rem;
  grid-area: links;
}

.list {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0;
}

.list li {
  margin-block: 0.5rem;
}

.list a {
  background: white;
  border: var(--border);
  padding: .75rem 1rem;
  text-decoration: none;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.5rem 1rem;
  width: 100%;
  box-sizing: border-box;
  position: relative;
  flex-wrap: wrap;
  padding-right: calc(2rem + 14px);
}

.list a::after {
  content: url(/chevron.svg);
  position: absolute;
  right: 1rem;
  height: 20px;
  width: 14px;
}

.list li>a> :first-child {
  flex: 1;
  line-height: 1.5;
}

.pill {
  padding: 0.125rem 0.5rem;
  border: var(--border);
  border-radius: 1rem;
  font-weight: 400;
  font-style: normal;
}

.pill--success {
  border: none;
  background: var(--color-success);
}

.pill--warning {
  border: none;
  background: rgba(246, 215, 94, 0.7);
}

.pill--error {
  border: none;
  background: var(--color-failure);
}

.card {
  background: white;
  border: var(--border);
  padding-inline: 1rem;
  margin-block: 1.25rem;
  container-type: inline-size;
}

.card::before {
  content: ' ';
  display: block;
  margin-bottom: 1rem;
}

.card::after {
  content: ' ';
  display: block;
  margin-top: 1rem;
}

.log {
  white-space: pre;
  font-family: monospace;
  font-size: 1rem;
  background: var(--color-text);
  color: var(--color-bg);
  margin: 0;
  padding: 1.5rem;
  overflow-x: auto;
}


.build-icon {
  height: 2rem;
  width: auto;
  display: block;
}

.code {
  padding: 0.5rem var(--padding, 1rem);
  margin-inline: calc(-1 * var(--padding, 1rem));
  background: hsla(48, 89%, 93%, 1);
  white-space: pre-line;
}

.breadcrumb ol {
  gap: 0.5rem;
  flex-wrap: wrap;
}

.list-site-info {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: min(200px, 100%);
}

.list-build-info {
  display: flex;
  flex-wrap: wrap;
  column-gap: 1ch;
}

.button:not([class*=button--]):hover {
  color: white;
}

.card dl {
  display: var(--dl-display);
  grid-template-columns: max-content 1fr;
  gap: 1rem;
  max-width: 100%;
  word-break: break-word;
  margin-block: 1rem;
  align-items: center;
}

.card dl dt {
  font-weight: 700;
}

.card>hr {
  border: none;
  border-bottom: 1px solid hsla(221, 61%, 26%, .1);
  margin-inline: -1rem;
}

.info {
  font-style: italic;
}

body>aside {
  grid-area: sidebar;
  min-width: min(20vw, 240px);
  border-block: var(--sidebar-border-block, var(--border));
  border-inline-end: var(--sidebar-border-inline, none);
}

body>main {
  grid-area: main;
  overflow: var(--main-overflow);
  max-width: 100%;
}

.sidebar ul {
  padding-inline: 1rem;
  margin: 0;
  list-style: none;
}

.sidebar li {
  padding: 0.75rem 1rem;
  background: hsla(221, 61%, 26%, .05);
  border-radius: 4px;
  margin-block: 1rem;
  font-weight: 700;
}

.sidebar a:not(.active) {
  font-weight: 400;
  background: var(--color-bg);
}

.sidebar a:hover {
  background: hsla(221, 61%, 26%, .1);
}

.sidebar a {
  text-decoration: none;
  margin: -0.75rem -1rem;
  padding: 0.75rem 1rem;
  display: block;
  border-radius: 4px;
}

.container {
  --max-width: unset;
  --container-block-margin: unset;
  --container-padding: 2rem;
}

.container--base {
  --max-width: 664px;
  --container-block-margin: clamp(2rem, -4rem + 12.5vw, 4rem);
}

.container {
  margin: 0 auto;
  padding-inline: var(--container-padding);
  max-width: var(--max-width);
  width: 100%;
  box-sizing: border-box;
  container-type: inline-size;
}

.container::before {
  content: ' ';
  display: block;
  margin-block-end: var(--container-block-margin);
}

.container::after {
  content: ' ';
  display: block;
  margin-block-start: var(--container-block-margin);
}

.breadcrumb {
  grid-area: logo;
  padding: 1.25rem 2rem;
}

.links ul {
  justify-content: center;
}

.card dl dd {
  margin: var(--dd-margin);
  grid-column: 2;
  max-width: 100%;
  contain: inline-size;
}

.status {
  background: var(--color-secondary);
  border: var(--border);
  padding-inline: 1rem;
  margin-block: 1.25rem;
}

.status__error {
  font-family: monospace;
  font-size: 1rem;
  white-space: pre-line;
}

.status__error::first-line {
  font-weight: 700;
}

summary {
  cursor: pointer;
}

code {
  font-size: 1rem;
  /* padding: 0 0.1875em; */
  word-wrap: break-word;
}

.logo {
  display: block;
  width: 20px;
  height: 20px;
}

.card__banner {
  margin: -1rem;
  margin-bottom: 1rem;
  padding: 1rem;
  background: var(--color-success);
}

.button--danger {
  background: var(--color-failure);
  color: var(--color-text);
}

.code code {
  padding: unset;
}

.form--inline {
  display: inline;
}

.button--small {
  padding: 0.25rem 0.5rem;
}

.highlight {
  background: hsla(48, 89%, 93%, 1);
  padding: 0.125em 0.5ch;
}

.input--full-width {
  display: block;
  margin-block: 0.5rem;
  width: 100%;
}


.button--mini {
  --color: inherit;
  border-radius: 0.25rem;
  border: 1px solid var(--text, #1B356C);
  background: rgba(27, 53, 108, 0.05);
  padding: 0.375rem 0.75rem;
  display: var(--display-open, inline-block);
  min-width: auto;
}

.button--done::after {
  display: inline;
  content: ' ✔';
}

.card-form {
  margin-block-start: 1.5rem;
}

.toggler__state {
  position: absolute;
  opacity: 0;
  z-index: -999;
  visibility: visible;
  display: block;
}

.toggler:has(.toggler__state:focus) .toggler__toggle {
  outline: var(--focus-outline);
}

.toggler__show {
  visibility: hidden;
  position: absolute;
}

.toggler:has(.toggler__state:checked) .toggler__show {
  visibility: visible;
  position: static;
}

.toggler:has(.toggler__state:checked) .toggler__hide {
  display: none;
}


.toggler {
  position: relative;
}

.card-form__heading {
  font-size: 1.125rem;
  font-style: normal;
  font-weight: 300;
  line-height: normal;
  letter-spacing: -0.0225rem;
  text-transform: uppercase;
  margin-block: 0 0.75rem;
}

.notifications {
  display: var(--display);
  grid-template-columns: max-content 1fr max-content;
  width: 100%;
  border: none;
  border-collapse: collapse;
  --display: block;
  padding: 0;
  margin: 1rem 0;
  list-style: none;
  gap: 0.75rem 0.5rem;
}

.notifications__type {
  white-space: nowrap;
  padding: 0;
  font-style: italic;
  grid-area: var(--grid-area);
  --grid-area: type;
}

.notifications__address {
  display: block;
  grid-area: var(--grid-area);
  --grid-area: address;
  text-overflow: ellipsis;
  overflow: hidden;
}

.notifications__actions {
  padding: 0;
  width: max-content;
  line-height: 0.5rem;
  grid-area: var(--grid-area);
  display: flex;
  align-items: center;
  --grid-area: actions;
}

.button--icon {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-text-dim);
  padding: 0;
  --hover-color: var();
}

.button__icon {
  width: 1.25rem;
  height: 1.25rem;
  display: block;
}

.fieldset__row {
  display: var(--display);
  --display: block;
}

@container (min-width: 30rem) {
  .fieldset {
    --display: grid;
  }

  .fieldset__row {
    --display: contents;
  }

  .fieldset__label {
    --margin-block: 0;
  }
}

.notifications__item {
  --margin-block: 0.5rem;
  margin-block: var(--margin-block);
  display: var(--display);
  --display: grid;
  grid-template-areas:
    'type actions'
    'address actions';
  grid-template-columns: minmax(0, 1fr) max-content;
}

@container (min-width: 25rem) {
  .notifications {
    --display: grid;
  }

  .notifications__item {
    --display: contents;
  }

  .notifications__type {
    --grid-area: unset;
  }

  .notifications__address {
    --grid-area: unset;
  }

  .notifications__actions {
    --grid-area: unset;
  }
}

.icon-button__text {
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}


.team-members {
  list-style: none;
  padding: 0;
  margin-block: 1rem;
}

.team-members__item {
  margin-block: 0.5rem;
}

.ellipsis-summary {
  list-style: none;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

details[open] .ellipsis-summary {
  display: none;
}

.pagination {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  display: flex;
  gap: 0.25rem;
  justify-content: center;
  flex-wrap: wrap;
  --item-padding: 0.25rem;
}

.pagination__page--current {
  padding: var(--item-padding);
  border: var(--border);
}

.pagination__link {
  padding: var(--item-padding);
  display: block;
}

.apikeys {
  width: 100%;
}

.apikeys__header {
  text-align: left;
}

.apikeys__actions {
  text-align: right;
}

.usage {
  --padding: 2px;
  margin: calc(var(--padding) * -1);
  width: 100%;
  border-collapse: collapse;
}

.usage__head {
  padding: var(--padding);
  text-align: left;
}

.usage__row:hover {
  --usage-cell-bg: var(--color-bg);
}

.usage__cell {
  padding: var(--padding);
  background: var(--usage-cell-bg, unset);
}

.usage__head--bandwidth {
  text-align: right;
}

.usage__head--buildmin {
  text-align: right;
}

.usage__cell--bandwidth {
  text-align: right;
}

.usage__cell--buildmin {
  text-align: right;
}

.plan-header {
  text-align: center;
}

.plans {
  --card-margin: 1.875rem;
  --inner-margin: 1.25rem;
  --color-highlight: rgba(16, 149, 255, 0.15);
}

.plans {
  display: flex;
  gap: var(--inner-margin);
  flex-wrap: wrap;
  justify-content: center;
}

.plans__plan {
  border-radius: 1rem;
  background: #FFF;
  box-shadow: var(--shadow);
  padding: var(--card-margin);
  max-width: 36ch;
  min-width: min(20ch, calc(100vw - 4 * var(--card-margin)));
  flex: 1 0;
}

.plans__title {
  font-size: 1.25rem;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  margin-block: 0 0.5rem;
}

.plans__description {
  margin-block: 0.5rem 1.25rem;
  min-height: 3rem;
}

.plans__highlight {
  margin: var(--inner-margin) calc(var(--card-margin) * -1);
  padding: var(--inner-margin) var(--card-margin);
  background: var(--color-highlight);
}

.plans__pricing {
  margin-block: 0 1rem;
  line-height: 1;
}

.plans__price {
  font-size: 2rem;
  font-style: normal;
  font-weight: 700;
  line-height: 1;
  /* 100% */
  margin-inline-end: 0.25rem;
}

.plans__cta {
  --bg: var(--color-primary);
  --color: white;
}

.plans__cta--disabled {
  --bg: var(--color-bg);
  --color: var(--color-text-dim);
  cursor: initial;
}

.plans__cta {
  padding: 0.625rem;
  border-radius: 0.3125rem;
  display: block;
  background: var(--bg);
  color: var(--color);
  text-align: center;
  font-size: 1.125rem;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  text-decoration: none;
}

.plans__cta:hover {
  background: var(--bg);
  color: var(--color);
}

.plans__limits {
  margin-block: var(--inner-margin);
}

.plans__limit {
  margin-block: calc(var(--inner-margin) / 2);
  line-height: 1.5;
}

.plans__feature-list {
  margin-block: 0.25rem 0;
}