:root {
  font-family:
    Inter,
    ui-sans-serif,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: #172d35;
  background: #f4f6f5;
  font-size: 14px;
  --ink: #132d34;
  --green: #167d61;
  --line: #dfe7e4;
  --muted: #6b7e7e;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select,
textarea {
  font: inherit;
}
button {
  cursor: pointer;
  border: 1px solid var(--line);
  padding: 10px 15px;
  border-radius: 8px;
  background: white;
  color: var(--ink);
  font-weight: 600;
  white-space: nowrap;
}
button:disabled {
  opacity: 0.45;
  cursor: wait;
}
.primary {
  background: var(--green);
  color: white;
  border-color: var(--green);
}
.danger {
  color: #a34141;
}
.quiet {
  background: transparent;
  border-color: transparent;
}
.small {
  padding: 6px 10px;
  font-size: 12px;
}
input,
select,
textarea {
  width: 100%;
  border: 1px solid #cad8d2;
  background: white;
  padding: 11px;
  border-radius: 7px;
  color: var(--ink);
}
textarea {
  min-height: 120px;
  resize: vertical;
  font-family: ui-monospace, monospace;
  font-size: 12px;
}
input:focus,
select:focus,
textarea:focus {
  outline: 2px solid #9bd9be;
  outline-offset: 1px;
}
label {
  display: block;
  font-weight: 600;
  font-size: 12px;
  margin: 15px 0 6px;
}
h1 {
  font-size: 30px;
  font-weight: 650;
  letter-spacing: -1px;
  margin: 5px 0 12px;
}
h2 {
  font-size: 19px;
  letter-spacing: -0.35px;
  margin: 0 0 14px;
}
h3 {
  font-size: 14px;
  margin: 0 0 10px;
}
p {
  line-height: 1.6;
}
small,
.muted {
  color: var(--muted);
}
.layout {
  display: grid;
  grid-template-columns: 225px 1fr;
  min-height: 100vh;
}
.sidebar {
  background: #102d32;
  color: #c0d1d0;
  padding: 32px 22px;
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
}
.brand {
  font-size: 20px;
  color: white;
  letter-spacing: -0.7px;
  font-weight: 700;
  margin: 2px 0 8px;
}
.brand i {
  font-style: normal;
  background: #8cddb9;
  color: #15332e;
  padding: 4px 8px;
  border-radius: 8px;
  margin-right: 6px;
}
.sidebar small {
  color: #91afac;
  margin: 0 0 45px 40px;
}
.nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.nav button {
  text-align: left;
  color: #abc2be;
  background: transparent;
  border: none;
  padding: 12px 14px;
}
.nav button.active {
  background: #25454a;
  color: #edfff7;
}
.sidebar footer {
  margin-top: auto;
  font-size: 11px;
  line-height: 1.8;
  color: #93aeaa;
}
.content {
  padding: 38px 48px;
  max-width: 1500px;
  width: 100%;
  margin: 0 auto;
}
.topline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
}
.eyebrow {
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 1.7px;
  color: var(--green);
  text-transform: uppercase;
}
.subtitle {
  color: var(--muted);
  max-width: 620px;
  margin-top: 0;
}
.row {
  display: flex;
  gap: 10px;
  align-items: center;
}
.spread {
  justify-content: space-between;
}
.wrap {
  flex-wrap: wrap;
}
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(285px, 1fr));
  gap: 18px;
}
.card,
.panel {
  border: 1px solid var(--line);
  background: white;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 2px 5px #122e3203;
}
.card {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.card h2 {
  font-size: 18px;
  margin: 4px 0;
}
.card .buttons {
  margin-top: auto;
}
.badge {
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  background: #e9f4ee;
  color: #257556;
  border-radius: 20px;
  padding: 5px 9px;
  display: inline-block;
}
.badge.gray {
  background: #eef0ef;
  color: #697a76;
}
.badge.red {
  background: #f9e9e6;
  color: #a44636;
}
.icon {
  font-size: 23px;
  width: 48px;
  height: 48px;
  background: #f0f5f2;
  border-radius: 10px;
  display: grid;
  place-items: center;
}
.empty {
  text-align: center;
  padding: 70px 30px;
  border: 1px dashed #b8ccc3;
  border-radius: 12px;
  background: #f8fbf9;
}
.empty .icon {
  margin: 0 auto 20px;
}
.two {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 22px;
}
.stack {
  display: grid;
  gap: 18px;
  align-content: start;
}
.formgrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.actions {
  display: flex;
  gap: 10px;
  margin-top: 22px;
}
.notice {
  background: #edf5f0;
  border: 1px solid #d7e9df;
  border-radius: 8px;
  padding: 13px 16px;
  font-size: 12px;
  line-height: 1.6;
}
.error {
  background: #fff0eb;
  color: #98472f;
  border-color: #f0d9d0;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}
th,
td {
  text-align: left;
  padding: 12px;
  border-bottom: 1px solid var(--line);
  max-width: 300px;
  overflow: hidden;
  text-overflow: ellipsis;
}
th {
  color: var(--muted);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  background: #102d32;
  color: #cce7dc;
  border-radius: 8px;
  padding: 18px;
  font-size: 12px;
  line-height: 1.6;
  max-height: 400px;
  overflow: auto;
}
code {
  font-family: ui-monospace, monospace;
  font-size: 12px;
}
.step {
  border: 1px solid var(--line);
  border-radius: 8px;
  margin-bottom: 8px;
  padding: 12px;
  display: flex;
  gap: 10px;
  align-items: start;
}
.step .num {
  font-size: 11px;
  color: #718d83;
  background: #edf4f0;
  border-radius: 5px;
  padding: 4px 7px;
}
.step .info {
  flex: 1;
  min-width: 0;
}
.step .info small {
  display: block;
  overflow-wrap: anywhere;
  font-size: 11px;
  margin-top: 4px;
}
.recorder {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 18px;
  align-items: start;
}
.browser {
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}
.browserbar {
  padding: 11px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #edf2ef;
}
.browserbar input {
  font-size: 12px;
  padding: 8px;
}
.browser-screen {
  position: relative;
  background: #dce3df;
  line-height: 0;
  min-height: 230px;
}
.browser-screen img {
  width: 100%;
  display: block;
  cursor: default;
}
.browser-screen:focus {
  outline: 3px solid #47a580;
  outline-offset: -3px;
}
.browserfoot {
  padding: 11px;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 7px;
  align-items: center;
}
.browserfoot input {
  padding: 8px;
  font-size: 12px;
  min-width: 100px;
}
.browserfoot {
  flex-wrap: wrap;
}
.browserfoot input {
  flex: 1;
}
.recorder .panel {
  padding: 18px;
}
.tools {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 16px;
}
.tools button {
  font-size: 12px;
  padding: 10px;
}
.tools button.active {
  background: #d9eddf;
  border-color: #8bb49b;
}
.scroll {
  overflow: auto;
  max-height: 540px;
}
.record-dot {
  height: 7px;
  width: 7px;
  background: #d1604f;
  border-radius: 50%;
  display: inline-block;
  margin-right: 5px;
}
#scrape-highlights,
#picker-hover {
  position: absolute;
  inset: 0 0 auto;
  pointer-events: none;
  overflow: hidden;
  z-index: 2;
}
#picker-hover {
  height: 100%;
  z-index: 3;
}
.picker-hover-box {
  position: absolute;
  box-sizing: border-box;
  border: 2px solid #2563eb;
  background: rgb(37 99 235 / 12%);
  box-shadow: 0 0 0 1px #fff;
}
#picker-depth-hint {
  position: absolute;
  z-index: 4;
  display: flex;
  gap: 12px;
  padding: 7px 10px;
  border: 1px solid #ffffff30;
  border-radius: 8px;
  background: #18181bf5;
  color: #f4f4f5;
  box-shadow: 0 4px 16px #0004;
  font-size: 11px;
  line-height: 18px;
  white-space: nowrap;
  pointer-events: none;
}
#picker-depth-hint[hidden] {
  display: none;
}
#picker-depth-hint kbd {
  display: inline-block;
  min-width: 18px;
  margin-right: 4px;
  border: 1px solid #52525b;
  border-radius: 4px;
  background: #27272a;
  text-align: center;
  font: inherit;
  font-weight: 600;
}
.scrape-box {
  position: absolute;
  border: 2px solid var(--highlight-color);
  border-radius: 3px;
  background: color-mix(in srgb, var(--highlight-color) 14%, transparent);
}
.scrape-box.row {
  border: 1px dashed #167d61;
  background: transparent;
}
.scrape-box span {
  position: absolute;
  right: 0;
  top: -16px;
  background: var(--highlight-color);
  color: white;
  padding: 2px 5px;
  border-radius: 3px;
  font:
    600 10px/12px ui-sans-serif,
    sans-serif;
  white-space: nowrap;
}
.field-coverage {
  display: block;
  font-size: 11px;
  line-height: 1.5;
}
.field-dialog {
  justify-items: end;
  background: #0c282818;
}
.field-dialog .dialog {
  width: 360px;
}
.list-guide {
  padding: 14px;
  border-radius: 9px;
  background: #edf5f0;
  border: 1px solid #d7e9df;
}
.list-guide h3 {
  margin: 14px 0 6px;
}
.list-guide p {
  margin: 0;
  font-size: 12px;
}
.output-fields {
  padding-left: 24px;
}
.output-fields li {
  padding: 4px 0;
  position: relative;
  padding-right: 24px;
}
.output-fields li button {
  position: absolute;
  top: 2px;
  right: 0;
}
.guide-actions {
  display: grid;
  gap: 8px;
  margin: 16px 0;
}
.list-options {
  margin: 18px 0;
  font-size: 12px;
}
.list-options summary {
  cursor: pointer;
  color: var(--muted);
}
.list-options button {
  margin-top: 10px;
}
.login {
  max-width: 440px;
  margin: 12vh auto;
}
.login .brand {
  color: var(--ink);
}
#toast {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  background: #153a33;
  color: white;
  padding: 14px 22px;
  border-radius: 9px;
  box-shadow: 0 6px 20px #0002;
  display: none;
  max-width: 75vw;
  z-index: 20;
}
.dialog-backdrop {
  position: fixed;
  inset: 0;
  background: #0c282866;
  z-index: 10;
  display: grid;
  place-items: center;
  padding: 20px;
}
.dialog {
  background: white;
  padding: 28px;
  border-radius: 14px;
  width: 500px;
  max-width: 100%;
  max-height: 90vh;
  overflow: auto;
}
.details-url {
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--muted);
}
.metric {
  font-size: 28px;
  color: var(--ink);
  font-weight: 650;
}
a {
  color: var(--green);
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
@media (max-width: 1050px) {
  .content {
    padding: 25px;
  }
  .layout {
    grid-template-columns: 180px 1fr;
  }
  .recorder {
    grid-template-columns: 1fr;
  }
  .two {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 650px) {
  .layout {
    display: block;
  }
  .sidebar {
    height: auto;
    position: static;
    padding: 16px;
  }
  .sidebar small,
  .sidebar footer {
    display: none;
  }
  .nav {
    flex-direction: row;
    margin-top: 15px;
  }
  .content {
    padding: 20px;
  }
  .topline {
    align-items: start;
    gap: 14px;
  }
  .formgrid {
    grid-template-columns: 1fr;
  }
}

.workspace-user {
  margin-top: 24px;
  overflow-wrap: anywhere;
  font-weight: 600;
}
.workspace-user small {
  display: block;
  margin-top: 6px;
  color: #9bbab4;
  font-weight: 400;
}
.dashboard-columns {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}
.dashboard-columns > section {
  min-width: 0;
}
.marketplace-column {
  border-left: 1px solid var(--line);
  padding-left: 32px;
}
.section-heading {
  margin-bottom: 22px;
}
.section-heading h2 {
  margin-bottom: 4px;
}
.section-heading p {
  margin: 0;
}
.count {
  font-size: 12px;
  padding: 3px 8px;
  background: #e4ece8;
  border-radius: 20px;
  margin-left: 5px;
  vertical-align: middle;
}
.flow-grid {
  display: grid;
  gap: 16px;
}
.flow-grid .card {
  min-width: 0;
}
.flow-grid .card h3 {
  font-size: 18px;
  margin: 15px 0 8px;
  overflow-wrap: anywhere;
}
.flow-grid .buttons {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.market-card {
  background: #fbfdfc;
}
.market-description {
  margin: 0 0 14px;
  overflow-wrap: anywhere;
  white-space: pre-line;
}
.shared-note {
  font-size: 12px;
  color: var(--green);
  display: block;
  margin-top: 14px;
}
#marketplace-search {
  margin-bottom: 16px;
}
.empty.compact {
  padding: 36px 22px;
}
.checkbox-label {
  display: flex;
  align-items: start;
  gap: 10px;
  line-height: 1.6;
}
.checkbox-label input {
  width: auto;
  margin-top: 3px;
}
.auth-links {
  display: grid;
  justify-items: center;
  gap: 8px;
  margin-top: 20px;
}
.login h1 {
  font-size: 25px;
}
.login form > button {
  margin-top: 20px;
  width: 100%;
}
.details-url {
  overflow-wrap: anywhere;
}
@media (max-width: 850px) {
  .dashboard-columns {
    grid-template-columns: 1fr;
  }
  .marketplace-column {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding: 28px 0 0;
  }
}
@media (max-width: 650px) {
  .workspace-user {
    display: none;
  }
  .topline {
    flex-wrap: wrap;
  }
  .nav button {
    padding: 10px 8px;
  }
}

@media (max-width: 650px) {
  .sidebar footer {
    display: block;
    margin-top: 12px;
  }
  .sidebar footer .tagline {
    display: none;
  }
}
.workspace-user small {
  padding-left: 0;
}

.network-endpoint {
  border: 1px solid var(--border, #e0e2e8);
  border-radius: 12px;
  padding: 14px;
  margin: 12px 0;
}
.network-endpoint summary {
  cursor: pointer;
  font-weight: 600;
}
.network-credentials {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
[data-custom-network][hidden] {
  display: none;
}
@media (max-width: 540px) {
  .network-credentials {
    grid-template-columns: 1fr;
  }
}
.browser-region-fieldset {
  border: 0;
  padding: 0;
  margin: 24px 0 16px;
}
.browser-region-fieldset legend {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.browser-region-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.browser-region-choice {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px;
  border: 1px solid #3f3f46;
  border-radius: 10px;
  background: #18181b;
  cursor: pointer;
  margin: 0;
  position: relative;
}
.browser-region-choice input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.browser-region-choice:has(input:checked) {
  border-color: #60a5fa;
  background: #172033;
}
.browser-region-choice:focus-within {
  outline: 2px solid #60a5fa;
  outline-offset: 3px;
}
.browser-region-choice strong,
.browser-region-choice small {
  display: block;
}
.browser-region-choice small {
  color: #a1a1aa;
  margin-top: 4px;
  font-size: 11px;
}
.browser-region-choice i {
  margin-left: auto;
  color: #60a5fa;
  visibility: hidden;
}
.browser-region-choice:has(input:checked) i {
  visibility: visible;
}
.region-symbol {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  font-family:
    "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
  font-size: 26px;
  line-height: 1;
}
.browser-region-source {
  color: #a1a1aa;
  font-size: 12px;
}
@media (max-width: 480px) {
  .browser-region-options {
    grid-template-columns: 1fr;
  }
}
