/* The approved landing design (ORB-1977, P2 variant A "Make and parse", orbii.ai branding): the CSS of landing.html,
   unchanged except the font name. The fonts are the fonts of dev (Denim INK WD trial); this file does not change
   them. After the design CSS: the classes that replace the inline styles of the design (the CSP allows no inline
   style), and the parts that only the real page has (the PDF viewer, the bot check, errors). The text roles are the orbii.ai
   computed values of dev: Denim for headings, the nav label and buttons; Inter 400 for the eyebrow and the lead text.
   See "User journey" in README.md. */
@font-face {
  font-family: "Deniminkwdtrial";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/DenimINKWDTRIAL-Regular.otf") format("opentype");
}

@font-face {
  font-family: "Deniminkwdtrial";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/DenimINKWDTRIAL-Medium.otf") format("opentype");
}

/* The latin file and unicode-range that orbii.ai loads for Inter 400 (Google Fonts). Google Fonts gives the same
   file for Inter 600 (a variable font): the speed chip of the results uses it. */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/Inter-latin.woff2") format("woff2");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC,
    U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/Inter-latin.woff2") format("woff2");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC,
    U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

[hidden] {
  display: none !important;
}

.dp {
  --primary: #ddff7d;
  --primary-on: #040505;
  --text: #ecefef;
  --muted: #b3b4b4;
  --subtle: #808f8f;
  --bg: #161c1c;
  --card: #1d2626;
  --s2: rgba(22, 28, 28, 0.6);
  --input: rgba(0, 0, 0, 0.3);
  --glass: rgba(29, 38, 38, 0.95);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.15);
  --p08: rgba(221, 255, 125, 0.08);
  --p15: rgba(221, 255, 125, 0.15);
  --p30: rgba(221, 255, 125, 0.3);
  --p45: rgba(221, 255, 125, 0.45);
  --success: #34d399;
  --warning: #f59e0b;
  --error: #f87171;
  --info: #60a5fa;
  --display: "Geist", -apple-system, sans-serif;
  --sans: "Geist", -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, Menlo, monospace;
  container-type: inline-size;
  position: relative;
  width: 100%;
  max-width: 1240px;
  min-height: 760px;
  border-radius: 14px;
  overflow: hidden;
  color: var(--text);
  font: 400 15px/1.5 var(--sans);
  color-scheme: dark;
  background:
    radial-gradient(900px 500px at 100% 0, rgba(221, 255, 125, 0.07), transparent 60%),
    radial-gradient(700px 500px at 0 100%, rgba(168, 199, 228, 0.05), transparent 60%),
    radial-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px) 0 0/18px 18px,
    #161c1c;
  box-shadow: 0 24px 80px -20px rgba(0, 0, 0, 0.7);
}
.dp[data-w="laptop"] {
  max-width: 1024px;
}
.dp[data-w="phone"] {
  max-width: 390px;
  min-height: 780px;
}
.dp * {
  box-sizing: border-box;
}
.dp button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}
.dp-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 24px;
  border-bottom: 1px solid var(--border);
  background: rgba(29, 38, 38, 0.38);
  backdrop-filter: blur(14px);
}
.dp-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.dp-logo {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font: 600 18px/1 var(--display);
  letter-spacing: -0.02em;
}
.dp-eye {
  width: 22px;
  height: 22px;
}
.dp-prod {
  font: 500 12px/1 var(--mono);
  color: var(--subtle);
  border-left: 1px solid var(--border-strong);
  padding-left: 10px;
}
.dp-top-r {
  display: flex;
  align-items: center;
  gap: 8px;
}
.dp-meter {
  font: 500 12px/1 var(--mono);
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  color: var(--muted);
  white-space: nowrap;
}
.dp-meter b {
  color: var(--primary);
  font-weight: 600;
}
.dp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: 8px;
  border: 1px solid transparent;
  padding: 10px 16px;
  font: 600 13px/1 var(--sans) !important;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.dp-btn.lg {
  padding: 13px 22px;
  font-size: 15px !important;
}
.dp-btn.primary {
  background: var(--primary);
  color: var(--primary-on) !important;
}
.dp-btn.primary:hover {
  filter: brightness(0.95);
}
.dp-btn.neutral {
  background: transparent;
  border-color: var(--border-strong);
}
.dp-btn.ghost {
  background: transparent;
  color: var(--muted) !important;
}
.dp-btn.neutral:hover,
.dp-btn.ghost:hover {
  background: rgba(255, 255, 255, 0.04);
}
.dp-btn:focus-visible,
.dp-link:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}
.dp-link {
  background: none;
  border: 0;
  padding: 0;
  color: var(--primary) !important;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.dp-main {
  padding: 48px 36px 36px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.dp-eyebrow {
  font: 600 11px/1 var(--sans);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(221, 255, 125, 0.95);
}
.dp-h1 {
  margin: 0;
  font: 500 48px/1.08 var(--display);
  letter-spacing: -0.02em;
  text-wrap: balance;
  max-width: 16ch;
}
.dp-sub {
  margin: 0;
  color: var(--muted);
  max-width: 56ch;
  font-size: 16px;
}
.dp-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 36px;
  align-items: center;
}
.dp-drop {
  border: 1.5px dashed var(--p45);
  border-radius: 20px;
  background: var(--p08);
  padding: 36px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
  min-height: 300px;
  justify-content: center;
  transition: background 0.15s;
}
.dp-drop:hover {
  background: var(--p15);
}
.dp-drop-ic {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--p15);
  display: grid;
  place-items: center;
  color: var(--primary);
}
.dp-drop h3 {
  margin: 0;
  font: 500 22px/1.3 var(--display);
}
.dp-hint {
  font-size: 13px;
  color: var(--subtle);
}
.dp-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.4),
    0 8px 24px -12px rgba(0, 0, 0, 0.6);
}
.dp-tiles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.dp-tile {
  background: var(--s2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.dp-tile .k {
  font: 500 11px/1.3 var(--sans);
  letter-spacing: 0.02em;
  color: var(--subtle);
}
.dp-tile .v {
  font: 600 22px/1.1 var(--display);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
  overflow-wrap: anywhere;
}
.dp-tile .v.sm {
  font-size: 16px;
}
.dp-tile .d {
  font: 400 11px/1.4 var(--sans);
  color: var(--subtle);
}
.dp-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font: 600 11px/1.5 var(--sans);
  letter-spacing: 0.02em;
  padding: 2px 8px;
  border-radius: 6px;
  white-space: nowrap;
}
.dp-badge.ok {
  background: rgba(52, 211, 153, 0.15);
  color: var(--success);
}
.dp-badge.warn {
  background: rgba(245, 158, 11, 0.15);
  color: var(--warning);
}
.dp-mono {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
}
/* parsing */
.dp-parse {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px;
  align-items: stretch;
}
.dp-steps {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px;
}
.dp-step {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 10px;
  color: var(--subtle);
}
.dp-step.on {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}
.dp-step.done {
  color: var(--muted);
}
.dp-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1.5px solid var(--border-strong);
  flex: none;
  display: grid;
  place-items: center;
}
.dp-step.on .dp-dot {
  border-color: var(--primary);
  border-top-color: transparent;
  animation: dpspin 0.8s linear infinite;
}
.dp-step.done .dp-dot {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--primary-on);
  font-size: 12px;
  font-weight: 700;
}
@keyframes dpspin {
  to {
    transform: rotate(360deg);
  }
}
.dp-timer {
  font: 500 64px/1 var(--mono);
  letter-spacing: -0.04em;
  color: var(--primary);
  font-variant-numeric: tabular-nums;
}
.dp-bar {
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
.dp-bar > i {
  display: block;
  height: 100%;
  background: var(--primary);
  width: 0;
  /* views.BAR_TRANSITION_MS */
  transition: width 0.1s linear;
}
/* results */
.dp-rhead {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}
.dp-file {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.dp-fic {
  width: 40px;
  height: 48px;
  border-radius: 6px;
  background: #ecefef;
  color: #161c1c;
  font: 700 10px/1 var(--mono);
  display: grid;
  place-items: end center;
  padding-bottom: 6px;
  flex: none;
}
.dp-fname {
  font-weight: 600;
  font-size: 14px;
  overflow-wrap: anywhere;
}
.dp-fmeta {
  font-size: 12px;
  color: var(--subtle);
}
.dp-tabs {
  display: flex;
  gap: 4px;
  border-bottom: 1px solid var(--border);
  overflow-x: auto;
}
.dp-tabs button {
  background: none;
  border: 0;
  border-bottom: 2px solid transparent;
  padding: 10px 12px;
  font: 600 13px/1.5 var(--sans) !important;
  letter-spacing: 0.02em;
  color: var(--subtle) !important;
  white-space: nowrap;
}
.dp-tabs button[aria-selected="true"] {
  color: var(--primary) !important;
  border-bottom-color: var(--primary);
}
.dp-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.dp-table th {
  text-align: left;
  font: 600 12px/1.5 var(--sans);
  letter-spacing: 0.02em;
  color: var(--subtle);
  padding: 10px 12px;
  background: rgba(0, 0, 0, 0.15);
  border-bottom: 1px solid var(--border);
}
.dp-table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
.dp-table td.n {
  text-align: right;
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
}
.dp-table tr:hover td {
  background: rgba(255, 255, 255, 0.04);
}
.dp-scroll {
  overflow-x: auto;
}
.dp-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
/* gate slide-over */
.dp-scrim {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(2px);
  display: flex;
  justify-content: flex-end;
  z-index: 5;
}
.dp-sheet {
  width: min(420px, 100%);
  height: 100%;
  background: #161c1c;
  border-left: 1px solid var(--border-strong);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow: auto;
  box-shadow: 0 12px 32px -8px rgba(0, 0, 0, 0.55);
}
/* at 420px and below the sheet takes the full width, so a left border is only a thin line at the screen edge */
@media (max-width: 420px) {
  .dp-sheet {
    border-left: 0;
  }
}
.dp-sheet.in {
  animation: dpin 0.2s ease-out;
}
@keyframes dpin {
  from {
    transform: translateX(24px);
    opacity: 0;
  }
}
.dp-sheet h3 {
  margin: 0;
  font: 500 22px/1.3 var(--display);
}
.dp-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.dp-field label {
  font: 500 11px/1.3 var(--sans);
  letter-spacing: 0.02em;
  color: rgba(236, 239, 239, 0.6);
}
.dp-field input {
  background: var(--input);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 11px 12px;
  color: var(--text);
  font: 400 14px/1.3 var(--sans);
}
.dp-field input:focus {
  outline: none;
  border-color: var(--p45);
  box-shadow: 0 0 0 3px var(--p15);
}
.dp-field input[aria-invalid="true"] {
  border-color: var(--error);
  box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.15);
}
.dp-otp {
  display: flex;
  gap: 8px;
}
.dp-otp input {
  width: 44px;
  height: 52px;
  text-align: center;
  font: 600 20px/1 var(--mono);
  background: var(--input);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
}
.dp-banner {
  display: flex;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 13px;
  border: 1px solid;
}
/* The "Signed in" banner is the first line of the sheet: it stops before the close button. */
.dp-x + .dp-banner {
  margin-right: 20px;
}
.dp-banner.ok {
  background: rgba(52, 211, 153, 0.08);
  border-color: rgba(52, 211, 153, 0.3);
  color: var(--text);
}
.dp-banner.info {
  background: rgba(96, 165, 250, 0.08);
  border-color: rgba(96, 165, 250, 0.3);
  color: var(--text);
}
.dp-x {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: 0;
  color: var(--muted);
  font-size: 20px;
  line-height: 1;
}
.dp-sales {
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
  background: radial-gradient(600px 300px at 100% 0, rgba(221, 255, 125, 0.12), transparent 70%), var(--card);
}
.dp-toast {
  position: absolute;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  background: var(--glass);
  border: 1px solid var(--border-strong);
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 13px;
  z-index: 6;
  box-shadow: 0 4px 12px -4px rgba(0, 0, 0, 0.45);
}
/* samples */
.dp-samples {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.dp-sample {
  text-align: left;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition:
    border-color 0.15s,
    transform 0.15s;
}
.dp-sample:hover {
  border-color: var(--p45);
  transform: translateY(-2px);
}
.dp-thumb {
  aspect-ratio: 3/3.6;
  max-width: 100%;
  border-radius: 6px;
  background: #e9ecec;
  position: relative;
  overflow: hidden;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.dp-thumb i {
  display: block;
  height: 5px;
  border-radius: 2px;
  background: #c5cbcb;
}
.dp-thumb i.h {
  height: 9px;
  width: 55%;
  background: #8e9999;
}
.dp-thumb i.s {
  width: 70%;
}
.dp-thumb.ar {
  direction: rtl;
}
.dp-thumb.scan {
  filter: contrast(0.9) sepia(0.15);
  transform: rotate(-0.6deg);
}
.dp-sample b {
  font-size: 14px;
}
.dp-sample span {
  font-size: 12px;
  color: var(--subtle);
}
.dp-split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 16px;
  align-items: start;
}
.dp-paper {
  background: #ecefef;
  color: #2b3333;
  border-radius: 10px;
  padding: 20px;
  font: 400 11px/1.5 var(--mono);
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 420px;
}
.dp-paper .ph {
  display: flex;
  justify-content: space-between;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 13px;
  color: #161c1c;
  border-bottom: 1px solid #c9cfcf;
  padding-bottom: 8px;
  margin-bottom: 4px;
}
.dp-paper .row {
  display: grid;
  grid-template-columns: 62px 1fr 70px 70px;
  gap: 6px;
  padding: 2px 4px;
  border-radius: 3px;
  transition: background 0.2s;
}
.dp-paper .row.hl {
  background: rgba(160, 200, 40, 0.35);
}
.dp-paper .row span:nth-child(n + 3) {
  text-align: right;
}
.dp-paper .row span:nth-child(2) {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dp-paper .fld {
  padding: 2px 4px;
  border-radius: 3px;
  transition: background 0.2s;
}
.dp-paper .fld.hl {
  background: rgba(160, 200, 40, 0.35);
}
.dp-stream .dp-tile {
  opacity: 0.35;
  /* views.TILE_FADE_MS */
  transition: opacity 0.15s;
}
.dp-stream .dp-tile.in {
  opacity: 1;
}
/* race */
.dp-race {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px;
}
.dp-lane {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) 92px;
  gap: 12px;
  align-items: center;
}
.dp-lane .lbl {
  font-size: 13px;
  color: var(--muted);
}
.dp-lane .trk {
  height: 10px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}
.dp-lane .trk i {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 5px;
}
.dp-lane .t {
  font: 500 14px/1 var(--mono);
  text-align: right;
}
/* container breakpoints */
@container (max-width:860px) {
  .dp-hero,
  .dp-parse,
  .dp-split {
    grid-template-columns: minmax(0, 1fr);
  }
  .dp-samples {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .dp-h1 {
    font-size: 38px;
  }
}
@container (max-width:520px) {
  .dp-main {
    padding: 28px 16px 24px;
  }
  .dp-top {
    padding: 12px 16px;
  }
  .dp-prod {
    display: none;
  }
  .dp-h1 {
    font-size: 30px;
  }
  .dp-tiles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  /* In 2 narrow columns a value can take 2 lines: the tiles of the live parse keep 2 lines from the start, so they do
     not grow when the values come. */
  .dp-stream .dp-tile .v {
    min-height: 2.2em;
  }
  .dp-top-r .dp-btn.ghost {
    display: none;
  }
  .dp-drop {
    min-height: 220px;
    padding: 28px 16px;
  }
  .dp-timer {
    font-size: 48px;
  }
  .dp-lane {
    grid-template-columns: 96px minmax(0, 1fr) 70px;
  }
  .dp-sheet {
    padding: 20px 16px;
  }
  .dp-otp input {
    width: 40px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .dp * {
    animation: none !important;
    transition: none !important;
  }
}

/* The waiting messages (mockup .gprog, .gstage): the time line, and on the generating screen under it one stage line
   at a time, each a third of the 3 s wait ("Usually a few seconds"), the last one stays. The parse screens have only
   the time line. The cross fade is the one of the mockup: about 0.1 s, the next line starts when the last one is half
   gone. app.js paintStages sets a negative delay, so a new draw of the screen does not start the lines again. With
   "reduce motion" (no animation) app.js paintStages gives the line of the time the class "on", so the lines change at
   the same times, with no fade. */
.gprog {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: inherit;
  margin-top: 4px;
}
.dp .gprog b {
  font: 600 15px/1.3 var(--sans);
  color: var(--primary);
}
.gstage {
  position: relative;
  display: block;
  height: 1.4em;
  min-width: 16em;
  font: 400 13px/1.4 var(--sans);
  color: var(--subtle);
}
.gstage > span {
  position: absolute;
  left: 0;
  right: 0;
  opacity: 0;
  white-space: nowrap;
  animation: 3s linear forwards;
}
.g-making .gstage > span {
  text-align: center;
}
.gstage > span:nth-child(1) {
  animation-name: gs1;
}
.gstage > span:nth-child(2) {
  animation-name: gs2;
}
.gstage > span:nth-child(3) {
  animation-name: gs3;
}
@keyframes gs1 {
  0%,
  30% {
    opacity: 1;
  }
  34%,
  100% {
    opacity: 0;
  }
}
@keyframes gs2 {
  0%,
  32% {
    opacity: 0;
  }
  36%,
  63% {
    opacity: 1;
  }
  67%,
  100% {
    opacity: 0;
  }
}
@keyframes gs3 {
  0%,
  65% {
    opacity: 0;
  }
  69%,
  100% {
    opacity: 1;
  }
}
@media (prefers-reduced-motion: reduce) {
  .gstage > span.on {
    opacity: 1;
  }
}
/* The end of a wait, a cross fade (app.js leave): the main part of the screen of the wait stays on top in its place
   and fades out (0.15 s) while the next screen fades in (0.2 s, app.js draw), so the loader does not end in a cut or
   an empty frame. */
.dp-main.leaving {
  position: absolute;
  margin: 0;
  pointer-events: none;
  animation: dpfadeout 0.15s ease-in forwards;
}
.dp-main.enter {
  animation: dpfade 0.2s ease-out;
}
@keyframes dpfadeout {
  to {
    opacity: 0;
  }
}
@keyframes dpfade {
  from {
    opacity: 0;
  }
}

/* P2 generate, view, parse */
.gform {
  padding: 24px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 24px;
}
.gfield {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.gfield > label {
  font: 500 11px/1.3 var(--sans);
  letter-spacing: 0.02em;
  color: rgba(236, 239, 239, 0.6);
}
.gseg {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 3px;
  width: fit-content;
  max-width: 100%;
}
.gseg button {
  background: transparent;
  border: 0;
  border-radius: 999px;
  padding: 7px 12px;
  font: 600 13px/1.2 var(--sans) !important;
  color: var(--muted) !important;
  white-space: nowrap;
}
.gseg button[aria-pressed="true"] {
  background: var(--p15);
  color: var(--primary) !important;
}
.gchecks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  font-size: 14px;
}
.gchecks label,
.gkey {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}
.gchecks input,
.gkey input {
  accent-color: #ddff7d;
  width: 16px;
  height: 16px;
}
.gfoot {
  grid-column: 1/-1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  border-top: 1px solid var(--border);
  padding-top: 16px;
}
/* the error takes its own line, so the note and the button keep their places */
.gfoot .dp-err {
  flex-basis: 100%;
}
.gspin {
  width: 28px;
  height: 28px;
  border: 2px solid var(--primary);
  border-top-color: transparent;
  border-radius: 50%;
  animation: dpspin 0.8s linear infinite;
}
.gview {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  min-width: 0;
}
.gthumbs {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: 560px;
  overflow: auto;
  padding: 2px;
}
.gthumb {
  position: relative;
  width: 48px;
  aspect-ratio: 3/4;
  border-radius: 4px;
  background: #d9dede;
  border: 2px solid transparent;
  padding: 6px 5px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.gthumb i {
  display: block;
  height: 3px;
  border-radius: 1px;
  background: #a9b2b2;
}
.gthumb span {
  position: absolute;
  bottom: 2px;
  right: 4px;
  font: 600 9px/1 var(--mono);
  color: #4b5555;
}
.gthumb.on {
  border-color: var(--primary);
}
.gthumb.img {
  padding: 0;
  overflow: hidden;
  background: #fff;
}
.gthumb canvas {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}
.gthumb.img span {
  padding: 1px 2px;
  border-radius: 2px;
  background: #fff;
}
.gthumb.done::after {
  content: "✓";
  position: absolute;
  top: -6px;
  right: -6px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--primary-on);
  font: 700 10px/16px var(--sans);
  text-align: center;
}
.gmain {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.gnav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.gnav .dp-btn {
  padding: 6px 10px;
}
.gnav .dp-btn:disabled {
  opacity: 0.35;
  cursor: default;
}
.gscan {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 60px;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(221, 255, 125, 0.35), transparent);
  animation: gscan 1s linear infinite;
  border-radius: 8px;
}
@keyframes gscan {
  from {
    transform: translateY(-60px);
  }
  to {
    transform: translateY(520px);
  }
}
.gsplit {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}
@container (max-width:860px) {
  .gsplit,
  .gform {
    grid-template-columns: minmax(0, 1fr);
  }
}
@container (max-width:520px) {
  .gview {
    grid-template-columns: minmax(0, 1fr);
  }
  .gthumbs {
    flex-direction: row;
    max-height: none;
    overflow-x: auto;
  }
  .gthumb {
    flex: none;
    width: 36px;
  }
  .gform {
    padding: 16px;
  }
}

.gownline {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  align-items: baseline;
  font-size: 14px;
}
/* the three step rail under the heading of the front page (prototype-2, 16 Nov) */
.rail {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  position: relative;
}
.rail li {
  position: relative;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 12px 14px 0;
  min-width: 0;
}
.rail .rn {
  position: relative;
  z-index: 1;
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font: 600 14px/1 var(--mono);
  background: #161c1c;
  border: 1.5px solid var(--border-strong);
  color: var(--subtle);
}
.rail li.on .rn {
  border-color: var(--primary);
  color: var(--primary);
  box-shadow:
    0 0 0 5px rgba(221, 255, 125, 0.12),
    0 0 24px rgba(221, 255, 125, 0.25);
}
.rail .rt {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding-top: 6px;
  min-width: 0;
  position: relative;
  z-index: 1;
}
.rail .rt b {
  font: 600 15px/1.2 var(--sans);
  color: var(--text);
  white-space: nowrap;
}
.rail li.next .rt b {
  color: var(--muted);
}
.rail .rt i {
  font: 400 12.5px/1.35 var(--sans);
  font-style: normal;
  color: var(--subtle);
}
.rail li.on .rt i {
  color: var(--primary);
}
.rail .rl {
  flex: 1 1 auto;
  min-width: 16px;
  height: 2px;
  align-self: flex-start;
  margin-top: 16px;
  background: var(--border-strong);
  border-radius: 1px;
}
.rail li.on .rl {
  background: linear-gradient(90deg, var(--primary), var(--border-strong));
}
.rail li.done .rn {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--primary-on);
}
.rail li.done .rl {
  background: var(--primary);
}
.rail.big {
  margin-top: 20px;
  background: linear-gradient(180deg, rgba(29, 38, 38, 0.7), rgba(22, 28, 28, 0.4));
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 6px 8px 6px 20px;
}
.rail.big .rn {
  width: 40px;
  height: 40px;
  font-size: 16px;
}
.rail.big .rt {
  padding-top: 8px;
}
.rail.big .rt b {
  font-size: 17px;
}
.rail.big .rt i {
  font-size: 13.5px;
}
.rail.big .rl {
  margin-top: 19px;
}
/* The design stacks the big rail at 520px and below. Between 521px and 860px its three titles do not fit next to each
   other (at 600px they run over the lines and out of the box), so it stacks from 860px, the design's other
   breakpoint. */
@container (max-width:860px) {
  .rail.big {
    grid-template-columns: minmax(0, 1fr);
  }
  .rail.big .rl {
    display: none;
  }
}
/* the step strip under the top bar of the sample (step 2) */
.railwrap {
  padding: 4px 36px 0;
  border-bottom: 1px solid var(--border);
  background: rgba(22, 28, 28, 0.5);
}
.railwrap .rail {
  margin: 0;
}
.railwrap .rail li {
  padding: 10px 16px 10px 0;
}
.railwrap .rn {
  width: 28px;
  height: 28px;
  font-size: 12px;
}
.railwrap .rt {
  padding-top: 4px;
}
.railwrap .rt b {
  font-size: 13.5px;
}
.railwrap .rt i {
  display: none;
}
.railwrap .rl {
  margin-top: 13px;
}
@container (max-width:520px) {
  .railwrap {
    padding: 4px 16px 0;
  }
  .railwrap .rt b {
    font-size: 12px;
  }
}
/* As the big rail: below 860px the titles run over the lines (at 521px "Make a sample" runs over its line), so the
   strip wraps its titles and drops the lines from 860px, as the design does at 520px. */
@container (max-width:860px) {
  .railwrap .rt b {
    white-space: normal;
  }
  .railwrap .rl {
    display: none;
  }
}
/* the own-upload card under the sample */
.gowncta {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
  padding: 18px 20px;
  border-radius: 14px;
  border: 1px dashed var(--p45);
  background: var(--p08);
}
.gowncta > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.gowncta b {
  font: 600 16px/1.3 var(--sans);
}

/* ---------- app shell: the prototype frame becomes the full page ---------- */
html,
body {
  margin: 0;
  padding: 0;
  background: #161c1c;
}
body {
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.dp {
  max-width: none;
  min-height: 100vh;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
  overflow-x: clip;
}
.dp-main {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
}
/* the dimming overlay covers the whole page (as in the prototype); the sheet sticks to the window so it is in view
   wherever the visitor opened it. A fixed overlay dimmed only the first window height in full-page views. */
.dp-scrim {
  align-items: flex-start;
}
.dp-sheet {
  position: sticky !important;
  top: 0;
  height: 100vh;
}
.dp-toast {
  position: fixed;
}
/* the step strip spans the whole window under the floating top bar; its steps line up with the 1240px column */
.railwrap {
  margin-top: 16px;
  border-top: 1px solid var(--border);
}
.railwrap .rail {
  max-width: calc(1240px - 72px);
  margin: 0 auto;
}
/* results: a long description wraps between words; a word never breaks (a wider table scrolls, as in the mockup) */
.dp-table td:nth-child(2) {
  white-space: normal;
  overflow-wrap: break-word;
}
/* the transactions on a narrow screen: each row stacks, the date and the description on the first line, then the
   credit, the debit and the balance, each with its label; an empty amount keeps its place */
@container (max-width:640px) {
  .dp-table.tx,
  .dp-table.tx tbody {
    display: block;
  }
  .dp-table.tx thead {
    display: none;
  }
  .dp-table.tx tr {
    display: flex;
    flex-wrap: wrap;
    column-gap: 12px;
    padding: 10px 12px;
    border-bottom: 1px solid var(--border);
  }
  .dp-table.tx tr::after {
    content: "";
    order: 1;
    flex-basis: 100%;
  }
  .dp-table.tx td {
    display: block;
    padding: 0;
    border: 0;
  }
  .dp-table.tx td:nth-child(2) {
    flex: 1 1 0;
    min-width: 0;
  }
  .dp-table.tx td.n {
    order: 2;
    flex: 1 1 0;
    min-width: 0;
    margin-top: 6px;
    text-align: left;
  }
  .dp-table.tx td.n:last-child {
    text-align: right;
  }
  .dp-table.tx td.n::before {
    content: attr(data-label);
    display: block;
    font: 400 11px/1.4 var(--sans);
    color: var(--subtle);
  }
  .dp-table.tx td.n:empty {
    visibility: hidden;
  }
  /* a row with no date (for example "Balance Carried Forward"): the description starts at the left edge */
  .dp-table.tx td:first-child:empty {
    display: none;
  }
}
@container (max-width:520px) {
  .dp-tabs {
    flex-wrap: wrap;
  }
  .dp-table {
    font-size: 12px;
  }
  .dp-table th,
  .dp-table td {
    padding: 8px 6px;
  }
  .dp-table td.n {
    font-size: 11.5px;
  }
}

/* ---------- branding: aligned with orbii.ai (site CSS orbii-3-1.webflow.shared.c0deae573.css, read 2026-11-11) ---------- */
.dp {
  --display: "Deniminkwdtrial", Arial, sans-serif;
  --sans: "Deniminkwdtrial", Arial, sans-serif;
  --mono: ui-monospace, "Fira Code", SFMono-Regular, Menlo, monospace;
  --inter: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  --dim: #8fa0a0;
  font-size: 16px;
  line-height: 1.5;
  font-synthesis: none;
}
/* top bar: the site's floating lime pill nav (navbar13_container) */
.dp-top {
  max-width: 940px;
  width: calc(100% - 32px);
  height: 56px;
  margin: 16px auto 0;
  padding: 0 8px 0 24px;
  background: #e3ff94;
  border: 1px solid #e3ff94;
  border-radius: 32px;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.dp-logo {
  display: inline-flex;
  align-items: center;
}
.dp-logo-img {
  display: block;
  width: auto;
  height: 20px;
}
.dp-prod {
  font: 500 15px/1.5 var(--sans);
  color: #161c1c;
  border-left-color: rgba(22, 28, 28, 0.2);
}
.dp-meter {
  font: 500 14px/1 var(--sans);
  color: #4a5f5f;
  border-color: rgba(22, 28, 28, 0.2);
}
.dp-meter b {
  color: #161c1c;
  font-weight: 500;
  /* All digits as wide: a count that changes (1 to 0) does not move the top bar. */
  font-variant-numeric: tabular-nums;
}
.dp-top-r .dp-btn.ghost {
  background: #161c1c;
  color: #ecefef !important;
  border-radius: 999px;
  padding: 8px 18px;
  font: 500 15px/1.4 var(--sans) !important;
  letter-spacing: normal;
  gap: 8px;
}
.dp-top-r .dp-btn.ghost::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #ddff7d;
}
.dp-top-r .dp-btn.ghost:hover {
  background: #2a3333;
}
@container (max-width:520px) {
  .dp-top {
    width: calc(100% - 32px);
    height: 56px;
    padding: 0 8px 0 20px;
  }
  .dp-top-r .dp-btn.ghost {
    display: inline-flex;
  }
}
/* The orbii.ai nav breakpoints (viewport media queries, as orbii.ai). At 991px and below, orbii.ai hides its nav text
   and shows only the logo, "Book a demo" and the menu button: hide "DEX". */
@media screen and (max-width: 991px) {
  .dp-prod {
    display: none;
  }
}
/* Below 480px: logo max-width 60px, "Book a demo" padding 8px 10px (the text stays 15px). */
@media screen and (max-width: 479px) {
  .dp-logo-img {
    width: 60px;
  }
  .dp-top {
    gap: 8px;
    padding-left: 16px;
  }
  .dp-top-r {
    gap: 6px;
  }
  .dp-meter {
    padding: 7px 8px;
  }
  .dp-top-r .dp-btn.ghost {
    padding: 8px 10px;
  }
}
/* type: the orbii.ai section heading (.octl h2) */
.dp-h1 {
  font: 400 clamp(30px, 3.4vw, 44px) / 1.06 var(--sans);
  letter-spacing: -0.022em;
}
/* the two-line heading of the front page has the size of prototype-2 (combo-h1), the second line in lime */
.dp-h1.combo-h1 {
  font-size: 52px;
  line-height: 1.04;
  max-width: none;
}
.combo-h1 span {
  color: var(--primary);
}
@container (max-width:860px) {
  .dp-h1.combo-h1 {
    font-size: 40px;
  }
}
@container (max-width:520px) {
  .dp-h1.combo-h1 {
    font-size: 32px;
  }
}
.dp-sheet h3,
.dp-drop h3 {
  font-weight: 400;
  letter-spacing: -0.01em;
}
/* lead text: the orbii.ai section lead (.octl .lede) */
.dp-sub {
  color: var(--dim);
  font: 400 15.5px/1.6 var(--inter);
}
/* eyebrow: the orbii.ai section eyebrow (.octl-eye) with its lime square marker */
.dp-eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  font: 400 11px/1.5 var(--inter);
  letter-spacing: 0.18em;
  color: var(--dim);
}
.dp-eyebrow::before {
  content: "";
  flex: none;
  width: 6px;
  height: 6px;
  background: #ddff7d;
}
/* buttons: the site button (radius 12px; main call to action 16px/24px, padding 10px 24px) */
.dp-btn {
  border-radius: 12px;
  font: 500 14px/1.2 var(--sans) !important;
  letter-spacing: normal;
}
.dp-btn.lg {
  padding: 10px 24px;
  font: 400 16px/24px var(--sans) !important;
}
/* cards: the site radius token (--_ui-styles---radius--medium: 16px) */
.dp-card {
  border-radius: 16px;
}

/* ---------- the inline styles of the design, as classes ---------- */
.g-hero {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
/* The design's group labels (a label without a field) as text: the same look as .gfield>label. */
.gfield > .glabel {
  font: 500 11px/1.3 var(--sans);
  letter-spacing: 0.02em;
  color: rgba(236, 239, 239, 0.6);
}
.g-making {
  padding: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}
.g-making b {
  font-size: 18px;
}
.dp-main.tight {
  padding-top: 28px;
}
.g-docname {
  margin-top: 6px;
}
.g-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.g-clock {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.dp-timer.md {
  font-size: 48px;
}
.dp-tiles.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.dp-tiles.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
/* Below this width a tile of a row of 4 is too narrow for an amount such as "AED 261,789.19" on one line. */
@container (max-width:927px) {
  .dp-tiles.four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.g-panel {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.g-panel.lg {
  gap: 16px;
}
.dp-hint.pad {
  padding: 10px 12px;
}
.dp-hint.md {
  font-size: 14px;
}
.g-card {
  min-width: 0;
}
.dp-tabs.pad {
  padding: 0 8px;
}
.dp-sub.sm {
  font-size: 14px;
}
.dp-link.sm {
  align-self: flex-start;
  font-size: 13px;
}
.g-own-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.g-parse-clock {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: center;
}
.dp-sales.row {
  padding: 24px;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.g-sales-copy {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-width: 60ch;
}
.g-sales-copy b {
  font-size: 22px;
  font-weight: 400;
}
.dp-mono.lime {
  color: #ddff7d;
}
.g-busy {
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
  max-width: 640px;
}
.dp-h1.busy {
  font-size: 30px;
  max-width: 24ch;
}

/* ---------- only on the real page ---------- */
a.dp-btn,
a.dp-link {
  text-decoration: none;
  cursor: pointer;
}
a.dp-btn {
  color: var(--text);
}
a.dp-link {
  text-decoration: underline;
}
/* The logo and "DEX" are one link to the start: they keep the look of the design. */
a.dp-brand {
  color: inherit;
  text-decoration: none;
}
.dp-btn:disabled {
  opacity: 0.4;
  cursor: default;
}
/* The real PDF page in the viewer, in the place of the drawn page of the design (.gp). */
/* The page box has the size of the design's page (.gp: 520px high, 420px on a phone). A real page is A4 (portrait),
   so it is taller than the box: the box scrolls inside. */
.gpdf {
  position: relative;
  background: #f3f5f4;
  border-radius: 8px;
  box-shadow: 0 8px 24px -12px rgba(0, 0, 0, 0.6);
  overflow: hidden auto;
  height: 520px;
}
.gpdf .gpage {
  position: relative;
}
.gpdf canvas {
  display: block;
  width: 100%;
  height: auto;
}
.gpdf .gload {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #808f8f;
  font-size: 13px;
}
@container (max-width:520px) {
  .gpdf {
    height: 420px;
  }
}
/* The sample page (option 6C, 16 Nov): the page box shows that it scrolls. A styled scroll bar always shows (macOS
   hides a plain one until the visitor scrolls). The fade and the note "Scroll for the whole page" sit on the bottom
   of the box, not on the scroll bar and not on Previous and Next; they go when the visitor gets to the bottom of the
   page, so they do not hide its last lines (a scroll-driven animation; without one they stay). */
.gbox {
  position: relative;
  timeline-scope: --gpage;
}
.gpdf.cue {
  scroll-timeline: --gpage block;
}
.gpdf.cue::-webkit-scrollbar {
  width: 12px;
}
.gpdf.cue::-webkit-scrollbar-track {
  background: #dfe4e3;
  border-radius: 0 8px 8px 0;
}
.gpdf.cue::-webkit-scrollbar-thumb {
  background: #6b7b7b;
  border: 2px solid #dfe4e3;
  border-radius: 6px;
}
@supports not selector(::-webkit-scrollbar) {
  .gpdf.cue {
    scrollbar-color: #6b7b7b #dfe4e3;
  }
}
.gcue {
  position: absolute;
  left: 0;
  right: 12px;
  bottom: 0;
  height: 90px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 14px;
  background: linear-gradient(rgba(243, 245, 244, 0), rgba(243, 245, 244, 0.97));
  border-radius: 0 0 0 8px;
  pointer-events: none;
  animation: gcue linear both;
  animation-timeline: --gpage;
}
.gcue span {
  font: 500 14px/1 var(--sans);
  color: #ecefef;
  background: #161c1c;
  padding: 8px 14px;
  border-radius: 999px;
}
@keyframes gcue {
  0%,
  85% {
    opacity: 1;
  }
  96%,
  100% {
    opacity: 0;
    visibility: hidden;
  }
}
.dp-tile.wait .v {
  color: var(--subtle);
}
.dp-err {
  margin: 0;
  font-size: 13px;
  color: var(--error);
}
.dp-err a,
.dp-err button {
  color: var(--primary) !important;
}
.dp-otp input:focus {
  outline: none;
  border-color: var(--p45);
  box-shadow: 0 0 0 3px var(--p15);
}
.dp-drop {
  cursor: pointer;
  font: inherit;
  color: inherit;
}
.dp-drop.over {
  background: var(--p15);
}
.dp-file-input {
  display: none;
}
/* The Turnstile widgets (L2). A widget shows only while Cloudflare needs the visitor to act, and hides after the check
   (see botcheck.js). */
.dp-bots {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  z-index: 7;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.dp-bots:empty {
  display: none;
}
.dp-table th.n {
  text-align: right;
}
.g-resend {
  align-self: flex-start;
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  font-size: 13px;
}
.dp-link:disabled {
  opacity: 0.5;
  cursor: default;
}

/* prototype-2, 17 Nov */
/* the top bar hides the free count at 520px and below (the upload screen tells it) */
@container (max-width:520px) {
  .dp-top-r .dp-meter {
    display: none;
  }
}
/* the delete note after "Upload your own" on the front page; on a phone it takes its own line */
.gownline {
  align-items: center;
}
.gdel {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font: 400 13px/1.4 var(--sans);
  color: var(--subtle);
  padding-left: 12px;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}
.gdel svg {
  color: var(--primary);
  flex: none;
}
@container (max-width:520px) {
  .gdel {
    border-left: 0;
    padding-left: 0;
    flex-basis: 100%;
  }
}
.gfull {
  grid-column: 1/-1;
}
.ghelp {
  font: 400 12.5px/1.4 var(--sans);
  color: var(--subtle);
}
.ghelp[hidden] {
  display: none;
}
.dp-field input::placeholder {
  color: rgba(236, 239, 239, 0.32);
}
/* AECB credit report and Financial statements: the live demo card in place of the form */
.gother {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
  padding: 22px;
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  background: rgba(221, 255, 125, 0.05);
}
.gother h3 {
  margin: 0;
  font: 500 22px/1.25 var(--sans);
  color: var(--text);
}
.gother .dp-sub {
  margin: 0;
  max-width: 56ch;
}
.gother .dp-actions {
  align-items: center;
  gap: 16px;
}
/* no new sample: the message sits directly in the form panel, with no box of its own */
.gother.gplain {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
}
/* the used free upload, in place of the drop zone */
.g-used {
  padding: 20px;
  font-size: 15px;
  line-height: 1.5;
}
.dp-sheet .dp-hint {
  display: block;
}
/* a long eyebrow ("Downloaded <name> statement") wraps before the close button */
.dp-sheet > .dp-eyebrow {
  padding-right: 28px;
}
/* the form and heading sizes of the 17 Nov orbii.ai look */
.dp-h1.combo-h1 {
  font-size: 60px;
  line-height: 1.02;
}
@container (max-width:860px) {
  .dp-h1.combo-h1 {
    font-size: 44px;
  }
}
@container (max-width:520px) {
  .dp-h1.combo-h1 {
    font-size: 34px;
  }
}
.gfield > label,
.gfield > .glabel {
  font: 400 13px/1.3 var(--sans);
  letter-spacing: 0;
  color: rgba(236, 239, 239, 0.7);
}
.gseg button {
  font: 500 14px/1.2 var(--sans) !important;
}
.dp-field input {
  border-radius: 10px;
  padding: 13px 14px;
  font: 400 15px/1.3 var(--sans);
}
/* the sign-in form: the work email and the optional mobile number, each error close under its field, as in the mockup */
.dp-sign {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.dp-sign .dp-field + .dp-err {
  margin-top: -12px;
}
.lopt {
  font-weight: 400;
  color: var(--subtle);
}
/* "Pages per document": the slider of the start form, its count in a pill */
.gfield > label output {
  margin-left: 8px;
  font: 500 13px/1 var(--sans);
  color: var(--primary);
  background: rgba(221, 255, 125, 0.1);
  border: 1px solid var(--p30);
  border-radius: 999px;
  padding: 3px 9px;
}
.grange {
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 560px;
}
.grange span {
  font: 400 12px/1 var(--sans);
  color: #8fa0a0;
  width: 16px;
  text-align: center;
}
.grange input {
  --v: 23.53%;
  flex: 1;
  min-width: 0;
  -webkit-appearance: none;
  appearance: none;
  height: 6px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--primary) 0 var(--v), rgba(255, 255, 255, 0.12) var(--v) 100%);
  outline: none;
  margin: 10px 0;
}
.grange input::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--primary);
  border: 4px solid #161c1c;
  box-shadow:
    0 0 0 1px var(--primary),
    0 0 16px rgba(221, 255, 125, 0.45);
  cursor: pointer;
}
.grange input::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--primary);
  border: 4px solid #161c1c;
  box-shadow: 0 0 0 1px var(--primary);
}
.grange input:focus-visible {
  box-shadow: 0 0 0 3px var(--p30);
}
/* the sample card of the upload step */
.gupcard {
  display: flex;
  gap: 14px;
  align-items: center;
  text-align: left;
  padding: 16px;
  color: var(--text);
  font: inherit;
  cursor: pointer;
  border: 1px solid var(--p30) !important;
  background: var(--p08) !important;
}
.gupcard:hover {
  border-color: var(--p45) !important;
}
.gupcard-t {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.gfree {
  display: block;
  margin-top: 4px;
  font: 500 12.5px/1.3 var(--sans);
  color: var(--primary);
}
.gupcard.used {
  opacity: 0.55;
  cursor: default;
  border-color: rgba(255, 255, 255, 0.1) !important;
  background: rgba(0, 0, 0, 0.2) !important;
}
.gupcard.used .gfree {
  color: #8fa0a0;
}
/* "all N transactions reconcile to the closing balance" on the results */
.g-rec {
  color: var(--success);
}
/* the note stays on one line (an email must not break at its hyphen) */
.dp-toast {
  white-space: nowrap;
  max-width: calc(100vw - 32px);
  overflow: hidden;
  text-overflow: ellipsis;
}
/* Step 2 on a phone: the actions of the sample in the order of use. The primary button (the next step) comes first and
   the other button below it, both full width with the size of the large buttons (.lg, 46px high). "Change settings"
   is a small text link below them, 44px high to tap. */
@container (max-width:520px) {
  .g-sample-actions {
    flex-basis: 100%;
    flex-direction: column;
  }
  .g-sample-actions .dp-btn {
    padding: 10px 24px;
    font: 400 16px/24px var(--sans) !important;
  }
  .g-sample-actions .dp-btn.primary {
    order: -1;
  }
  .g-sample-actions .dp-btn.ghost {
    order: 1;
    align-self: center;
    min-height: 44px;
    padding: 10px 16px;
    font: 500 14px/1.2 var(--sans) !important;
  }
}
/* The results of 18 Nov (prototype-2, Summary option 1 "With cash flow tiles"): the speed chip, the cash flow tiles,
   "This is the short version", the PDF tab and Book a demo at the bottom. The design's margin-top of the cash flow
   and short version boxes is the gap of .g-panel here. */
.dp-badge.lime {
  background: var(--p15);
  color: var(--primary);
}
.gx {
  margin-left: 6px;
  vertical-align: 1px;
  font-family: var(--inter);
}
.gend {
  justify-content: flex-start;
  padding-top: 4px;
}
.gan {
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.gan-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
  flex-wrap: wrap;
}
.gan-sub {
  margin-top: 6px;
}
.gleg {
  display: flex;
  gap: 14px;
  font-size: 12px;
  color: var(--muted);
}
.gtr {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  font: 600 12px/1 var(--mono);
  padding: 3px 6px;
  border-radius: 999px;
  white-space: nowrap;
}
.gtr.good {
  color: #34d399;
  background: rgba(52, 211, 153, 0.12);
}
.gtr.bad {
  color: #f87171;
  background: rgba(248, 113, 113, 0.12);
}
.gtr.flat {
  color: var(--muted);
  background: rgba(255, 255, 255, 0.06);
}
.gleg .gtr {
  padding: 2px 5px;
  margin-right: 4px;
}
.gtt {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.gtt .dp-tile {
  gap: 6px;
}
.gtt .dp-tile .v {
  font-size: 22px;
}
.gmore {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 18px 28px;
  align-items: center;
  padding: 24px;
  border-radius: 16px;
  border: 1px solid rgba(221, 255, 125, 0.4);
  background: radial-gradient(
    120% 140% at 0% 0%,
    rgba(221, 255, 125, 0.14),
    rgba(221, 255, 125, 0.03) 55%,
    transparent
  );
}
.gmore-t {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.gmore h3 {
  margin: 0;
  font: 500 30px/1.15 var(--display);
  color: var(--text);
  letter-spacing: -0.01em;
}
.gmore p {
  margin: 0;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.55;
  max-width: 46ch;
}
.glock {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.glock li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px dashed rgba(221, 255, 125, 0.35);
  background: rgba(22, 28, 28, 0.6);
  color: var(--text);
  font-size: 13px;
}
.glock li svg {
  color: #ddff7d;
  flex: none;
}
.glock li span {
  filter: blur(0.3px);
}
.gmore-c {
  grid-column: 1/-1;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.g-pdf {
  padding: 16px;
}
.g-pdf-note {
  margin-bottom: 10px;
}
.gpdf.fit {
  height: auto;
  min-height: 520px;
  overflow: hidden;
}
@container (max-width:860px) {
  .gtt {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .gmore {
    grid-template-columns: minmax(0, 1fr);
  }
  .gmore h3 {
    font-size: 24px;
  }
}
@container (max-width:520px) {
  .gpdf.fit {
    height: auto;
    min-height: 420px;
  }
}
