.webview-workspace {
  box-sizing: border-box;
  min-width: 0;
  overflow: hidden;
  padding: 14px;
}

.webview-pane {
  grid-template-rows: 34px minmax(0, 1fr);
  width: 100%;
  height: 100%;
}

.webview-pane > header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 28ch) max-content;
  gap: 8px;
  overflow: hidden;
}

.webview-nav-group {
  display: flex;
  gap: 6px;
  align-items: center;
  min-width: 0;
  overflow: hidden;
  flex-shrink: 1;
}

.webview-nav-globe {
  margin-right: 4px;
  color: #95a7bb;
  flex-shrink: 0;
}

.webview-nav-group .webview-toolbar-form {
  display: flex;
  flex: 1 1 auto;
  min-width: 0;
  height: 24px;
}

.webview-nav-group .webview-address-input {
  flex: 1 1 auto;
  min-width: 0;
  height: 24px;
  padding: 0 8px;
  color: #d9e2ef;
  font-size: 11px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(128, 153, 184, 0.28);
  border-radius: 5px;
  outline: none;
}

.webview-nav-group .webview-address-input:focus {
  border-color: rgba(86, 166, 255, 0.45);
  background: rgba(255, 255, 255, 0.09);
}

.webview-pane > header > .webview-title-center {
  display: block;
  justify-self: center;
  width: 100%;
  min-width: 0;
  padding: 0 10px;
  box-sizing: border-box;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: center;
  white-space: nowrap;
}

.webview-pane .terminal-pane-actions {
  flex-shrink: 0;
  min-width: max-content;
}

.webview-auto-refresh-select {
  height: 24px;
  max-width: 128px;
  padding: 0 22px 0 8px;
  color: var(--nav-toolbar-text);
  color-scheme: dark;
  font-size: 11px;
  background: var(--nav-toolbar-bg);
  border: 1px solid rgba(128, 153, 184, 0.28);
  border-radius: 5px;
  outline: none;
}

.webview-auto-refresh-select option {
  color: var(--nav-toolbar-text);
  background: var(--nav-toolbar-bg);
}

.webview-auto-refresh-select:focus {
  border-color: rgba(86, 166, 255, 0.45);
  background: var(--nav-toolbar-bg);
}

.webview-pane .webview-toolbar-status {
  max-width: 220px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.webview-placeholder {
  display: grid;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  place-items: center;
}

.webview-placeholder-message {
  padding: 24px;
  text-align: center;
}

.webview-placeholder-error {
  justify-self: stretch;
  padding: 12px;
}
