@import url("/fonts.css");
:root {
  color-scheme: dark;
  --bg: #101014;
  --surface: #17171d;
  --border: #29272f;
  --muted: #92909e;
  --text: #f0eef6;
  --purple: #b298ef;
  --orange: #eea777;
  --accent: #b298ef;
  --sidebar: 228px;
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-size: 14px;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
select {
  outline-offset: 5px;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  color: inherit;
}
button,
select {
  -webkit-tap-highlight-color: transparent;
}
button:disabled {
  cursor: wait;
  opacity: 0.65;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 2px solid var(--purple);
}
svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
button {
  border: 0;
  background: none;
}
button:hover {
  color: white;
}
[hidden] {
  display: none !important;
}
.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.app-shell {
  min-height: 100vh;
}
.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: var(--sidebar);
  background: #141418;
  border-right: 1px solid #24232b;
  padding: 35px 18px 20px;
  display: flex;
  flex-direction: column;
  z-index: 10;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 0 13px 53px;
}
.brand > span {
  font-size: 33px;
  font-weight: 650;
  letter-spacing: -1.7px;
}
.brand-dot {
  color: var(--purple);
}
.workspace-label {
  font-size: 9px;
  font-weight: 650;
  letter-spacing: 1.65px;
  color: #716d7f;
  margin: 0 17px 16px;
}
.main-nav {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.nav-item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 13px 16px;
  border-radius: 7px;
  font-size: 13px;
  color: #a29eae;
  text-align: left;
  transition:
    background 0.2s,
    color 0.2s;
}
.nav-item svg {
  width: 18px;
  height: 18px;
}
.nav-item:hover {
  background: #1e1b27;
}
.nav-item.active {
  color: #c5a8ff;
  background: #292035;
}
.nav-item.active svg {
  stroke: #bc9bf1;
}
.nav-active-dot {
  height: 5px;
  width: 5px;
  background: var(--purple);
  border-radius: 50%;
  margin-left: auto;
}
.nav-count {
  margin-left: auto;
  color: #9c94ac;
  background: #232129;
  font-size: 10px;
  padding: 2px 5px;
  border-radius: 4px;
}
.nav-divider {
  height: 1px;
  background: #28252e;
  margin: 20px 12px 12px;
}
.sidebar-bottom {
  margin-top: auto;
  padding-top: 50px;
}
.connection-card {
  border: 1px solid #2c2834;
  background: linear-gradient(120deg, #201b28, #19171e);
  border-radius: 9px;
  padding: 15px 13px;
  margin-bottom: 20px;
}
.connection-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 550;
}
.status-dot,
.small-dot {
  width: 6px;
  height: 6px;
  display: inline-block;
  background: #87c6a3;
  border-radius: 50%;
  box-shadow: 0 0 8px #87c6a320;
}
.status-dot.checking {
  background: #d6b983;
}
.status-dot.offline {
  background: #e08b86;
}
.connection-card p {
  font-size: 10px;
  color: #8c8398;
  margin: 8px 0 17px;
}
.connection-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #82738f;
  font-size: 8px;
  letter-spacing: 1.2px;
}
.connection-foot svg {
  width: 14px;
  height: 14px;
}
.tiny-arrow {
  margin-left: auto;
  width: 13px !important;
}
.sidebar-version {
  border-top: 1px solid #24222a;
  margin: 17px 13px 0;
  padding-top: 17px;
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  color: #655f73;
  letter-spacing: 1.6px;
}
.sidebar-version span:last-child {
  letter-spacing: 0.3px;
}
.main-shell {
  margin-left: var(--sidebar);
}
.topbar {
  height: 80px;
  border-bottom: 1px solid #24222b;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 43px;
}
.breadcrumb {
  display: flex;
  gap: 16px;
  align-items: center;
  font-size: 11px;
  color: #817a8e;
}
.breadcrumb span {
  color: #494452;
}
.breadcrumb strong {
  font-weight: 500;
  color: #d6cfdc;
}
.topbar-right {
  display: flex;
  align-items: center;
  gap: 23px;
}
.local-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 8px;
  letter-spacing: 1.5px;
  color: #a9a1b3;
}
.local-badge .small-dot {
  width: 4px;
  height: 4px;
  background: var(--purple);
}
.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  padding: 7px;
  color: #9a93a5;
  transition: 0.2s;
}
.icon-button:hover {
  background: #2a2433;
  color: #d4c3ee;
}
.icon-button svg {
  width: 18px;
  height: 18px;
}
.avatar {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  background: #2b223a;
  border: 1px solid #483653;
  color: #d0b8eb;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 600;
}
main {
  max-width: 1500px;
  margin: auto;
  padding: 41px 43px 0;
}
.page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 29px;
}
.eyebrow {
  font-size: 8px;
  letter-spacing: 1.8px;
  color: #9e8aaf;
  font-weight: 600;
}
h1 {
  font-size: 30px;
  font-weight: 570;
  letter-spacing: -1.2px;
  margin: 12px 0 9px;
}
h1 > span {
  color: var(--purple);
}
.page-heading p {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
  line-height: 1.6;
}
.outline-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
  border: 1px solid #35303d;
  border-radius: 5px;
  padding: 8px 10px;
  color: #aea2bc;
  font-size: 9px;
  background: #19161e;
}
.outline-tag svg {
  width: 13px;
  height: 13px;
  color: var(--purple);
}
.hero-card {
  height: 280px;
  border: 1px solid #3d3048;
  border-radius: 12px;
  background: linear-gradient(108deg, #231b31 0%, #1e172b 52%, #261c27 100%);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.hero-grid {
  position: absolute;
  inset: 0;
  opacity: 0.17;
  background-image:
    linear-gradient(#75608033 1px, transparent 1px),
    linear-gradient(90deg, #75608033 1px, transparent 1px);
  background-size: 39px 39px;
  mask-image: linear-gradient(to right, transparent, #000);
}
.hero-copy {
  position: relative;
  z-index: 2;
  padding-left: 33px;
  flex: 0 0 50%;
}
.hero-kicker {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 7px;
  letter-spacing: 1.55px;
  color: #b4a0c6;
}
.hero-kicker > span {
  height: 4px;
  width: 4px;
  background: var(--orange);
  border-radius: 50%;
}
.hero-copy h2 {
  font-size: 43px;
  line-height: 1.08;
  font-weight: 570;
  letter-spacing: -1.8px;
  margin: 18px 0 13px;
}
.hero-copy h2 > span {
  background: linear-gradient(100deg, #b996f7, #dba1af 70%, #edb07f);
  color: transparent;
  background-clip: text;
}
.hero-copy > p {
  font-size: 11px;
  line-height: 1.8;
  color: #a79ab7;
  margin: 0;
}
.hero-tech {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
  font-size: 7px;
  letter-spacing: 1.1px;
  color: #b5a6c4;
}
.hero-tech b {
  font-size: 7px;
  font-weight: 500;
  border: 1px solid #69516b;
  color: #d4b5d2;
  padding: 2px 4px;
  border-radius: 3px;
  margin-left: 4px;
  letter-spacing: 0;
}
.hero-tech i {
  font-style: normal;
  color: #7e6d90;
}
.prism-art {
  width: 57%;
  position: absolute;
  right: -12px;
  top: -16px;
  bottom: -25px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.prism-art svg {
  width: 100%;
  height: 100%;
  stroke: none;
}
.search-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 66px;
  background: #1b1921;
  border: 1px solid #50405f;
  border-radius: 10px;
  padding: 8px 9px 8px 19px;
  margin-top: 24px;
  box-shadow:
    0 0 0 4px #b492ee04,
    0 8px 35px #0000000d;
  transition: 0.2s;
}
.search-bar:focus-within {
  border-color: #a589cf;
  box-shadow: 0 0 0 3px #b492ee15;
}
.search-icon {
  width: 20px;
  height: 20px;
  color: #a08cae;
}
.search-bar input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: none !important;
  background: transparent;
  color: #eee5f6;
  font-size: 12px;
  height: 100%;
}
.search-bar input::placeholder {
  color: #9990a5;
}
.search-bar kbd {
  border: 1px solid #38313f;
  padding: 4px 6px;
  white-space: nowrap;
  font-size: 9px;
  border-radius: 4px;
  font-family: inherit;
  color: #8b7f99;
}
.search-bar button {
  background: #b597eb;
  color: #20132f;
  font-weight: 650;
  font-size: 11px;
  white-space: nowrap;
  height: 46px;
  border-radius: 6px;
  padding: 0 19px;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: 0.2s;
}
.search-bar button:hover {
  background: #c9b0f5;
  box-shadow: 0 0 20px #b597eb25;
}
.search-bar button svg {
  width: 17px;
  height: 17px;
}
.search-caption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 9px;
  color: #777080;
  margin: 12px 3px 31px;
}
.search-caption > span:first-child {
  display: flex;
  align-items: center;
  gap: 6px;
}
.search-caption svg {
  width: 12px;
  height: 12px;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  gap: 10px;
}
.section-heading h3 {
  font-size: 12px;
  font-weight: 550;
  margin: 0;
  letter-spacing: -0.1px;
}
.section-heading h3 > span {
  font-size: 8px;
  color: #71647f;
  border: 1px solid #352d3f;
  padding: 2px 4px;
  border-radius: 4px;
  margin-left: 7px;
  font-weight: 500;
}
.section-heading > p {
  font-size: 9px;
  color: #81788e;
  margin: 0;
}
.engine-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.engine-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  position: relative;
  text-align: left;
  background: #19181e;
  border: 1px solid #302b38;
  border-radius: 10px;
  padding: 21px 18px;
  transition:
    background 0.2s,
    border-color 0.2s;
}
.engine-card:hover {
  background: #211d26;
  border-color: #665574;
}
.engine-card.selected {
  border-color: #a67048;
  background: linear-gradient(110deg, #2b211d, #1e1a1c 80%);
}
.engine-icon {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 10px;
}
.engine-icon svg {
  width: 29px;
  height: 29px;
}
.scramjet-icon {
  background: #382822;
  color: #edb18a;
  border: 1px solid #684530;
}
.uv-icon {
  background: #292035;
  color: #bf9df0;
  border: 1px solid #4f3a69;
}
.engine-content {
  flex: 1;
  min-width: 0;
}
.engine-title {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.2px;
  min-height: 21px;
}
.version-tag {
  font-size: 7px;
  letter-spacing: 0.3px;
  color: #d0a482;
  border: 1px solid #684d39;
  background: #402e2170;
  padding: 2px 4px;
  border-radius: 3px;
  font-weight: 500;
}
.uv-icon + .engine-content .version-tag {
  color: #ba9edf;
  background: #39274950;
  border-color: #483156;
}
.recommended {
  font-size: 6px;
  letter-spacing: 0.6px;
  font-weight: 500;
  color: #d7a989;
  background: #53392459;
  padding: 4px 5px;
  border-radius: 3px;
  margin-left: auto;
}
.engine-content p {
  font-size: 9px;
  color: #a094a1;
  line-height: 1.7;
  margin: 7px 0 18px;
}
.engine-features {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 7px;
  color: #9e929e;
  white-space: nowrap;
}
.engine-features > span {
  display: flex;
  align-items: center;
  gap: 4px;
}
.engine-features > span + span:before {
  content: "";
  width: 3px;
  height: 3px;
  background: #716372;
  border-radius: 50%;
  margin-right: 4px;
}
.engine-features svg {
  height: 10px;
  width: 10px;
  color: #d2a080;
}
.radio-indicator {
  position: absolute;
  right: 17px;
  bottom: 18px;
  height: 15px;
  width: 15px;
  border: 1px solid #5d5069;
  border-radius: 50%;
  color: #241a17;
  display: flex;
  align-items: center;
  justify-content: center;
}
.radio-indicator svg {
  height: 10px;
  width: 10px;
  opacity: 0;
  stroke-width: 2.4;
}
.selected .radio-indicator {
  background: #dea271;
  border-color: #dea271;
}
.selected .radio-indicator svg {
  opacity: 1;
}
.ultraviolet.selected {
  border-color: #9d7bc9;
  background: linear-gradient(110deg, #292036, #1e1a25);
}
.ultraviolet.selected .radio-indicator {
  background: #bc9cea;
  border-color: #bc9cea;
}
.transport-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 17px 19px;
  border: 1px solid #2c2833;
  border-radius: 10px;
  background: #16151b;
  margin-top: 17px;
  gap: 14px;
}
.transport-copy {
  display: flex;
  align-items: center;
  gap: 12px;
}
.transport-symbol {
  height: 34px;
  width: 34px;
  border: 1px solid #39303f;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: #a489b9;
  background: #211a2a;
}
.transport-symbol svg {
  width: 17px;
  height: 17px;
}
.transport-copy h3 {
  font-size: 10px;
  font-weight: 500;
  margin: 0 0 5px;
}
.transport-copy p {
  font-size: 8px;
  color: #877e91;
  margin: 0;
}
.transport-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}
.transport-controls > span {
  font-size: 7px;
  letter-spacing: 1px;
  color: #7e738b;
}
.segmented {
  border: 1px solid #332b3c;
  border-radius: 6px;
  padding: 4px;
  display: flex;
  background: #121016;
}
.segmented > button {
  font-size: 9px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 13px;
  color: #9e92aa;
  border-radius: 4px;
}
.segmented > button.selected {
  background: #35273f;
  color: #d6b9f2;
  box-shadow: 0 1px 3px #0003;
}
.transport-dot {
  height: 5px;
  width: 5px;
  border-radius: 50%;
  background: #bf94e5;
}
.segmented svg {
  height: 12px;
  width: 12px;
}
.transport-controls > .icon-button {
  padding: 0;
}
.transport-controls > .icon-button svg {
  width: 14px;
  height: 14px;
}
.shortcuts-heading {
  margin-top: 29px;
}
.text-button {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 9px;
  color: #aea0bc;
  padding: 2px;
}
.text-button:hover {
  color: #dfc5ff;
}
.text-button svg {
  width: 13px;
  height: 13px;
}
.shortcuts-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}
.shortcut {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
  padding: 17px 8px 14px;
  background: #17161c;
  border: 1px solid #2a2632;
  border-radius: 8px;
  transition:
    transform 0.2s,
    border-color 0.2s;
}
.shortcut:hover {
  transform: translateY(-3px);
  border-color: #715189;
  background: #201b27;
}
.shortcut-logo {
  width: 29px;
  height: 29px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-size: 18px;
  font-weight: 650;
  position: relative;
}
.shortcut-logo.google {
  font-weight: 650;
  color: #90acf8;
  font-size: 24px;
  background: transparent;
}
.shortcut-logo.youtube {
  color: #ee8687;
  background: #422226;
  font-size: 14px;
}
.shortcut-logo.reddit {
  color: #f19974;
  background: #44281f;
}
.shortcut-logo.wikipedia {
  font-family: Georgia, serif;
  color: #ddd6e6;
  background: #2a2730;
  font-size: 22px;
  font-weight: 400;
}
.shortcut-logo.github {
  background: #302b38;
  color: #d8cbe6;
}
.shortcut-logo.discord {
  background: #292747;
  color: #aaa5f7;
}
.shortcut-logo.custom {
  color: #c9aae8;
  background: #30213d;
  font-size: 14px;
}
.shortcut-label {
  font-size: 9px;
  color: #b5acbd;
  max-width: 100%;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.page-footer {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid #27222e;
  margin-top: 29px;
  padding: 20px 0 24px;
  color: #74697f;
  font-size: 8px;
}
.page-footer > span {
  display: flex;
  align-items: center;
  gap: 7px;
}
.small-prism {
  font-size: 15px;
  color: #ae8bca;
}
.footer-star {
  color: #b496c5;
  font-size: 14px;
}
.saved-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.saved-row {
  display: flex;
  align-items: center;
  gap: 15px;
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 18px 20px;
  border-radius: 10px;
}
.saved-row .saved-details {
  flex: 1;
  min-width: 0;
}
.saved-row strong {
  font-size: 13px;
  font-weight: 500;
}
.saved-row p {
  font-size: 11px;
  color: var(--muted);
  margin: 6px 0 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.saved-row .saved-open {
  text-align: left;
  max-width: 100%;
  padding: 0;
}
.saved-row small {
  color: #9a849f;
  font-size: 10px;
  white-space: nowrap;
}
.empty-state {
  text-align: center;
  padding: 75px 20px;
  border: 1px dashed #39303f;
  border-radius: 12px;
  color: var(--muted);
}
.empty-state > svg {
  width: 34px;
  height: 34px;
  color: var(--purple);
  margin-bottom: 12px;
}
.empty-state h3 {
  font-weight: 500;
  color: #e2d7eb;
}
.empty-state p {
  font-size: 12px;
  line-height: 1.8;
}
.primary-button,
.secondary-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 9px;
  border-radius: 6px;
  padding: 12px 16px;
  font-size: 11px;
  white-space: nowrap;
}
.primary-button {
  color: #20132f;
  background: #b597eb;
  font-weight: 600;
}
.primary-button:hover {
  background: #cdb3f6;
  color: #211331;
}
.primary-button svg,
.secondary-button svg {
  width: 15px;
  height: 15px;
}
.secondary-button {
  border: 1px solid #44364d;
  background: #211a28;
  color: #c9b5d9;
}
.secondary-button:hover {
  background: #302237;
}
.settings-panel {
  border: 1px solid #302936;
  background: #19161e;
  border-radius: 12px;
  padding: 25px;
  margin-bottom: 20px;
}
.settings-panel h3 {
  font-size: 14px;
  font-weight: 550;
  margin: 0 0 13px;
}
.setting-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #302735;
  padding: 22px 0;
  gap: 20px;
}
.setting-row:last-child {
  padding-bottom: 0;
}
.setting-row > span {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.setting-row strong {
  font-size: 12px;
  font-weight: 500;
}
.setting-row small {
  font-size: 11px;
  line-height: 1.5;
  color: var(--muted);
}
select {
  background: #221a2d;
  border: 1px solid #493954;
  border-radius: 6px;
  padding: 10px;
  color: #d6c6e4;
  min-width: 180px;
  font-size: 11px;
}
.toggle {
  appearance: none;
  width: 35px;
  height: 20px;
  border-radius: 20px;
  background: #403348;
  position: relative;
  cursor: pointer;
  flex-shrink: 0;
}
.toggle:after {
  position: absolute;
  content: "";
  width: 14px;
  height: 14px;
  background: #cdc3d5;
  border-radius: 50%;
  top: 3px;
  left: 3px;
  transition: 0.2s;
}
.toggle:checked {
  background: #a486ce;
}
.toggle:checked:after {
  left: 18px;
  background: white;
}
.notice {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 17px 20px;
  border: 1px solid #44323f;
  border-radius: 9px;
  background: #241c2480;
  color: #bba5bd;
}
.notice svg {
  width: 19px;
  height: 19px;
  flex-shrink: 0;
  color: #c9a0d5;
}
.notice p {
  font-size: 11px;
  line-height: 1.8;
  margin: 0;
}
.panel-heading {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.diagnostics {
  font-size: 11px;
  color: var(--muted);
  line-height: 2;
}
.diagnostic-row {
  display: flex;
  justify-content: space-between;
  padding: 7px 0;
  border-top: 1px solid #302735;
  gap: 20px;
}
.diagnostic-row > span:last-child {
  text-align: right;
  color: #c9b2d5;
  overflow-wrap: anywhere;
}
.help-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.help-grid .settings-panel {
  margin: 0 0 3px;
}
.help-grid + .notice {
  margin-top: 20px;
}
.help-number {
  display: block;
  color: #ac88c8;
  font-size: 8px;
  letter-spacing: 1px;
  margin-bottom: 21px;
}
.help-grid p {
  font-size: 12px;
  color: #a198aa;
  line-height: 1.9;
}
.help-grid code {
  color: #b899cf;
}
.help-grid .text-button {
  margin-top: 12px;
}
.browser-view {
  position: fixed;
  inset: 0;
  background: #131017;
  z-index: 50;
  display: flex;
  flex-direction: column;
}
.browser-toolbar {
  height: 63px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 15px;
  border-bottom: 1px solid #3a2c43;
  flex-shrink: 0;
}
.toolbar-divider {
  height: 24px;
  width: 1px;
  background: #3a2c43;
  margin: 0 5px;
}
.flipped {
  transform: rotate(180deg);
}
#browser-form {
  display: flex;
  flex: 1;
  align-items: center;
  gap: 10px;
  padding: 0 8px 0 13px;
  background: #251e2e;
  border: 1px solid #43334e;
  border-radius: 7px;
  height: 37px;
  min-width: 0;
}
#browser-form > svg {
  color: #a789bd;
  width: 16px;
  height: 16px;
}
#browser-form input {
  width: 100%;
  border: 0;
  background: transparent;
  outline: 0;
  color: #d8c9e2;
  font-size: 12px;
  min-width: 0;
}
.browser-engine {
  color: #b89bcb;
  font-size: 10px;
  padding: 0 8px;
  white-space: nowrap;
}
.browser-status {
  font-size: 10px;
  color: #bdaac9;
  padding: 7px 20px;
  background: #211827;
}
.browser-status.warning {
  color: #e6b886;
  background: #35261d;
}
#frame-container {
  flex: 1;
  min-height: 0;
  position: relative;
  background: white;
}
#frame-container iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
  background: white;
}
dialog {
  max-width: 450px;
  width: calc(100% - 32px);
  border: 1px solid #554162;
  border-radius: 14px;
  background: #1d1723;
  color: #e7dcee;
  padding: 28px;
  box-shadow: 0 20px 100px #0008;
}
dialog::backdrop {
  background: #08050cb5;
  backdrop-filter: blur(6px);
}
.dialog-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 15px;
}
.dialog-heading h2 {
  font-size: 22px;
  font-weight: 500;
  margin: 10px 0 15px;
  letter-spacing: -0.6px;
}
.dialog-heading .eyebrow {
  font-size: 7px;
}
dialog label {
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 11px;
  color: #bca9cb;
  margin-bottom: 18px;
}
dialog input:not([type="checkbox"]) {
  width: 100%;
  background: #15101b;
  border: 1px solid #42314e;
  border-radius: 6px;
  padding: 12px;
  color: #eadcf5;
  font-size: 12px;
}
dialog .checkbox-label {
  flex-direction: row;
  align-items: center;
  gap: 9px;
  font-size: 11px;
}
input[type="checkbox"] {
  accent-color: #b89be8;
}
dialog .primary-button {
  width: 100%;
  justify-content: space-between;
}
.form-error {
  font-size: 11px;
  color: #f2ab9c;
}
.toast {
  position: fixed;
  bottom: 25px;
  left: calc(50% + var(--sidebar) / 2);
  transform: translateX(-50%);
  max-width: 560px;
  width: max-content;
  max-width: calc(100% - 35px);
  padding: 15px 22px;
  border: 1px solid #694783;
  border-radius: 9px;
  background: #30203f;
  box-shadow: 0 10px 40px #0006;
  z-index: 100;
  color: #e6cdf8;
  font-size: 12px;
  line-height: 1.7;
}
.toast.error {
  border-color: #805446;
  background: #382321;
  color: #f3c7b8;
}
.noscript {
  position: fixed;
  inset: 20px 20px auto;
  background: #522;
  padding: 20px;
  z-index: 200;
}
body.orange-accent .search-bar button {
  background: #e7aa82;
}
body.orange-accent .search-bar {
  border-color: #665044;
}
@media (min-width: 1450px) {
  :root {
    --sidebar: 250px;
  }
  main {
    padding: 46px 65px 0;
  }
  .topbar {
    padding: 0 65px;
  }
  .hero-card {
    height: 310px;
  }
  .hero-copy h2 {
    font-size: 49px;
  }
  .hero-copy {
    padding-left: 40px;
  }
  .hero-copy > p {
    font-size: 12px;
  }
  .hero-kicker {
    font-size: 8px;
  }
  .hero-tech {
    font-size: 8px;
  }
  .engine-content p {
    font-size: 10px;
  }
  .engine-features {
    font-size: 8px;
  }
  .engine-card {
    padding: 24px;
  }
  .shortcut {
    padding: 20px 8px 18px;
  }
  .shortcuts-heading {
    margin-top: 34px;
  }
  .search-caption {
    margin-bottom: 35px;
  }
  .recommended {
    font-size: 7px;
  }
}
@media (max-width: 1180px) {
  :root {
    --sidebar: 200px;
  }
  .sidebar {
    padding-left: 12px;
    padding-right: 12px;
  }
  main {
    padding: 32px 28px 0;
  }
  .topbar {
    padding: 0 28px;
  }
  .engine-card {
    padding: 17px 13px;
    gap: 11px;
  }
  .engine-icon {
    width: 33px;
    height: 36px;
  }
  .engine-title {
    font-size: 12px;
    flex-wrap: wrap;
  }
  .recommended {
    display: none;
  }
  .engine-features {
    font-size: 6.5px;
    gap: 5px;
  }
  .radio-indicator {
    right: 10px;
    bottom: 13px;
  }
  .hero-card {
    height: 265px;
  }
  .hero-copy h2 {
    font-size: 40px;
  }
  .hero-copy {
    padding-left: 28px;
  }
  .transport-controls {
    gap: 8px;
  }
  .transport-controls > span {
    display: none;
  }
}
@media (max-width: 920px) {
  :root {
    --sidebar: 76px;
  }
  .sidebar {
    padding: 25px 10px 16px;
  }
  .brand {
    margin: 0 auto 44px;
    gap: 0;
  }
  .brand > span,
  .workspace-label,
  .nav-item > span,
  .sidebar-bottom .connection-card,
  .sidebar-version,
  .tiny-arrow {
    display: none;
  }
  .nav-item {
    padding: 15px;
    justify-content: center;
  }
  .nav-item svg {
    width: 20px;
    height: 20px;
  }
  .nav-divider {
    margin: 16px 4px;
  }
  .sidebar-bottom {
    padding-top: 20px;
  }
  .page-heading > .outline-tag {
    display: none;
  }
  .brand img {
    width: 35px;
    height: 35px;
  }
  .page-heading h1 {
    font-size: 28px;
  }
  .search-bar {
    height: 62px;
  }
  .engine-content p {
    font-size: 8px;
  }
  .engine-features {
    gap: 4px;
  }
  .transport-copy p {
    font-size: 8px;
  }
  .hero-card {
    height: 260px;
  }
  .engine-grid {
    gap: 12px;
  }
  .shortcuts-grid {
    gap: 8px;
  }
}
@media (max-width: 650px) {
  :root {
    --sidebar: 0px;
  }
  .sidebar {
    position: fixed;
    inset: auto 0 0;
    width: 100%;
    height: 63px;
    border-top: 1px solid #322a3b;
    padding: 7px 14px;
    background: #18131ded;
    backdrop-filter: blur(16px);
  }
  .brand,
  .sidebar-bottom,
  .nav-divider {
    display: none;
  }
  .main-nav {
    flex-direction: row;
    justify-content: space-around;
    gap: 6px;
  }
  .nav-item {
    width: auto;
    flex: 1;
    flex-direction: column;
    gap: 4px;
    padding: 6px;
  }
  .nav-item > span:not(.nav-count):not(.nav-active-dot) {
    display: block;
    font-size: 8px;
  }
  .nav-item svg {
    width: 17px;
    height: 17px;
  }
  .topbar {
    height: 62px;
    padding: 0 21px;
  }
  .topbar-right {
    gap: 13px;
  }
  .local-badge {
    font-size: 7px;
    letter-spacing: 1px;
  }
  .topbar .icon-button {
    display: none;
  }
  main {
    padding: 29px 20px 75px;
  }
  .page-heading {
    margin-bottom: 23px;
    align-items: flex-start;
  }
  .eyebrow {
    font-size: 7px;
    letter-spacing: 1.35px;
  }
  .page-heading h1 {
    font-size: 25px;
    letter-spacing: -1px;
  }
  .page-heading p {
    font-size: 10px;
  }
  .hero-card {
    height: 256px;
  }
  .hero-copy {
    padding-left: 23px;
    flex-basis: 65%;
  }
  .hero-copy h2 {
    font-size: 39px;
  }
  .hero-kicker {
    font-size: 6px;
    letter-spacing: 1px;
  }
  .hero-copy p {
    font-size: 10px;
  }
  .hero-tech {
    font-size: 6px;
    gap: 8px;
  }
  .prism-art {
    width: 76%;
    right: -28%;
    top: 12px;
    opacity: 0.75;
  }
  .hero-tech {
    margin-top: 23px;
  }
  .hero-copy {
    padding-top: 3px;
  }
  .search-bar {
    margin-top: 20px;
    padding-left: 14px;
    gap: 10px;
    height: 58px;
  }
  .search-bar button {
    height: 40px;
    padding: 0 13px;
    font-size: 10px;
    gap: 8px;
  }
  .search-bar input {
    font-size: 10px;
  }
  .search-bar kbd {
    display: none;
  }
  .search-icon {
    width: 16px;
    height: 16px;
  }
  .search-caption {
    font-size: 7px;
    margin-bottom: 28px;
  }
  .search-caption svg {
    width: 10px;
    height: 10px;
  }
  .section-heading h3 {
    font-size: 11px;
  }
  .section-heading > p {
    display: none;
  }
  .engine-grid {
    grid-template-columns: 1fr;
    gap: 11px;
  }
  .engine-card {
    padding: 19px 15px;
    gap: 13px;
  }
  .engine-icon {
    width: 40px;
    height: 40px;
  }
  .engine-title {
    font-size: 13px;
  }
  .recommended {
    display: block;
    margin-left: 7px;
  }
  .engine-content p {
    font-size: 9px;
    margin-bottom: 13px;
  }
  .engine-features {
    font-size: 7px;
    gap: 11px;
  }
  .radio-indicator {
    bottom: auto;
    top: 20px;
    right: 15px;
  }
  .transport-bar {
    padding: 15px 12px;
  }
  .transport-copy {
    gap: 8px;
  }
  .transport-symbol {
    display: none;
  }
  .transport-copy h3 {
    font-size: 10px;
  }
  .transport-copy p {
    font-size: 7px;
    max-width: 130px;
    line-height: 1.6;
  }
  .transport-controls .icon-button {
    display: none;
  }
  .segmented > button {
    font-size: 8px;
    padding: 7px 10px;
    gap: 4px;
  }
  .shortcuts-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }
  .shortcuts-heading {
    margin-top: 27px;
  }
  .shortcut {
    padding: 17px 5px 12px;
  }
  .shortcut-label {
    font-size: 9px;
  }
  .text-button {
    font-size: 8px;
  }
  .page-footer {
    font-size: 7px;
    gap: 15px;
    line-height: 1.6;
  }
  .page-footer > span:last-child {
    max-width: 105px;
    text-align: right;
  }
  .help-grid {
    grid-template-columns: 1fr;
  }
  .settings-panel {
    padding: 19px;
  }
  .setting-row {
    gap: 12px;
  }
  .setting-row small {
    font-size: 9px;
  }
  .setting-row strong {
    font-size: 11px;
  }
  select {
    min-width: 125px;
    max-width: 145px;
    font-size: 10px;
    padding: 9px;
  }
  .page-heading > .primary-button,
  .page-heading > .secondary-button {
    font-size: 0;
    padding: 10px;
    gap: 0;
    margin-top: 25px;
  }
  .page-heading > .primary-button svg,
  .page-heading > .secondary-button svg {
    width: 19px;
    height: 19px;
  }
  .page-heading > .outline-tag {
    display: none;
  }
  .saved-row {
    padding: 14px 12px;
    gap: 10px;
  }
  .saved-row small {
    display: none;
  }
  .saved-row strong {
    font-size: 12px;
  }
  .saved-row p {
    font-size: 9px;
  }
  .toast {
    bottom: 78px;
    font-size: 11px;
  }
  .browser-toolbar {
    gap: 3px;
    padding: 8px;
    height: 56px;
  }
  .browser-toolbar > .icon-button {
    padding: 5px;
  }
  .browser-toolbar > .icon-button svg {
    width: 16px;
  }
  .toolbar-divider,
  .browser-engine,
  #browser-forward {
    display: none;
  }
  #browser-form {
    padding-left: 8px;
    gap: 6px;
  }
  #browser-form input {
    font-size: 10px;
  }
  #browser-form > svg {
    display: none;
  }
  .browser-status {
    font-size: 9px;
    line-height: 1.6;
    padding: 6px 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    animation: none !important;
  }
}

.connection-description {
  font-size: 11px;
  line-height: 1.8;
  color: var(--muted);
  overflow-wrap: anywhere;
}
.wisp-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 20px 0 14px;
}
.wisp-form label {
  font-size: 11px;
  color: #bca9cb;
}
.wisp-form input {
  width: 100%;
  min-width: 0;
  background: #15101b;
  border: 1px solid #42314e;
  border-radius: 6px;
  padding: 12px;
  color: #eadcf5;
  font-size: 12px;
}
.wisp-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
