.kwt-entry textarea.kwt-multiline,.dj-fentry textarea.kwt-multiline,.ys-search textarea.kwt-multiline{
  display:block;flex:1 1 0;box-sizing:border-box;min-width:0;min-height:32px;width:100%;margin:0;
  padding:4px 3px;resize:none;overflow:hidden;white-space:pre-wrap;overflow-wrap:anywhere;
  border:0;border-radius:0;outline:0;box-shadow:none;appearance:none;background:transparent;
  color:inherit;font:inherit;font-size:16px;line-height:1.5
}
.kwt-entry textarea.kwt-multiline::placeholder{color:#777c74}
.kwt-modes,.dj-modes{min-width:0;align-items:center;flex-wrap:wrap}
.kwt-modes .kwt-specialty-tab,.dj-modes .kwt-specialty-tab{
  display:inline-flex;align-items:center;justify-content:center;white-space:nowrap;flex:none;cursor:pointer
}
form .kwt-modes:has(label) .kwt-specialty-tab{
  font:inherit;font-size:13px;min-height:30px;padding:4px 13px;
  color:#171717;background:#f5f5f5;border:1px solid #e6e6e6;border-radius:20px
}
@media(max-width:480px){
  .kwt-entry textarea.kwt-multiline::placeholder{font-size:13px}
  form .kwt-modes:has(label)>*{padding-inline:8px;font-size:12px}
}

/* The current search mode and the current main page share one selected style. */
form :is(.kwt-modes, .dj-modes) :is(button, label)[data-mode][aria-pressed="true"],
nav.kwt-view-tabs a[aria-current="page"] {
  background: #000;
  border-color: #000;
  color: #fff;
}
nav.kwt-view-tabs {
  box-sizing: border-box;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px;
  width: min(100%, 32rem);
  margin: 0 auto;
  padding: 8px 12px;
}
nav.kwt-view-tabs a {
  box-sizing: border-box;
  display: grid;
  place-items: center;
  min-height: 44px;
  padding: 5px 3px;
  border: 1px solid #d5d5d5;
  border-radius: 6px;
  background: #fff;
  color: #222;
  font: inherit;
  font-size: 15px;
  font-weight: 650;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
}
nav.kwt-view-tabs a:focus-visible {
  outline: 2px solid #555;
  outline-offset: 2px;
}
