.workspace-jump {
  display: none;
}
#composer,
#preview,
#traffic {
  scroll-margin-top: 4rem;
}
@media (max-width: 700px) {
  .workspace-jump {
    display: flex;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 10;
    padding: 0.8rem 0.5rem;
    margin-bottom: 1rem;
    background: #111a28f2;
    border: 1px solid #3c4c67;
    border-radius: 0.3rem;
    backdrop-filter: blur(12px);
  }
  .workspace-jump a {
    padding: 0.35rem;
    color: #bfcee6;
    font:
      0.5625rem GeistMono,
      monospace;
  }
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background:
    radial-gradient(ellipse at 90% 0, #2839501c, transparent 35rem), var(--background);
  color: var(--foreground);
  font:
    0.875rem/1.7 Geist,
    system-ui,
    sans-serif;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
textarea {
  font: inherit;
}
button {
  cursor: pointer;
}
button,
a,
input,
textarea {
  touch-action: manipulation;
}
button {
  color: var(--foreground);
  background: #202d43;
  border: 1px solid #425675;
  border-radius: 0.3rem;
  padding: 0.6rem 0.9rem;
  min-height: 2.75rem;
}
button:hover {
  background: #2c3c57;
  border-color: #8195b7;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid #b4c7e4;
  outline-offset: 4px;
}
button:disabled {
  opacity: 0.5;
  cursor: default;
}
input,
textarea {
  color: #d6e0f0;
  background: #0c131f;
  border: 1px solid #3b4c66;
  border-radius: 0.3rem;
  min-width: 0;
}
input {
  padding: 0.65rem 0.8rem;
}
textarea {
  padding: 1rem;
  resize: vertical;
}
p {
  color: var(--muted-foreground);
}
[hidden] {
  display: none !important;
}
::selection {
  background: #4c5979;
  color: #fff;
}
.skip-link {
  position: fixed;
  left: 1rem;
  top: -5rem;
  z-index: 100;
  background: #c5d2e8;
  color: #121a27;
  padding: 0.7rem 1rem;
}
.skip-link:focus {
  top: 1rem;
}
.auditor-nav {
  height: 5.125rem;
  padding: 0 max(2rem, calc((100vw - 82.5rem) / 2));
  display: flex;
  align-items: center;
  gap: 1.5rem;
  border-bottom: 1px solid #283344;
  background: #0b0e13d9;
}
.lab-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}
.lab-brand img {
  width: 2rem;
  height: 2rem;
  display: block;
}
.lab-brand strong {
  font-size: 1.1875rem;
  letter-spacing: -0.06em;
  font-weight: 650;
}
.lab-brand strong span {
  color: #9aa7be;
}
.nav-label {
  font:
    0.5rem GeistMono,
    monospace;
  letter-spacing: 0.13em;
  color: #99a8bf;
  border-left: 1px solid #303b4e;
  padding-left: 1.5rem;
}
.auditor-nav > div {
  margin-left: auto;
  display: flex;
  gap: 1.75rem;
  font-size: 0.6875rem;
  color: #bbc7db;
}
.auditor-nav a:hover {
  color: #eaf0fc;
}
.auditor-nav a > span[aria-hidden] {
  margin-left: 0.4rem;
  color: #a7b9d3;
}
.auditor-container {
  max-width: 80rem;
  padding: 0 2.25rem;
  margin: auto;
}
.auditor-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  padding: 3.5rem 0 2.5rem;
}
.eyebrow {
  font:
    0.5625rem/1.7 GeistMono,
    monospace;
  letter-spacing: 0.13em;
  color: #acbdd8;
  text-transform: uppercase;
}
.auditor-heading h1 {
  font-size: 3.35rem;
  line-height: 1.05;
  letter-spacing: -0.065em;
  font-weight: 550;
  margin: 1.25rem 0;
}
.auditor-heading h1 > span {
  color: #b4a9cd;
}
.auditor-heading p {
  max-width: 34rem;
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.9;
}
.research-link {
  display: flex;
  gap: 0.9rem;
  align-items: center;
  white-space: nowrap;
  font-size: 0.6875rem;
  color: #b8c8e2;
  padding-bottom: 0.25rem;
}
.target-bar {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.6rem 0.6rem 0.6rem 1.15rem;
  background: #151e2b;
  border: 1px solid #3b4c65;
  border-radius: 0.4rem;
  box-shadow: 0 0.75rem 2.5rem #0002;
}
.target-bar > label {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font:
    0.5625rem GeistMono,
    monospace;
  letter-spacing: 0.08em;
  color: #b9c9df;
}
.status-dot {
  width: 0.3rem;
  height: 0.3rem;
  border-radius: 50%;
  background: #b3bfd8;
  box-shadow: 0 0 0 0.2rem #9bb3d510;
}
.target-bar > input {
  flex: 1;
  border: 0;
  background: transparent;
  font:
    0.75rem GeistMono,
    monospace;
  box-shadow: none;
}
.target-bar > input[aria-invalid="true"] {
  outline: 1px solid #d5a7bb;
}
.primary-button {
  background: #a9bad7;
  border-color: #b4c4df;
  color: #121c2c;
  font-size: 0.75rem;
  font-weight: 600;
  display: flex;
  gap: 1.25rem;
  align-items: center;
}
.primary-button:hover {
  background: #cad6e9;
  color: #101722;
}
.target-feedback {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  min-height: 3.5rem;
  padding: 0.35rem 0.2rem 0.65rem;
}
.target-feedback p {
  font-size: 0.625rem;
  line-height: 1.65;
  margin: 0;
  max-width: 49rem;
}
.target-feedback > button {
  padding: 0;
  background: transparent;
  border: 0;
  color: #bbaed2;
  font-size: 0.625rem;
  flex-shrink: 0;
  min-height: 2.2rem;
}
.workspace-grid {
  display: grid;
  grid-template-columns: 22rem minmax(0, 1fr);
  gap: 1.25rem;
  align-items: stretch;
}
.composer-panel,
.preview-panel {
  background: var(--card);
  border: 1px solid #35445c;
  border-radius: 0.5rem;
  overflow: hidden;
  min-width: 0;
}
.panel-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.15rem;
  border-bottom: 1px solid #303e55;
  background: #17202e;
  min-height: 3.25rem;
}
.panel-heading h2 {
  margin: 0;
  font-weight: 400;
}
.panel-indicator {
  font:
    0.5rem GeistMono,
    monospace;
  letter-spacing: 0.05em;
  color: #a1b0c6;
  overflow-wrap: anywhere;
}
.composer-body {
  padding: 1.25rem;
}
.composer-body h2 {
  font-size: 1.5rem;
  line-height: 1.15;
  letter-spacing: -0.045em;
  font-weight: 500;
  margin: 0 0 0.65rem;
}
.composer-body > p {
  font-size: 0.6875rem;
  margin: 0 0 1.15rem;
  line-height: 1.8;
}
.payload-presets {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
  margin: 1rem 0 1.6rem;
}
.payload-presets button {
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.625rem;
  background: #192437;
  padding: 0.65rem 0.75rem;
  border-color: #394b68;
  border-radius: 0.25rem;
}
.payload-presets button:hover {
  background: #2a3852;
  border-color: #a7b7d4;
}
.payload-presets code {
  font:
    0.5rem GeistMono,
    monospace;
  color: #a89dca;
  overflow-wrap: anywhere;
}
.field-label {
  font:
    0.5rem GeistMono,
    monospace;
  letter-spacing: 0.1em;
  color: #a9b9d0;
  display: block;
  margin-bottom: 0.65rem;
}
.message-editor {
  border: 1px solid #3a4a64;
  border-radius: 0.3rem;
  overflow: hidden;
}
.message-editor > div {
  display: flex;
  justify-content: space-between;
  padding: 0.6rem 0.75rem;
  background: #172234;
  border-bottom: 1px solid #334259;
  font:
    0.5rem GeistMono,
    monospace;
  color: #aab8ce;
}
.message-editor textarea {
  display: block;
  width: 100%;
  border: 0;
  border-radius: 0;
  font:
    0.6875rem/1.8 GeistMono,
    monospace;
  min-height: 8rem;
}
.message-editor textarea::placeholder {
  color: #8d9bb3;
}
.delivery-settings {
  margin: 0.7rem 0 1rem;
}
.delivery-settings summary {
  font-size: 0.625rem;
  color: #b5c3d9;
  display: flex;
  justify-content: space-between;
  cursor: pointer;
  list-style: none;
  padding: 0.45rem 0;
}
.delivery-settings summary::-webkit-details-marker {
  display: none;
}
.delivery-settings label {
  display: block;
  font-size: 0.625rem;
  color: #b8c7df;
  margin: 0.7rem 0 0.4rem;
}
.delivery-settings input {
  width: 100%;
  font:
    0.6875rem GeistMono,
    monospace;
}
.delivery-settings p {
  font-size: 0.5625rem;
  line-height: 1.7;
}
.send-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  font-size: 0.6875rem;
  background: #354665;
  border-color: #586b8f;
}
.composer-note {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  border-top: 1px solid #2c3a52;
  padding: 1rem 1.25rem;
  background: #131c2a;
}
.composer-note > span {
  font-size: 1.5rem;
  color: #a99dc9;
}
.composer-note p {
  font-size: 0.625rem;
  line-height: 1.8;
  margin: 0;
}
.preview-panel {
  display: flex;
  flex-direction: column;
}
.preview-panel .panel-heading {
  gap: 0.75rem;
}
.preview-panel .panel-indicator {
  text-align: right;
  max-width: 60%;
}
#iframe-container {
  position: relative;
  flex: 1;
  min-height: 35rem;
  background:
    radial-gradient(ellipse at center, #1f2d4622, transparent 70%), #0d121b;
}
#target-frame {
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  border: 0;
}
#frame-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  text-align: center;
  background-image:
    linear-gradient(#8299bc06 1px, transparent 1px),
    linear-gradient(90deg, #8299bc06 1px, transparent 1px);
  background-size: 1.75rem 1.75rem;
}
#frame-placeholder > strong {
  font-size: 1.3rem;
  line-height: 1.3;
  letter-spacing: -0.03em;
  font-weight: 450;
  color: #b7c5db;
}
#frame-placeholder p {
  font-size: 0.75rem;
  margin: 0.6rem 0 1.3rem;
}
#frame-placeholder button {
  font-size: 0.6875rem;
  background: #21304a;
  display: flex;
  gap: 1rem;
}
.empty-window {
  width: 7.5rem;
  height: 5.5rem;
  border: 1px solid #445975;
  border-radius: 0.4rem;
  margin-bottom: 2rem;
  background: #17213377;
  transform: perspective(20rem) rotateY(-12deg);
  box-shadow: 0.7rem 0.7rem 0 #607da009;
}
.empty-window > span {
  height: 1rem;
  border-bottom: 1px solid #445975;
  display: block;
  background: #1b2a43;
}
.empty-window > i {
  font-style: normal;
  font-size: 2.2rem;
  font-weight: 300;
  color: #a9a5c7;
  display: block;
  line-height: 3.8rem;
}
.preview-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 1.1rem;
  border-top: 1px solid #303e55;
  color: #a5b4cd;
  font:
    0.5rem GeistMono,
    monospace;
}
.preview-footer > span {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.preview-footer i {
  width: 0.25rem;
  height: 0.25rem;
  border-radius: 50%;
  background: #a3b6d9;
}
.preview-footer a {
  flex-shrink: 0;
  color: #b9c9e2;
}
.traffic-panel {
  margin-top: 2.25rem;
}
.traffic-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  margin-bottom: 1.2rem;
}
.traffic-heading h2 {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 1.8rem;
  letter-spacing: -0.04em;
  font-weight: 500;
  margin: 0.5rem 0 0;
}
.traffic-heading h2 > span {
  font:
    0.5625rem GeistMono,
    monospace;
  border: 1px solid #4c5d77;
  padding: 0.3rem 0.4rem;
  color: #b6c5dd;
  border-radius: 0.2rem;
}
.traffic-actions {
  display: flex;
  gap: 0.5rem;
}
.traffic-actions button {
  background: transparent;
  border-color: #37465d;
  color: #b5c4de;
  font-size: 0.625rem;
  padding: 0.4rem 0.7rem;
  min-height: 2.3rem;
}
.traffic-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  background: #151e2d;
  border: 1px solid #35465f;
  border-radius: 0.4rem 0.4rem 0 0;
  padding: 0.65rem 0.9rem;
}
.traffic-toolbar > div {
  display: flex;
  gap: 0.25rem;
}
.traffic-toolbar button {
  border: 1px solid transparent;
  background: none;
  padding: 0.4rem 0.7rem;
  font-size: 0.625rem;
  color: #b0bdd2;
  min-height: 2.1rem;
}
.traffic-toolbar button[aria-pressed="true"] {
  background: #293750;
  border-color: #526788;
  color: #dae5f5;
}
.traffic-toolbar button > span {
  font:
    0.5rem GeistMono,
    monospace;
  color: #c2b4dc;
  margin-left: 0.3rem;
}
#logs-status {
  font:
    0.5625rem/1.6 GeistMono,
    monospace;
  color: #a6b5ce;
  text-align: right;
}
#logs {
  max-height: 28rem;
  min-height: 13rem;
  overflow: auto;
  border: 1px solid #35465f;
  border-top: 0;
  background: #0d1420;
  border-radius: 0 0 0.4rem 0.4rem;
}
.logs-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 13rem;
  padding: 1.5rem;
  text-align: center;
}
.logs-empty > span {
  font-size: 1.65rem;
  color: #8d9aba;
}
.logs-empty > p {
  font-size: 0.8125rem;
  color: #b4c0d6;
  margin: 0.6rem 0 0.35rem;
}
.logs-empty > small {
  font-size: 0.625rem;
  color: #95a6bf;
}
.log-entry {
  padding: 1.1rem 1.25rem;
  border-bottom: 1px solid #27354d;
}
.log-entry:last-child {
  border-bottom: 0;
}
.log-heading {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  flex-wrap: wrap;
  font:
    0.5625rem GeistMono,
    monospace;
  color: #a6b9d5;
}
.log-direction {
  color: #b9afd6;
  background: #2c294044;
  padding: 0.3rem 0.45rem;
  border: 1px solid #554c7044;
}
.log-entry[data-direction="received"] .log-direction {
  color: #accbd7;
  background: #243c4433;
  border-color: #485e7244;
}
.log-origin {
  overflow-wrap: anywhere;
  flex: 1;
}
.log-heading time {
  color: #96a6be;
  font-size: 0.5rem;
}
.log-entry pre {
  font:
    0.6875rem/1.8 GeistMono,
    monospace;
  color: #c2cce0;
  margin: 0.85rem 0 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.traffic-foot {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem 0.15rem;
  color: #95a7c1;
  font:
    0.5rem/1.8 GeistMono,
    monospace;
}
.auditor-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 2rem 0 2.5rem;
  margin-top: 2rem;
  border-top: 1px solid #2d3a50;
  font-size: 0.625rem;
  color: #9bacbf;
}
.auditor-footer a {
  color: #b8c8e2;
}
@media (max-width: 1000px) {
  .workspace-grid {
    grid-template-columns: 19rem minmax(0, 1fr);
  }
  .auditor-heading h1 {
    font-size: 2.85rem;
  }
  .research-link {
    display: none;
  }
  .auditor-nav {
    padding-inline: 1.5rem;
  }
  .auditor-container {
    padding-inline: 1.5rem;
  }
  .composer-body {
    padding: 1rem;
  }
  .composer-note {
    padding: 1rem;
  }
  #frame-placeholder > strong {
    font-size: 1.1rem;
  }
  .panel-indicator {
    font-size: 0.4375rem;
  }
}
@media (max-width: 700px) {
  .auditor-nav {
    height: 4.5rem;
  }
  .nav-label {
    display: none;
  }
  .auditor-heading {
    padding: 2.5rem 0 1.8rem;
  }
  .auditor-heading h1 {
    font-size: 2.6rem;
  }
  .auditor-heading p {
    font-size: 0.8125rem;
  }
  .workspace-grid {
    display: flex;
    flex-direction: column;
  }
  .composer-body h2 {
    font-size: 1.55rem;
  }
  .payload-presets {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .payload-presets button {
    font-size: 0.625rem;
  }
  .message-editor textarea {
    min-height: 7rem;
  }
  .composer-note {
    padding: 1rem;
  }
  #iframe-container {
    min-height: 28rem;
  }
  .preview-panel .panel-indicator {
    font-size: 0.5rem;
  }
  .traffic-actions {
    gap: 0.25rem;
  }
  .traffic-actions button {
    font-size: 0.5625rem;
  }
  .traffic-toolbar {
    flex-wrap: wrap;
  }
  .traffic-toolbar > div {
    flex: 1;
  }
  .traffic-foot {
    flex-direction: column;
    gap: 0.3rem;
  }
  .auditor-footer {
    flex-direction: column;
    align-items: start;
  }
  .target-bar {
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  .target-bar > label {
    width: 100%;
    margin: 0.35rem 0.3rem;
  }
  .target-bar > input {
    width: 50%;
    font-size: 0.6875rem;
  }
  .primary-button {
    font-size: 0.6875rem;
    gap: 0.65rem;
  }
  .target-feedback {
    align-items: start;
    padding-top: 0.6rem;
  }
  .target-feedback p {
    font-size: 0.5625rem;
  }
  .target-feedback > button {
    font-size: 0.5625rem;
    min-height: 1.75rem;
  }
  .traffic-heading {
    flex-wrap: wrap;
    align-items: start;
    gap: 1rem;
  }
  .traffic-heading h2 {
    font-size: 1.6rem;
  }
  .traffic-actions button {
    min-height: 2.75rem;
  }
  .traffic-toolbar button {
    min-height: 2.75rem;
  }
}
@media (max-width: 420px) {
  .auditor-container {
    padding-inline: 1.1rem;
  }
  .auditor-nav {
    padding-inline: 1.1rem;
  }
  .auditor-nav > div {
    gap: 0.9rem;
    font-size: 0.625rem;
  }
  .auditor-nav > div > a:first-child {
    display: none;
  }
  .auditor-heading h1 {
    font-size: 2.35rem;
  }
  .auditor-heading h1 > span {
    display: block;
  }
  .payload-presets {
    grid-template-columns: 1fr 1fr;
  }
  .target-feedback {
    flex-direction: column;
    gap: 0.25rem;
  }
  .target-feedback > button {
    min-height: 2.25rem;
  }
  .traffic-toolbar {
    padding: 0.55rem;
  }
  .traffic-toolbar button {
    padding-inline: 0.55rem;
  }
  #logs-status {
    font-size: 0.5rem;
  }
  .log-entry {
    padding: 1rem;
  }
  .log-heading {
    gap: 0.65rem;
  }
  .preview-footer {
    font-size: 0.4375rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    transition: none !important;
    animation: none !important;
  }
}
