@font-face {
  font-family: SUIT;
  src: url("/fonts/SUIT-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
:root {
  font-family:
    SUIT,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: #f2f2f4;
  background: #08090b;
  font-synthesis: none;
  color-scheme: dark;
  --muted: #929399;
  --line: #ffffff14;
  --lime: #d4edb0;
  --surface: #17181c;
  --ink: #08090b;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  min-width: 320px;
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
select {
  -webkit-tap-highlight-color: transparent;
}
button {
  border: 0;
  color: inherit;
  background: none;
  cursor: pointer;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}
button,
a,
input,
select,
summary {
  outline-offset: 5px;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--lime);
}
a {
  color: inherit;
  text-decoration: none;
}
svg {
  display: block;
  flex-shrink: 0;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
[hidden] {
  display: none !important;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  padding: 12px 18px;
  background: var(--lime);
  color: var(--ink);
  z-index: 30;
  opacity: 0;
  transform: translateY(calc(-100% - 24px));
  border-radius: 8px;
}
.skip-link:focus {
  opacity: 1;
  transform: none;
}
.page-shell {
  --capture-height: clamp(58px, 5vw, 64px);
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  isolation: isolate;
  background: #08090b;
}
.page-shell::before {
  content: "";
  position: absolute;
  top: calc(50dvh + 16px);
  left: 50%;
  width: min(86%, 700px);
  height: 80px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse, #ced7e133, transparent 68%);
  filter: blur(28px);
  pointer-events: none;
  z-index: -1;
}
body:not(.account-page) .topbar {
  position: absolute;
  inset: 0 0 auto;
  z-index: 2;
}
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: clamp(16px, 2vw, 28px) clamp(20px, 3vw, 40px);
}
.home-mark {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
}
.home-mark > svg {
  width: 32px;
  height: 32px;
  padding: 2px;
  filter: drop-shadow(0 3px 4px #0008);
}
.wordmark-small {
  font-size: 17px;
  font-weight: 650;
  letter-spacing: -0.6px;
  color: #e5e5e9;
}
.wordmark-small span {
  color: #d3d3d8;
}
.topnav {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #bfc0c7;
}
.topnav button,
.topnav .account-nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 44px;
  padding: 4px 12px 4px 9px;
  border-radius: 10px;
  background: transparent;
  white-space: nowrap;
  transition:
    background 0.2s,
    color 0.2s,
    transform 0.2s;
}
.topnav button:hover:not(:disabled),
.topnav .account-nav-link:hover {
  background: #ffffff10;
  color: #f5f5f7;
}
.icon-button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid #ffffff0c;
  border-radius: 10px;
  background: linear-gradient(180deg, #ffffff0c, #ffffff05);
  box-shadow: inset 0 1px 0 #ffffff05;
  font-size: 24px;
  line-height: 1;
  color: #c9cad0;
  transition:
    background 0.18s,
    color 0.18s,
    transform 0.18s;
}
.icon-button:hover:not(:disabled) {
  background: #ffffff12;
  color: #fff;
}
.icon-button svg {
  width: 18px;
  height: 18px;
}
.nav-icon,
.save-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.nav-icon {
  width: 24px;
  height: 24px;
  color: #d1d3dc;
}
.nav-icon svg {
  width: 17px;
  height: 17px;
}
.topnav #settings-button {
  padding: 0;
  margin: 0 1px 0 3px;
  border-color: transparent;
  box-shadow: none;
}
.topnav #help-button {
  width: 44px;
  padding: 0;
}
.topnav #engine-button {
  min-width: 44px;
  padding-inline: 9px;
}
.save-icon {
  position: relative;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: #f6f6fa;
  background: #ffffff12;
}
.nav-count {
  margin-left: -3px;
  font-size: 10px;
  color: #aeb1bb;
}
main {
  flex: 1;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: calc(50dvh - var(--capture-height) / 2) clamp(20px, 3vw, 32px) clamp(32px, 4vw, 52px);
}
.hero {
  position: relative;
  width: min(100%, clamp(560px, 64vw, 680px));
  text-align: center;
  padding-bottom: 8px;
}
.hero-heading {
  position: absolute;
  bottom: 100%;
  width: 100%;
  margin-bottom: clamp(24px, 3vw, 36px);
}
.eyebrow {
  margin: 0 0 22px;
  color: #b7b7b7;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1px;
}
.hero h1 {
  font-size: clamp(34px, calc(4vw + 8px), 56px);
  font-weight: 550;
  line-height: 1.08;
  letter-spacing: -0.055em;
  margin: 0;
  color: #f3f3f5;
  background: linear-gradient(170deg, #fff 28%, #e0e2e5 60%, #a3a8af);
  background-clip: text;
  -webkit-text-fill-color: transparent;
  white-space: nowrap;
}
.hero h1 > span {
  color: var(--lime);
  -webkit-text-fill-color: var(--lime);
}
.tagline {
  margin: 15px 0 0;
  color: #a3a4ab;
  font-size: 13px;
  line-height: 1.7;
  letter-spacing: -0.4px;
  font-weight: 400;
}
.capture-form {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  height: var(--capture-height);
  background: linear-gradient(145deg, #292d32ce, #15181bdb 50%, #1d2125d9);
  border: 1px solid #ffffff21;
  border-top-color: #ffffff42;
  border-radius: 18px;
  padding: 6px 7px 6px 18px;
  text-align: left;
  color-scheme: dark;
  backdrop-filter: blur(24px) saturate(120%);
  box-shadow:
    0 22px 48px -16px #000d,
    0 4px 6px #0007,
    inset 0 1px 0 #ffffff12,
    inset 0 -1px 0 #0003;
  transition:
    border-color 0.25s,
    box-shadow 0.25s;
}
.capture-form::before {
  content: "";
  position: absolute;
  inset: -1px 12% auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, #f0f8e880, transparent);
  pointer-events: none;
}
.capture-form:hover {
  border-color: #ffffff3d;
}
.capture-form:focus-within {
  border-color: #d4edb06b;
  box-shadow:
    0 18px 48px -14px #000b,
    0 0 0 3px #d4edb00b,
    0 0 36px -12px #d4edb02b,
    inset 0 1px 0 #ffffff1a;
}
.link-icon {
  color: #d3d9d9;
  width: 30px;
  height: 30px;
  padding: 4px;
  border-radius: 8px;
  background: transparent;
  stroke-width: 1.8;
}
.capture-form input {
  flex: 1;
  min-width: 0;
  background: transparent;
  color: #f3f5f4;
  border: 0;
  font-size: clamp(16px, 1.2vw, 17px);
  letter-spacing: -0.4px;
  outline: none;
  caret-color: var(--lime);
  padding: 10px 0;
}
.capture-form input::placeholder {
  color: #b4b8bf;
  font-weight: 400;
}
.capture-form input[aria-invalid="true"] {
  color: #ffb8b3;
}
.save-button {
  flex-shrink: 0;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 8px 12px 8px 17px;
  min-height: clamp(44px, 3.6vw, 50px);
  border: 1px solid #ffffffb3;
  border-radius: 12px;
  background: linear-gradient(155deg, #fafbf7, #dce1d7);
  color: #222721;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: -0.3px;
  box-shadow:
    inset 0 1px 0 #fff9,
    0 2px 6px #0004;
  transition:
    background 0.2s,
    box-shadow 0.2s,
    transform 0.2s;
}
.save-button:hover:not(:disabled) {
  background: linear-gradient(155deg, #fff, #edf3e7);
  box-shadow:
    inset 0 1px 0 #fffc,
    0 4px 16px #d4edb025;
  transform: translateY(-1px);
}
.save-button:active:not(:disabled) {
  transform: translateY(1px) scale(0.985);
  box-shadow:
    inset 0 1px 3px #32472d33,
    0 1px 2px #0002;
}
.save-button svg {
  width: 18px;
  height: 18px;
  stroke-width: 2;
  transition: transform 0.2s;
}
.save-button:hover:not(:disabled) svg {
  transform: translateX(2px);
}
.save-button:focus-visible {
  outline-color: var(--lime);
  outline-offset: 3px;
}
.save-button .save-icon {
  width: 20px;
  color: #222721;
  background: transparent;
}
.capture-form[aria-busy="true"] .save-icon svg {
  opacity: 0;
}
.capture-form[aria-busy="true"] .save-icon::after {
  position: absolute;
  width: 16px;
  height: 16px;
  border: 2px solid #27352226;
  border-top-color: currentColor;
  border-radius: 50%;
  content: "";
  animation: spin 0.9s linear infinite;
}
.under-input {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  min-height: 49px;
  padding: 4px 15px;
}
.keyboard-hint {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: #9d9d9d;
  margin: 0;
}
.keyboard-hint kbd {
  font: inherit;
  font-size: 10px;
  line-height: 1;
  border: 1px solid #ffffff1f;
  text-align: center;
  padding: 4px 6px;
  border-radius: 4px;
  color: #c2c2c2;
}
.keyboard-separator {
  margin: 0 4px;
  color: #6c6c6c;
}
.connection {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 0;
  min-height: 44px;
  color: #b4b4b4;
  font-size: 11px;
}
.connection:hover:not(:disabled) {
  color: #e6e6e6;
}
.connection-dot {
  width: 5px;
  height: 5px;
  background: #767676;
  border-radius: 50%;
}
.connection[data-connected="true"] .connection-dot {
  background: var(--lime);
  box-shadow: 0 0 7px #d4edb020;
}
.feedback {
  font-size: 13px;
  color: #d6d6d6;
  line-height: 1.7;
  margin: 17px 20px 0;
  overflow-wrap: anywhere;
}
.feedback[data-error="true"] {
  color: #f3b4a6;
}
.capture-note {
  margin: 16px 0 0;
  color: #a2a2a2;
  font-size: 12px;
  line-height: 1.8;
  text-align: left;
  word-break: keep-all;
  text-wrap: balance;
}
.recent-section {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 4px;
  margin: 18px 0 0;
  color: #999ba4;
  font-size: 12px;
  text-align: left;
}
.recent-label {
  flex-shrink: 0;
  color: #ababab;
  line-height: 32px;
}
.recent-divider {
  display: none;
}
.recent-projects {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 2px;
  min-width: 0;
}
.recent-project {
  display: flex;
  gap: 8px;
  align-items: center;
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: 5px 12px 5px 6px;
  border-radius: 9px;
  color: #b9bbc4;
  font-size: 12px;
  transition:
    background 0.2s,
    color 0.2s,
    transform 0.2s;
}
.recent-project:hover:not(:disabled) {
  background: #ffffff0c;
  color: #f1f1f5;
  transform: translateY(-1px);
}
.recent-project .mini-mark {
  width: 23px;
  height: 23px;
  border-radius: 6px;
  display: grid;
  place-items: center;
  background: #ffffff0a;
  font-size: 10px;
  font-weight: 600;
  flex-shrink: 0;
  color: #dedfe6;
}
.recent-project > span:last-child {
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.recent-empty {
  font-size: 12px;
  color: #979797;
  line-height: 32px;
}
.footer {
  width: 100%;
  margin-top: 8px;
  padding: 8px 0 0;
  color: #8c8e98;
  font-size: 12px;
  text-align: left;
}
.footer-top,
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px 20px;
}
.footer-top {
  padding-bottom: 19px;
  font-size: 12px;
}
.footer-signature {
  color: #8a8a8a;
}
.footer-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 4px 0;
  color: #b4b4b4;
}
.footer-link:hover {
  color: #e8e8e8;
}
.footer-bottom {
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  padding-top: 8px;
  font-size: 11px;
  color: #979797;
}
.legal-links {
  display: flex;
  flex: 1 1 220px;
  justify-content: flex-end;
  gap: 4px 18px;
  flex-wrap: wrap;
}
.legal-links a,
.legal-links button {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0;
  font-size: inherit;
}
.legal-links a:hover,
.legal-links button:hover {
  color: #e2e2e2;
}
.activity-panel:not(.engine-panel),
.result-panel {
  margin: 24px 0 0;
  padding: 24px;
  text-align: left;
  border: 1px solid #ffffff1a;
  border-radius: 20px;
  background: linear-gradient(120deg, #24282de6, #15181ce0);
  border-top-color: #ffffff24;
  backdrop-filter: blur(18px);
  box-shadow:
    inset 0 1px 0 #ffffff06,
    0 16px 40px -24px #000b;
  animation: arrive 0.3s ease-out both;
}
.activity-heading {
  display: flex;
  align-items: center;
  gap: 10px;
}
.activity-heading h2,
.activity-panel h2 {
  font-size: 16px;
  letter-spacing: -0.4px;
  margin: 0;
  font-weight: 550;
}
.activity-heading .text-button {
  margin-left: auto;
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid #ffffff12;
  border-radius: 9px;
  background: #ffffff08;
  box-shadow: inset 0 1px 0 #ffffff05;
  transition:
    background 0.18s,
    transform 0.18s;
}
.activity-heading .text-button:hover:not(:disabled) {
  background: #ffffff12;
}
.activity-panel p {
  font-size: 12px;
  color: #b6b6b6;
  line-height: 1.8;
  margin: 12px 0;
  overflow-wrap: anywhere;
}
.engine-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px 20px;
  align-items: center;
  margin: 24px 0 0;
  padding: 18px 0 10px;
  border-block: 1px solid var(--line);
  text-align: left;
  animation: arrive 0.3s ease-out both;
}
.engine-panel h2 {
  grid-column: 1;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  word-break: keep-all;
}
.engine-panel > p {
  grid-column: 1;
  font-size: 12px;
  margin: 0;
  word-break: keep-all;
}
.engine-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.engine-panel .engine-actions {
  grid-column: 2;
  grid-row: 1 / 3;
  justify-content: flex-end;
  max-width: 350px;
}
.engine-meta {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
  margin-top: 6px;
}
.engine-meta p {
  margin: 0;
  font-size: 11px;
  color: var(--muted);
}
.engine-meta a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  flex-shrink: 0;
  font-size: 12px;
  color: #d2d4dc;
}
.engine-meta a:hover {
  color: #fff;
}
.engine-panel:not([hidden]) ~ .recent-section:has(.recent-empty) {
  display: none;
}
.activity-orbit {
  height: 10px;
  width: 10px;
  border: 1.5px solid #7b7b7b;
  border-top-color: var(--lime);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
.text-button {
  font-size: 12px;
  color: #cbcbcb;
  padding: 5px 0;
}
.text-button:hover:not(:disabled) {
  color: #f1f1f1;
}
progress {
  display: block;
  width: 100%;
  height: 3px;
  margin: 18px 0 10px;
  border: 0;
  border-radius: 3px;
  background: #ffffff12;
  accent-color: var(--lime);
  overflow: hidden;
}
progress::-webkit-progress-bar {
  background: #ffffff12;
}
progress::-webkit-progress-value {
  background: var(--lime);
}
progress:indeterminate {
  background: linear-gradient(90deg, #ffffff08 15%, #bdbdbd 50%, #ffffff08 85%);
  background-size: 200% 100%;
  animation: scanning 2s linear infinite;
}
.progress-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  font-size: 11px;
  font-variant-numeric: tabular-nums;
  color: #aaaaaa;
}
.retry-panel {
  border-top: 1px solid var(--line);
  margin-top: 20px;
  padding-top: 8px;
}
.inline-actions {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 18px;
}
.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 11px 17px;
  border-radius: 11px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  transition:
    background 0.18s,
    border-color 0.18s,
    box-shadow 0.18s,
    transform 0.18s;
  border: 1px solid #ffffff14;
  color: #dadbe3;
  background: linear-gradient(180deg, #ffffff0c, #ffffff06);
  box-shadow: inset 0 1px 0 #ffffff05;
}
.primary-button {
  border: 1px solid #ffffff42;
  background: linear-gradient(180deg, #f3f4f6, #e0e2e8);
  color: #23242a;
  box-shadow:
    inset 0 1px 0 #ffffffa6,
    0 2px 6px #0002;
}
.primary-button:hover:not(:disabled) {
  background: linear-gradient(180deg, #fff, #ebebf0);
  transform: translateY(-1px);
}
.secondary-button {
  border: 1px solid #ffffff1c;
  color: #e2e2e2;
}
.secondary-button:hover:not(:disabled) {
  background: #ffffff14;
  border-color: #ffffff30;
  transform: translateY(-1px);
}
.primary-button:active:not(:disabled),
.secondary-button:active:not(:disabled),
.topnav button:active:not(:disabled),
.icon-button:active:not(:disabled),
.recent-project:active:not(:disabled),
.activity-heading .text-button:active:not(:disabled) {
  transform: translateY(1px);
  box-shadow: inset 0 1px 4px #0002;
}
.button-icon {
  width: 24px;
  height: 24px;
  padding: 4px;
  border-radius: 50%;
  background: #ffffff0c;
}
.primary-button .button-icon {
  background: #24252a0d;
}
.full-width {
  width: 100%;
  margin-top: 7px;
}
.result-panel {
  display: flex;
  align-items: center;
  gap: 17px;
}
.result-icon {
  display: grid;
  place-items: center;
  width: 39px;
  height: 43px;
  border: 1px solid #ffffff10;
  border-radius: 11px;
  color: #e3e4eb;
  flex-shrink: 0;
  background: #ffffff07;
}
.result-panel[data-quality="degraded"] .result-icon {
  border-color: #d1b28330;
  color: #dfc597;
  background: #b58b4610;
}
.result-icon svg {
  width: 20px;
  height: 20px;
}
.result-summary {
  flex: 1;
  min-width: 0;
}
.result-summary .eyebrow {
  font-size: 11px;
  margin: 0 0 6px;
  color: #acacac;
}
.result-summary h2 {
  font-size: 16px;
  letter-spacing: -0.3px;
  margin: 0 0 6px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.result-summary > p:last-child {
  margin: 0;
  font-size: 12px;
  line-height: 1.7;
  word-break: keep-all;
  color: #b2b2b2;
}
.result-actions {
  display: flex;
  align-items: stretch;
  gap: 8px;
  flex-shrink: 0;
}
dialog {
  width: min(500px, calc(100% - 32px));
  max-height: calc(100svh - 48px);
  margin: auto;
  border: 1px solid #ffffff1f;
  border-radius: 22px;
  background: linear-gradient(160deg, #202126f5, #17181df5);
  backdrop-filter: blur(30px);
  color: #e6e7ed;
  padding: 30px;
  box-shadow:
    0 32px 120px #000a,
    inset 0 1px 0 #ffffff0f;
  overflow: auto;
  overscroll-behavior: contain;
}
dialog[open] {
  animation: dialog-arrive 0.2s ease-out;
}
dialog::backdrop {
  background: #03040694;
  backdrop-filter: blur(12px);
}
.dialog-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.dialog-header .eyebrow {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0;
}
.dialog-header .icon-button {
  margin: -9px -10px -9px 0;
}
html.tour-open {
  overflow: hidden;
}
#tour-dialog {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  backdrop-filter: none;
  box-shadow: none;
  overflow: hidden;
}
#tour-dialog[open] {
  animation: none;
}
#tour-dialog::backdrop {
  background: transparent;
  backdrop-filter: none;
}
#tour-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  stroke: none;
}
#tour-spotlight {
  filter: drop-shadow(0 0 14px #d4edb080);
}
#tour-card {
  position: absolute;
  display: flex;
  flex-direction: column;
  width: min(360px, calc(100% - 24px));
  padding: 18px 20px 20px;
  border: 1px solid #d4edb030;
  border-radius: 18px;
  background: linear-gradient(145deg, #23262c, #16181d);
  box-shadow:
    0 18px 70px #0009,
    inset 0 1px #ffffff0a;
  overflow: auto;
  overscroll-behavior: contain;
  visibility: hidden;
}
.tour-header,
.tour-steps,
.tour-actions,
.tour-actions > div {
  display: flex;
  align-items: center;
  gap: 8px;
}
.tour-header,
.tour-actions {
  justify-content: space-between;
  flex-shrink: 0;
}
.tour-header {
  margin: -7px -8px 14px -4px;
}
.tour-steps {
  gap: 3px;
}
.tour-steps button {
  position: relative;
  min-width: 40px;
  min-height: 44px;
  color: #9c9fa8;
  font-size: 11px;
  font-variant-numeric: tabular-nums;
}
.tour-steps button::after {
  content: "";
  position: absolute;
  left: 9px;
  right: 9px;
  bottom: 5px;
  height: 2px;
  border-radius: 2px;
  background: #ffffff1a;
}
.tour-steps button[aria-current] {
  color: var(--lime);
}
.tour-steps button[aria-current]::after {
  background: linear-gradient(90deg, var(--lime), #aac8ff);
}
.tour-copy {
  min-height: 0;
  overflow: auto;
  overscroll-behavior: contain;
}
#tour-dialog .tour-kicker {
  display: flex;
  gap: 9px;
  margin: 0 0 8px;
  color: #a4a8b0;
  font-size: 10px;
}
#tour-position {
  color: var(--lime);
  font-variant-numeric: tabular-nums;
}
#tour-dialog h2 {
  margin: 0 0 9px;
  font-size: 22px;
  line-height: 1.35;
  letter-spacing: -0.7px;
  word-break: keep-all;
}
#tour-description {
  margin: 0;
  color: #b1b5bf;
  font-size: 13px;
  line-height: 1.65;
  word-break: keep-all;
}
.tour-actions {
  margin-top: 18px;
}
.tour-actions .text-button {
  min-height: 44px;
  font-size: 11px;
}
.tour-actions .primary-button,
.tour-actions .secondary-button {
  padding-inline: 14px;
  font-size: 12px;
}
.tour-actions .primary-button {
  min-width: 86px;
}
.tour-replay {
  justify-content: space-between;
  width: 100%;
  margin-bottom: 22px;
}
@media (max-width: 360px) {
  #tour-card {
    padding: 14px 16px 16px;
  }
  #tour-dialog h2 {
    font-size: 20px;
  }
  .tour-actions,
  .tour-actions > div {
    gap: 6px;
  }
  .tour-actions .primary-button,
  .tour-actions .secondary-button {
    padding-inline: 12px;
  }
}
dialog h2 {
  font-size: 25px;
  font-weight: 680;
  letter-spacing: -1px;
  margin: 0 0 22px;
}
dialog p {
  line-height: 1.7;
}
.source-address {
  font-size: 12px;
  color: #9d9d9d;
  overflow-wrap: anywhere;
  margin: -9px 0 24px;
}
.scope-fields {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}
.scope-fields label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 11px;
  color: #9e9e9e;
  flex: 1;
  min-width: 0;
}
.scope-fields #page-limit-label {
  flex: 0 0 100px;
}
.scope-fields select,
.scope-fields input,
.search-input {
  width: 100%;
  border: 1px solid #ffffff24;
  background: #16161685;
  color: #dedede;
  font-size: 13px;
  border-radius: 10px;
  padding: 12px;
  min-height: 42px;
}
.field-note {
  font-size: 11px;
  color: #a5a5a5;
  line-height: 1.7;
  margin: 12px 0;
  overflow-wrap: anywhere;
}
.scope-findings {
  font-size: 12px;
  color: #b6b6b6;
  background: #ffffff03;
  border-left: 2px solid #898989;
  border-radius: 0 7px 7px 0;
  padding: 3px 13px;
  margin: 19px 0;
}
.scope-findings p {
  margin: 9px 0;
}
.scope-findings details {
  margin: 10px 0;
}
.scope-findings summary {
  cursor: pointer;
  color: #c5c5c5;
}
.check-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12px;
  line-height: 1.7;
  margin: 20px 0 14px;
  color: #c8c8c8;
  cursor: pointer;
}
.check-label input {
  accent-color: var(--lime);
  width: 16px;
  height: 16px;
  margin: 2px 0 0;
  flex-shrink: 0;
}
.dialog-error {
  font-size: 12px;
  color: #f0a799;
  margin: 12px 0 0;
  overflow-wrap: anywhere;
}
.dialog-error:empty {
  display: none;
}
.notice-list {
  margin-top: 3px;
}
.notice-list p {
  font-size: 12px;
  color: #a7a7a7;
  margin: 0 0 16px;
}
.notice-list b {
  display: block;
  color: #e2e2e2;
  font-weight: 600;
  font-size: 13px;
  margin-bottom: 3px;
}
.notice-details {
  font-size: 11px;
  color: #9a9a9a;
  border-top: 1px solid var(--line);
  padding-top: 16px;
}
.notice-details summary {
  cursor: pointer;
  color: #bababa;
}
.notice-details p {
  font-size: 11px;
  line-height: 1.8;
}
.document-source-options > summary {
  min-height: 44px;
  padding: 12px 0;
}
.document-source-options .scope-fields {
  margin-top: 0;
}
.document-source-options select {
  min-height: 44px;
}
.wide-dialog {
  width: min(670px, calc(100% - 32px));
}
.title-count {
  font-size: 12px;
  color: #afafaf;
  margin-left: 10px;
  vertical-align: middle;
}
.search-input {
  font-size: 13px;
  margin-bottom: 17px;
  padding: 13px 15px;
}
.history-list {
  min-height: 130px;
  max-height: 50svh;
  overflow: auto;
}
.history-empty {
  padding: 30px 8px;
  text-align: center;
  color: #8a8a8a;
  font-size: 13px;
  line-height: 1.9;
}
.history-empty b {
  display: block;
  color: #c5c5c5;
  font-weight: 550;
  margin-bottom: 6px;
}
.history-row {
  display: flex;
  gap: 15px;
  align-items: center;
  border-top: 1px solid #ffffff08;
  padding: 17px 0;
}
.history-row:first-child {
  border-top: 0;
}
.history-symbol {
  height: 35px;
  width: 35px;
  display: grid;
  place-items: center;
  border: 1px solid #424242;
  border-radius: 10px;
  font-size: 13px;
  color: #c6c6c6;
  flex-shrink: 0;
}
.history-copy {
  flex: 1;
  min-width: 0;
}
.history-copy strong {
  display: block;
  font-size: 13px;
  font-weight: 550;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.history-copy small {
  display: block;
  font-size: 10px;
  color: #9c9c9c;
  margin-top: 7px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.history-actions {
  display: flex;
  gap: 8px;
}
.history-actions button {
  padding: 8px 10px;
  font-size: 11px;
}
.settings-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  margin: 0;
}
.settings-row b,
.settings-block > b {
  font-size: 13px;
  font-weight: 550;
  color: #dadada;
}
.settings-row p,
.setting-description {
  display: block;
  font-size: 11px;
  color: #a5a5a5;
  margin: 7px 0 0;
  line-height: 1.7;
}
.settings-row.check-label input {
  margin: 0;
  flex-shrink: 0;
}
.settings-row .secondary-button {
  font-size: 11px;
  white-space: nowrap;
}
.settings-block {
  padding-top: 23px;
}
.engine-settings {
  padding: 0 0 20px;
  border-bottom: 1px solid var(--line);
}
.engine-settings .engine-actions {
  margin-top: 14px;
}
.output-path {
  font-size: 11px;
  color: #959595;
  overflow-wrap: anywhere;
  line-height: 1.7;
  margin: 10px 0 7px;
}
.storage-actions {
  justify-content: flex-start;
  margin-top: 12px;
}
.settings-block ~ .field-note {
  border-top: 1px solid var(--line);
  padding-top: 17px;
  margin-top: 23px;
}
.help-steps {
  list-style: none;
  padding: 0;
  margin: 7px 0 24px;
}
.help-steps li {
  display: flex;
  gap: 18px;
  margin-bottom: 23px;
}
.help-steps li > span {
  font-size: 10px;
  color: #a5a5a5;
  padding-top: 3px;
  font-variant-numeric: tabular-nums;
}
.help-steps h3 {
  font-size: 14px;
  font-weight: 550;
  margin: 0 0 6px;
  letter-spacing: -0.3px;
}
.help-steps p {
  font-size: 12px;
  color: #a5a5a5;
  margin: 0;
}
.help-note {
  border: 1px solid #393939;
  border-radius: 9px;
  background: #e7e7e704;
  padding: 16px;
}
.help-note b {
  font-size: 12px;
  font-weight: 550;
  color: #c0c0c0;
}
.help-note p {
  font-size: 11px;
  color: #949494;
  margin: 7px 0 0;
}
.support-link {
  display: block;
  font-size: 11px;
  color: #8f8f8f;
  margin-top: 23px;
}
.support-link span {
  display: block;
  color: #c6c6c6;
  margin-top: 6px;
}
.business-list {
  font-size: 12px;
  margin: 0;
}
.business-list > div {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 10px;
  padding: 11px 0;
  border-top: 1px solid #ffffff08;
  line-height: 1.8;
}
.business-list dt {
  color: #8c8c8c;
}
.business-list dd {
  margin: 0;
  color: #bbbbbb;
  overflow-wrap: anywhere;
}
.business-list a:hover {
  color: var(--lime);
}
.toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  width: max-content;
  max-width: calc(100% - 32px);
  padding: 13px 20px;
  color: #e4e5ec;
  background: #272930ed;
  backdrop-filter: blur(18px);
  border: 1px solid #ffffff1f;
  border-radius: 12px;
  font-size: 12px;
  line-height: 1.6;
  box-shadow: 0 8px 40px #0006;
  z-index: 40;
  overflow-wrap: anywhere;
}
@keyframes arrive {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes dialog-arrive {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.99);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes scanning {
  to {
    background-position: -200% 0;
  }
}
@media (max-width: 820px) {
  .topbar {
    padding: 24px 28px;
  }
  main {
    padding-inline: 28px;
    padding-bottom: 44px;
  }
  .tagline {
    font-size: 14px;
  }
  .capture-form {
    gap: 12px;
    padding-left: 18px;
  }
  .capture-form input {
    font-size: 17px;
  }
  .save-button {
    font-size: 14px;
    gap: 12px;
    padding-left: 18px;
  }
  .result-panel {
    flex-wrap: wrap;
  }
  .result-summary {
    flex-basis: calc(100% - 56px);
  }
  .result-actions {
    margin-left: 56px;
  }
  .recent-project > span:last-child {
    max-width: none;
  }
}
@media (max-width: 569px) {
  .page-shell {
    --capture-height: 56px;
  }
  .topbar {
    gap: 12px;
    padding: 20px;
  }
  .home-mark > svg {
    width: 34px;
    height: 34px;
  }
  .wordmark-small {
    display: none;
  }
  .topnav {
    gap: 1px;
  }
  .topnav button {
    gap: 6px;
    padding-right: 8px;
  }
  .topnav #history-button {
    min-width: 44px;
    padding: 0;
  }
  .topnav #history-button .nav-label,
  .topnav #history-button .nav-count {
    display: none;
  }
  .topnav .account-nav-link {
    padding-inline: 8px;
  }
  .nav-icon svg {
    width: 16px;
    height: 16px;
  }
  main {
    padding-inline: 20px;
    padding-bottom: 38px;
  }
  .hero {
    padding-bottom: 0;
  }
  .hero-heading {
    margin-bottom: 24px;
  }
  .hero h1 {
    letter-spacing: -0.045em;
  }
  .tagline {
    font-size: 14px;
    margin-top: 12px;
  }
  .capture-form {
    gap: 8px;
    padding: 5px 5px 5px 12px;
    border-radius: 16px;
  }
  .link-icon {
    display: none;
  }
  .capture-form input {
    font-size: 16px;
    padding: 9px 0;
  }
  .save-button {
    min-height: 44px;
    gap: 8px;
    padding: 6px 9px 6px 12px;
    font-size: 14px;
    border-radius: 10px;
  }
  .save-button svg {
    width: 16px;
    height: 16px;
  }
  .under-input {
    min-height: 44px;
    padding: 0 11px;
  }
  .keyboard-hint {
    display: none;
  }
  .connection {
    margin-left: auto;
  }
  .capture-note {
    margin: 15px 0 0;
    line-height: 1.9;
  }
  .feedback {
    margin: 15px 10px 0;
    font-size: 12px;
  }
  .recent-section {
    margin: 16px 0 0;
  }
  .recent-project {
    padding: 4px 9px 4px 5px;
  }
  .activity-panel:not(.engine-panel),
  .result-panel {
    padding: 18px;
    border-radius: 16px;
  }
  .engine-actions > * {
    flex: 1 1 180px;
  }
  .engine-panel .engine-actions > * {
    flex: 0 1 auto;
  }
  .engine-panel {
    gap: 6px 12px;
  }
  .engine-panel .engine-actions:has(#engine-download:not([hidden])) {
    grid-column: 1 / -1;
    grid-row: auto;
    justify-content: flex-start;
    margin-top: 8px;
  }
  .engine-meta {
    flex-wrap: wrap;
    gap: 0 12px;
  }
  .result-actions {
    margin-left: 0;
    width: 100%;
    margin-top: 5px;
  }
  .result-actions > * {
    flex: 1;
    padding: 12px;
  }
  .footer {
    padding: 8px 0 4px;
  }
  .footer-top {
    padding-bottom: 8px;
    font-size: 11px;
  }
  .footer-bottom {
    align-items: flex-start;
    line-height: 1.7;
  }
  .legal-links {
    flex-basis: 100%;
    justify-content: flex-start;
    gap: 0 14px;
  }
  dialog {
    padding: 24px 22px;
    border-radius: 20px;
    max-height: calc(100svh - 32px);
  }
  dialog h2 {
    font-size: 23px;
  }
  .dialog-header {
    margin-bottom: 19px;
  }
  .scope-fields select,
  .scope-fields input,
  .search-input {
    min-height: 44px;
    font-size: 16px;
  }
  .history-row {
    gap: 10px;
  }
  .history-symbol {
    display: none;
  }
  .history-copy strong {
    font-size: 12px;
  }
  .history-actions {
    gap: 5px;
  }
  .history-actions button {
    padding: 8px;
    font-size: 10px;
  }
  .business-list > div {
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 8px;
    font-size: 11px;
  }
  .settings-row {
    gap: 12px;
  }
  .settings-row .secondary-button {
    flex-shrink: 0;
  }
  .toast {
    bottom: 20px;
    font-size: 11px;
  }
}
@media (max-width: 360px) {
  .topnav #help-button,
  .topnav #engine-button {
    display: none;
  }
  .topbar {
    padding-inline: 16px;
    flex-wrap: wrap;
  }
  .topnav {
    margin-left: auto;
  }
  .topnav button {
    gap: 4px;
    padding-right: 7px;
  }
  .topnav .nav-icon {
    width: 23px;
  }
  main {
    padding-inline: 16px;
  }
  .save-button {
    gap: 7px;
    padding-left: 11px;
  }
}
@media (max-height: 560px) {
  body:not(.account-page) .topbar {
    padding-block: 12px;
  }
  .hero h1 {
    font-size: clamp(26px, 4vw, 36px);
  }
  .hero-heading {
    margin-bottom: 16px;
  }
  .tagline {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
@media (prefers-reduced-transparency: reduce) {
  .capture-form {
    background: #282d32;
    backdrop-filter: none;
  }
}
@media (forced-colors: active) {
  .hero h1,
  .hero h1 > span {
    background: none;
    -webkit-text-fill-color: CanvasText;
  }
  .page-shell::before {
    display: none;
  }
}

.has-eye-helper .page-shell {
  padding-bottom: 76px;
}
.eye-helper {
  position: fixed;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(12px, env(safe-area-inset-bottom));
  z-index: 32;
  width: 96px;
  pointer-events: none;
}
.under-input > .eye-helper {
  display: contents;
}
.under-input:has(.eye-helper) {
  flex-wrap: wrap;
}
.under-input:has(.eye-helper) .connection {
  margin-left: auto;
}
.under-input > .eye-helper .eye-pet {
  flex: 0 0 96px;
}
.under-input > .eye-helper .eye-status {
  position: static;
  order: 1;
  flex: 1 0 100%;
  width: auto;
  right: auto;
  bottom: auto;
  margin-top: 8px;
  --helper-enter-y: -5px;
  transform-origin: right top;
}
.under-input > .eye-helper .eye-status::before {
  display: none;
}
.eye-pet {
  position: relative;
  display: block;
  width: 96px;
  height: 58px;
  padding: 0;
  border-radius: 22px;
  background: transparent;
  cursor: pointer;
  pointer-events: auto;
  transition: transform 240ms cubic-bezier(0.22, 1, 0.36, 1);
}
.eye-pet:hover {
  transform: translateY(-1px) rotate(-2deg);
}
.eye-pet:active {
  transform: translateY(1px) scale(0.97);
}
.eye-helper button:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 4px;
}
.eye-stage,
.eye-scene,
.eye-fallback {
  position: absolute;
  inset: 0;
}
.eye-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.eye-fallback i {
  position: relative;
  width: 36px;
  height: 27px;
  border-radius: 50%;
  background: radial-gradient(ellipse at 36% 28%, #fff, #dbdce0 72%, #a1a2a8);
  box-shadow: 0 4px 12px #0005;
}
.eye-fallback i::after {
  content: "";
  position: absolute;
  width: 13px;
  height: 16px;
  left: 12px;
  top: 6px;
  border-radius: 50%;
  background: radial-gradient(circle at 33% 25%, #e9ebee 0 10%, #111217 14% 60%, #3b3c45 74%);
}
.eye-stage:has(.eye-scene[data-eye-ready="true"]) .eye-fallback {
  visibility: hidden;
}
.eye-status {
  position: absolute;
  right: 0;
  bottom: 68px;
  width: min(292px, calc(100vw - 36px));
  padding: 18px 18px 5px;
  border: 1px solid #ffffff17;
  border-radius: 20px;
  background: linear-gradient(145deg, #23252aef, #17191ee8);
  box-shadow:
    0 18px 48px -14px #000b,
    inset 0 1px #ffffff06;
  backdrop-filter: blur(18px);
  transform-origin: calc(100% - 48px) bottom;
  pointer-events: auto;
}
.eye-status::before {
  content: "";
  position: absolute;
  right: 42px;
  bottom: -6px;
  width: 10px;
  height: 10px;
  border: solid #ffffff17;
  border-width: 0 1px 1px 0;
  background: #191b20;
  transform: rotate(45deg);
  pointer-events: none;
}
.eye-status:not([hidden]) {
  animation: helper-arrive 240ms cubic-bezier(0.22, 1, 0.36, 1) both;
}
@keyframes helper-arrive {
  from {
    opacity: 0;
    transform: translateY(var(--helper-enter-y, 5px));
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.eye-status p {
  margin: 0 0 12px;
  color: #ececf0;
  font-size: 13px;
  font-weight: 450;
  letter-spacing: -0.015em;
  line-height: 1.8;
  word-break: keep-all;
  overflow-wrap: anywhere;
  text-align: left;
}
.helper-dialogue {
  display: grid;
}
.helper-dialogue::before {
  content: attr(data-dialogue);
  visibility: hidden;
}
.helper-dialogue::before,
.helper-dialogue > span {
  grid-area: 1 / 1;
}
.helper-dialogue.is-typing > span::after {
  content: "";
  display: inline-block;
  width: 4px;
  height: 4px;
  margin-left: 5px;
  border-radius: 2px;
  background: var(--lime);
  vertical-align: 2px;
}
.eye-note-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border-top: 1px solid #ffffff08;
}
.eye-note-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 44px;
  min-height: 44px;
  padding: 4px;
  border-radius: 8px;
  background: transparent;
  color: #a9adb5;
  font-size: 11px;
  cursor: pointer;
  transition:
    color 160ms ease,
    background 160ms ease;
}
.helper-quiet-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 6px #d4edb025;
}
[aria-pressed="true"] .helper-quiet-dot {
  background: #777b83;
  box-shadow: none;
}
.eye-note-actions button:hover {
  color: #fff;
  background: #ffffff08;
}
.eye-note-actions button:active {
  background: #ffffff10;
}
@media (max-width: 569px) {
  .eye-helper {
    right: max(12px, env(safe-area-inset-right));
  }
  .eye-status {
    width: min(272px, calc(100vw - 24px));
  }
}
@media (prefers-reduced-motion: reduce) {
  .eye-pet:hover,
  .eye-pet:active {
    transform: none;
  }
}
