html {
  --bg-color-light: rgb(218,220,224);
  --bg-color-dark: #19191b;
  --text-color-light: #000;
  --text-color-dark: rgb(218,220,224);
  --stripe-color-light: #eeeeee7f;
  --stripe-color-dark: #3e3e3e7f;
  --stripe-color: var(--stripe-color-light);
  --bg-color: var(--bg-color-light);
  --text-color: var(--text-color-light);
}
html.dark {
  --bg-color: var(--bg-color-dark);
  --text-color: var(--text-color-dark);
  --stripe-color: var(--stripe-color-dark);
  background-color: var(--bg-color);
  color: var(--text-color);
}
#extensions tr {
  vertical-align: top;
  list-style-type: none;
  width: 100%;
  padding: 1em;
}
#container {
  min-width: 300px;
  font-size: 14px;
}
#logo {
  height: 24px;
  vertical-align:middle;
}
#reset {
  float: right;
  background: transparent;
  border: 1px solid var(--text-color);
  border-radius: 4px;
  color: inherit;
}
.grid {
  width: calc(100% - 20px);
  display: inline-grid;
  grid-template-columns: 16px 16px 16px 16px auto minmax(min-content, max-content);
  gap: .5rem;
  vertical-align: top;
}
.requests {
  margin: 0.5rem 0;
  width: 100%;
  display: inline-grid;
  row-gap: 4px;
  grid-template-columns: 20px auto minmax(50px, max-content);
  font-size: 0.75rem;
  > pre {
    word-break: break-all;
    white-space: pre-wrap;
    margin: 0;
    padding-left: 0.5rem;

  }
  > div {
    height: 100%;
    text-align: right;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 0.5rem;
  }
  > *:nth-child(6n+4), > *:nth-child(6n+5), > *:nth-child(6n+6) {
    background-color: var(--stripe-color);
  }
}
.exts-body {
  width: 100%;
}
.pointer {
  cursor: pointer;
}
.item {
  > summary {
    margin-top: .5rem;
  }
}
.item-mute {
  background-image: url('icons/volume-on.svg');
  background-size: 16px;
  background-repeat: no-repeat;
}
.item.muted {
  > summary {
    color: #999;
  }
  .item-mute {
    background-image: url('icons/volume-off.svg')
  }
}
.item-block {
  background-image: url('icons/wifi-on.svg');
  background-size: 16px;
  background-repeat: no-repeat;
}
.item.blocked {
  > summary {
    color: #f00;
  }
  .item-block {
    background-image: url('icons/wifi-off.svg')
  }
}

.item-block.blocked {
  background-image: url('icons/wifi-off.svg')
}

.item-toggle {
  background-image: url('icons/toggle-off.svg');
  background-size: 16px;
  background-repeat: no-repeat;
}
.theme {
  width: 16px;
  height: 16px;
  margin: auto 0;
  stroke: var(--text-color);
}
.buttons {
  display: flex;
  gap: 0.5rem;
}
.item:not(.enabled) {
  > summary {
    color: #5f6368;
  }
}
.item.enabled {
  .item-toggle {
    background-image: url('icons/toggle-on.svg');
  }
}
.item[open] > summary {
  background-color: rgba(255, 255, 0, 0.25);
}
.app-header {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid #5f6368;
  padding-bottom: 0.5em;
}

body.is-store .item {
  .item-mute, .item-reqNum {
    visibility: hidden;
  }
  > summary::marker {
    display: none;
    content: "";
  }
}

.permissions {
  visibility: hidden;
  display: flex;
  justify-content: center;
  margin: 1rem;
}
