/* ============================================================
   FreightOS product page. Everything is scoped under #fros, so the short
   class names are safe. Loaded after product-page.css, which holds what the
   product pages share (base, chips, stamp, node, rail, hero frame, question
   stack and meter, turning point, FAQ, final CTA). The 02 steps, 03 inbox,
   06 capabilities, 07 before/after, 08 tabs and 09 timeline rules follow
   customsos.css; the FreightOS objects (hero desk and network, pain loops,
   converter, network panel, record drawer, rate comparison, quote, route
   map, budget, ask box) are at the end.

   Colour meaning is fixed: red = missed or wrong (unread email, empty field,
   stale record, delay, mismatch), amber = waiting (vendor not replied, flag to
   check), blue/cyan = FreightOS working, green = done; gold = what a person
   does. Gold is never used for anything FreightOS does. Check and cross icons
   and words always carry the meaning too.

   Motion: markup renders in its finished state. The page script "arms" a
   section before animating it, and arming only ever changes opacity,
   visibility or transform, so nothing shifts. Logical properties throughout
   (RTL); the route map is always drawn left to right.
   ============================================================ */

/* ---------- base ---------- */

/* ---------- base ---------- */

/* The -ink colours are the ones dark enough to read as small text on their
   own tint (AA); the plain ones are for fills, stripes and dots. */
/* Container tints for the port drawing. */
#fros {
  --fr-crit-ink: #b42318;
  --fr-c0: #3d6bff;
  --fr-c1: #6f8fff;
  --fr-c2: #22a6b8;
  --fr-c3: #5468d6;
  --fr-c4: #2bc0a6;
  --fr-cyan: #22d3ee;
  --fr-cyan-ink: #0e7490;
  --fr-grey: #5a6382;
  --fr-warn: #f59e0b;
  --fr-warn-ink: #92400e;
}

/* Severity chips */
#fros .sv-crit {
  --st-c: var(--fr-crit-ink);
  --st-bg: var(--nlm-danger-soft);
}

#fros :is(.sv-high, .sv-med) {
  --st-c: var(--fr-warn-ink);
  --st-bg: rgb(245 158 11 / 16%);
}

#fros .sv-low {
  --st-c: var(--nlm-fg-2);
  --st-bg: var(--nlm-gray-100);
}

#fros .sv-done {
  --st-c: var(--nlm-success);
  --st-bg: var(--nlm-success-soft);
}

#fros .dark .sv-crit {
  --st-c: #ff8a8a;
  --st-bg: rgb(239 68 68 / 16%);
}

#fros .dark :is(.sv-high, .sv-med) {
  --st-c: #fbbf24;
  --st-bg: rgb(245 158 11 / 14%);
}

/* Facts TerminalOS pulled out */
#fros .pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

#fros .pill {
  font-size: 12.5px;
  line-height: 1.35;
  color: var(--nlm-signal-ink);
  background: var(--nlm-signal-soft);
  border-radius: 999px;
  padding: 5px 11px;
}

#fros .dark .pill {
  color: #fff;
  background: rgb(61 107 255 / 22%);
}

#fros .btn-s {
  font-size: 13px;
  padding: 8px 14px;
}

#fros .dr-a {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 14px;
}

/* A decision taken stays gold: it is the human's action. */
#fros .is-taken:disabled {
  opacity: 1;
  cursor: default;
  transform: none;
  box-shadow: none;
}

#fros .auth {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

#fros .auth-l {
  font-family: var(--nlm-font-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  color: var(--nlm-navy-400);
  margin-inline-end: 4px;
}

#fros .auth-b {
  font-family: var(--nlm-font-display);
  font-weight: 700;
  font-size: 13px;
  color: #fff;
  border: 1px solid rgb(255 255 255 / 20%);
  border-radius: 6px;
  padding: 4px 10px;
}

/* ---------- 01 the questions ---------- */

#fros .qa {
  height: 104px;
}

#fros .qn {
  font-family: var(--nlm-font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--nlm-danger);
  margin-bottom: 8px;
}

#fros .qchips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

#fros .qchip {
  font: inherit;
  font-family: var(--nlm-font-display);
  font-weight: 600;
  font-size: 13px;
  color: var(--nlm-fg-1);
  background: #fff;
  border: 1px solid var(--nlm-line-strong);
  border-radius: 999px;
  padding: 8px 14px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

#fros .qchip[aria-pressed="true"] {
  color: #fff;
  background: var(--nlm-navy-900);
  border-color: var(--nlm-navy-900);
}

/* the meter */
#fros .meter-h {
  margin: 0 0 14px;
}

#fros .meter-rows {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  font-size: 13px;
}

#fros .meter-rows > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

#fros .meter-rows dd {
  margin: 0;
  font-family: var(--nlm-font-mono);
  font-weight: 600;
  white-space: nowrap;
  color: #ff8a8a;
}

#fros .meter-x {
  display: block;
  font-family: var(--nlm-font-mono);
  font-size: 11px;
  color: var(--nlm-navy-400);
}

#fros .qrate {
  margin-top: 0;
}

#fros .qrate input {
  width: 112px;
}

/* ---------- what if ---------- */

#fros .turn-flow {
  gap: 6px;
}

#fros .turn-flow li {
  font-size: 13.5px;
  padding: 7px 12px;
}

#fros .turn-q + .turn-q {
  margin-top: 10px;
}

#fros .seg-d {
  border-color: rgb(255 255 255 / 24%);
}

#fros .seg-d button {
  color: var(--nlm-navy-300);
}

#fros .seg-d button[aria-pressed="true"] {
  color: var(--nlm-navy-950);
  background: #fff;
}

#fros .flow-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

#fros .flow-ai {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  font-family: var(--nlm-font-display);
  font-weight: 700;
  font-size: clamp(19px, 2vw, 24px);
  color: #fff;
}

#fros .flow-ai .node {
  width: 52px;
  height: 52px;
}

#fros .flow-ai .node-core {
  width: 40px;
  height: 40px;
}

#fros .flow-ai .node-core :is(svg, i[data-lucide]) {
  width: 18px;
  height: 18px;
}

#fros .flow-replay {
  padding-inline: 12px 16px;
}

#fros .flow-replay :is(svg, i[data-lucide]) {
  width: 15px;
  height: 15px;
}

#fros .steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

#fros .step {
  background: var(--nlm-navy-800);
  border: 1px solid var(--nlm-line-dark);
  border-radius: 14px;
  padding: 20px 18px;
  transition: border-color 0.35s, opacity 0.35s;
}

#fros .step.is-done {
  border-color: rgb(34 197 94 / 45%);
}

#fros .step.is-gold.is-done {
  border-color: var(--pq-gold);
}

#fros .flow.is-armed .step:not(.is-done) {
  opacity: 0.45;
}

#fros .step-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

#fros .step .ico {
  width: 36px;
  height: 36px;
  background: rgb(61 107 255 / 18%);
  color: var(--pq-ai);
}

#fros .step.is-gold .ico {
  background: rgb(227 178 60 / 18%);
  color: var(--pq-gold);
}

#fros .step-n {
  font-family: var(--nlm-font-mono);
  font-size: 11px;
  color: var(--nlm-navy-400);
}

#fros .step h4 {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--nlm-font-display);
  font-weight: 600;
  font-size: 16px;
  color: #fff;
  margin: 0 0 8px;
}

#fros .step p {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--nlm-navy-300);
  margin: 0;
}

#fros .ck-i {
  flex: none;
  width: 20px;
  height: 20px;
  box-sizing: border-box;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid rgb(255 255 255 / 25%);
  color: transparent;
  transition: background 0.25s, border-color 0.25s, color 0.25s;
}

#fros .ck-i :is(svg, i[data-lucide]) {
  width: 12px;
  height: 12px;
}

#fros .step.is-done .ck-i {
  background: var(--pq-ok);
  border-color: var(--pq-ok);
  color: #fff;
}

#fros .step.is-gold.is-done .ck-i {
  background: var(--pq-gold);
  border-color: var(--pq-gold);
  color: var(--pq-gold-ink);
}

#fros .flow.is-armed .step.is-done .ck-i {
  animation: pq-pop 0.4s var(--nlm-ease-soft);
}

/* ---------- 03 see it work: bar and counters ---------- */

#fros .day-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}

#fros .day-ctl {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

#fros .day-n {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}

#fros .day-n li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: #fff;
  border: 1px solid var(--nlm-line);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 12.5px;
  line-height: 1.35;
  color: var(--nlm-fg-2);
}

#fros .day-n b {
  font-family: var(--nlm-font-display);
  font-weight: 800;
  font-size: 26px;
  line-height: 1.1;
  color: var(--nlm-fg-1);
}

[dir="rtl"] #fros .day-n b.ltr {
  text-align: end;
}

#fros .day-n .is-bad b {
  color: var(--nlm-danger);
}

#fros .day-n .is-ai b {
  color: var(--nlm-signal-ink);
}

#fros .drawer {
  position: relative;
  min-height: 620px;
  margin-top: 14px;
}

/* ---------- 04 tabs ---------- */

#fros .tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

#fros .tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--nlm-font-display);
  font-weight: 600;
  font-size: 14px;
  color: var(--nlm-fg-2);
  background: #fff;
  border: 1px solid var(--nlm-line-strong);
  border-radius: 999px;
  padding: 11px 18px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

#fros .tab :is(svg, i[data-lucide]) {
  width: 16px;
  height: 16px;
}

#fros .tab[aria-selected="true"] {
  color: #fff;
  background: var(--nlm-navy-900);
  border-color: var(--nlm-navy-900);
}

#fros .vp {
  background: var(--nlm-gray-50);
  border: 1px solid var(--nlm-line);
  border-radius: 18px;
  padding: clamp(18px, 3vw, 32px);
  animation: pq-rise 0.45s var(--nlm-ease-soft);
}

#fros .vq {
  font-family: var(--nlm-font-display);
  font-weight: 700;
  font-size: clamp(20px, 2.2vw, 26px);
  line-height: 1.25;
  color: var(--nlm-fg-1);
  margin: 0 0 18px;
}

#fros .vnote {
  font-size: 13px;
  font-style: italic;
  color: var(--nlm-fg-3);
  margin: 14px 0 0;
}

#fros .vp .qctl output {
  color: var(--nlm-fg-1);
}

/* Tables */
#fros .sc-wrap {
  overflow-x: auto;
  background: #fff;
  border: 1px solid var(--nlm-line);
  border-radius: 14px;
}

#fros .sc {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}

#fros .sc :is(th, td) {
  text-align: start;
  padding: 10px 14px;
  border-bottom: 1px solid var(--nlm-line);
  white-space: nowrap;
}

#fros .sc thead th {
  font-family: var(--nlm-font-mono);
  font-weight: 500;
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--nlm-fg-3);
}

#fros .sc tbody tr:last-child :is(th, td) {
  border-bottom: 0;
}

#fros .sc tr.is-sel {
  background: rgb(61 107 255 / 5%);
}

/* ---------- 06 capabilities ---------- */

#fros .cloud {
  list-style: none;
  margin: 0 0 clamp(28px, 4vw, 44px);
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

#fros .cloud li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--nlm-font-display);
  font-weight: 600;
  font-size: 13.5px;
  color: var(--nlm-fg-1);
  background: #fff;
  border: 1px solid rgb(61 107 255 / 35%);
  border-radius: 999px;
  padding: 8px 15px;
}

#fros .cloud :is(svg, i[data-lucide]) {
  width: 14px;
  height: 14px;
  color: var(--nlm-signal);
}

#fros .cloud.is-armed li {
  opacity: 0;
  transform: translateY(8px) scale(0.94);
}

#fros .cloud.is-armed.is-in li {
  opacity: 1;
  transform: none;
  transition: opacity 0.4s var(--nlm-ease), transform 0.45s var(--nlm-ease-soft);
  transition-delay: calc(var(--i) * 60ms);
}

#fros .feats {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

#fros .feat {
  background: #fff;
  border: 1px solid var(--nlm-line);
  border-radius: 14px;
  padding: 16px;
  transition: transform 0.25s var(--nlm-ease), box-shadow 0.25s var(--nlm-ease);
}

#fros .feat:hover {
  transform: translateY(-4px);
  box-shadow: var(--nlm-shadow-md);
}

#fros .feat h3 {
  font-family: var(--nlm-font-display);
  font-weight: 600;
  font-size: 15.5px;
  line-height: 1.3;
  color: var(--nlm-fg-1);
  margin: 12px 0 6px;
}

#fros .feat p {
  font-size: 13px;
  line-height: 1.55;
  color: var(--nlm-fg-2);
  margin: 0;
}

#fros .roles {
  margin-top: clamp(24px, 3vw, 36px);
}

#fros .roles ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
}

#fros .roles li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 12.5px;
  line-height: 1.4;
  color: var(--nlm-fg-2);
  background: #fff;
  border: 1px solid var(--nlm-line);
  border-radius: 12px;
  padding: 12px;
}

#fros .roles b {
  font-family: var(--nlm-font-display);
  font-size: 13.5px;
  color: var(--nlm-fg-1);
}

/* ---------- 07 before / after ---------- */

#fros .out-sw {
  margin-bottom: 20px;
}

#fros .out-g {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: clamp(18px, 3vw, 36px);
  align-items: start;
}

#fros .core {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 6px;
  font-size: 13.5px;
  line-height: 1.35;
}

#fros .core :is(th, td) {
  text-align: start;
  font-weight: 500;
  padding: 9px 12px;
  background: var(--nlm-navy-900);
  border-block: 1px solid var(--nlm-line-dark);
  transition: color 0.4s var(--nlm-ease), opacity 0.4s var(--nlm-ease);
}

#fros .core :is(th, td):first-child {
  border-inline-start: 1px solid var(--nlm-line-dark);
  border-start-start-radius: 10px;
  border-end-start-radius: 10px;
}

#fros .core :is(th, td):last-child {
  border-inline-end: 1px solid var(--nlm-line-dark);
  border-start-end-radius: 10px;
  border-end-end-radius: 10px;
}

#fros .core thead th {
  font-family: var(--nlm-font-mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--nlm-navy-400);
  background: transparent;
  border-color: transparent;
  padding-block: 0 2px;
}

#fros .core thead th:is(:first-child, :last-child) {
  border-color: transparent;
}

#fros .core td {
  position: relative;
  padding-inline-start: 32px;
}

#fros .core td :is(svg, i[data-lucide]) {
  position: absolute;
  top: calc(50% - 7px);
  inset-inline-start: 10px;
  width: 14px;
  height: 14px;
  color: var(--nlm-navy-600);
}

/* Reactive, there is no AI action and no outcome to show: the cells
   stay, empty. */
#fros .core :is(.c-ai, .c-out) > * {
  transition: opacity 0.4s var(--nlm-ease), visibility 0s;
}

#fros .c-pain {
  color: var(--nlm-navy-400);
  text-decoration: line-through;
  text-decoration-color: rgb(255 255 255 / 30%);
}

#fros .c-ai {
  color: var(--pq-ai);
}

#fros .c-out {
  color: #5ee08a;
  font-weight: 600;
}

/* The last row is the human one: readable in both states, its outcome gold. */
#fros .is-human .c-pain {
  color: #fff;
  text-decoration: none;
}

#fros .is-human .c-ai {
  color: var(--nlm-navy-400);
}

#fros .is-human .c-out {
  color: var(--pq-gold);
}

#fros [data-state="before"] tr:not(.is-human) .c-pain {
  color: #ff8a8a;
  text-decoration-color: transparent;
}

/* Before FleetOS there is no AI action and no outcome to show: the cells
   stay, empty. */

#fros [data-state="before"] tr:not(.is-human) :is(.c-ai, .c-out) > * {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--nlm-ease), visibility 0s 0.4s;
}

/* The morning clearance brief */
#fros .report {
  position: relative;
  background: var(--nlm-navy-900);
  border: 1px solid var(--nlm-line-dark);
  border-radius: 16px;
  overflow: hidden;
  color: var(--nlm-navy-300);
}

#fros .report-b {
  padding: clamp(18px, 2vw, 24px);
}

#fros .report-h {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px 12px;
  margin-bottom: 14px;
  font-family: var(--nlm-font-mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

#fros .report-h strong {
  font-family: var(--nlm-font-display);
  font-size: 16px;
  letter-spacing: 0;
  text-transform: none;
  color: #fff;
}

/* The brief's values are phrases, not single numbers: one per row. */
#fros .kpis {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
}

#fros .kpis li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 12.5px;
  line-height: 1.3;
  background: rgb(255 255 255 / 5%);
  border-radius: 10px;
  padding: 10px 12px;
}

#fros .kpis li:first-child {
  grid-column: 1 / -1;
}

#fros .kpis b {
  flex: 0 1 auto;
  min-width: 0;
  overflow-wrap: anywhere;
  font-family: var(--nlm-font-display);
  font-weight: 800;
  font-size: 16px;
  line-height: 1.3;
  text-align: end;
  color: #fff;
}

#fros .kpis li:first-child b {
  font-size: 28px;
}

#fros .kpis .is-bad b {
  color: #ff8a8a;
}

#fros .kpis .is-warn b {
  color: #fbbf24;
}

#fros .kpis .is-ok b {
  color: #5ee08a;
}

#fros .report-n {
  margin: 14px 0 0;
  font-size: 11.5px;
  font-style: italic;
  color: var(--nlm-navy-400);
}

#fros .blind {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  background: rgb(8 9 31 / 72%);
  backdrop-filter: blur(7px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s var(--nlm-ease), visibility 0.5s;
}

#fros .blind b {
  display: block;
  font-family: var(--nlm-font-display);
  font-weight: 700;
  font-size: 20px;
  color: #fff;
  margin-bottom: 8px;
}

#fros .blind p {
  max-width: 34ch;
  margin: 0;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--nlm-navy-300);
}

#fros [data-state="before"] .blind {
  opacity: 1;
  visibility: visible;
}

/* ---------- 08 who it's for ---------- */

#fros .tabp {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(20px, 3vw, 40px);
  align-items: center;
  background: #fff;
  border: 1px solid var(--nlm-line);
  border-radius: 18px;
  padding: clamp(22px, 3vw, 36px);
  animation: pq-rise 0.45s var(--nlm-ease-soft);
}

#fros .tabp h3 {
  font-family: var(--nlm-font-display);
  font-weight: 700;
  font-size: clamp(20px, 2.2vw, 26px);
  color: var(--nlm-fg-1);
  margin: 16px 0 10px;
}

#fros .tabp p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--nlm-fg-2);
  margin: 0;
}

#fros .ex {
  background: var(--nlm-gray-50);
  border: 1px solid var(--nlm-line);
  border-radius: 14px;
  padding: 18px;
}

#fros .tabp .ex-l {
  font-family: var(--nlm-font-mono);
  font-size: 10.5px;
  line-height: 1.4;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--nlm-fg-3);
  margin-bottom: 12px;
}

#fros .tabp .ex-q .alert {
  font-family: var(--nlm-font-display);
  font-weight: 600;
  font-size: clamp(15px, 1.5vw, 17px);
  padding: 12px 14px;
}

/* ---------- 09 getting started ---------- */

#fros .tl-wrap {
  position: relative;
}

#fros .tl {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 40px);
}

#fros .tl-line {
  position: absolute;
  top: 21px;
  inset-inline: 21px;
  height: 2px;
  background: var(--nlm-signal);
  transform-origin: 0 50%;
}

[dir="rtl"] #fros .tl-line {
  transform-origin: 100% 50%;
}

#fros .tl li {
  position: relative;
}

#fros .tl-dot {
  position: relative;
  z-index: 1;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: #fff;
  background: var(--nlm-navy-900);
  box-shadow: 0 0 0 6px #fff;
}

#fros .tl-dot :is(svg, i[data-lucide]) {
  width: 20px;
  height: 20px;
}

#fros .tl h3 {
  font-family: var(--nlm-font-display);
  font-weight: 700;
  font-size: 19px;
  color: var(--nlm-fg-1);
  margin: 0 0 8px;
}

#fros .tl p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--nlm-fg-2);
  margin: 0;
}

/* ---------- closing ---------- */

#fros .final .h2 {
  max-width: 24ch;
  margin-bottom: 16px;
}

#fros .cta-note {
  max-width: 46ch;
  margin: 0 auto 32px;
  font-size: clamp(15px, 1.5vw, 18px);
  line-height: 1.55;
  color: var(--nlm-navy-300);
}

/* Twelve documents, pulled into the line and the wordmark. */
#fros .cv-t {
  top: calc(50% - 7px);
  inset-inline-start: calc(50% - 7px);
  width: 14px;
  height: 10px;
  border-radius: 2px;
  background: var(--fr-c1);
  border: 0;
  box-shadow: 0 0 0 4px rgb(255 255 255 / 12%);
}

#fros .also {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin: 30px 0 0;
  font-family: var(--nlm-font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--nlm-navy-400);
}

#fros .also a {
  color: #fff;
  text-decoration: none;
  border: 1px solid rgb(255 255 255 / 22%);
  border-radius: 999px;
  padding: 5px 12px;
  transition: border-color 0.2s, background 0.2s;
}

#fros .also a:hover {
  border-color: var(--nlm-signal);
  background: var(--nlm-signal);
}

@media (width <= 1180px) {
  #fros .feats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  #fros .roles ul {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (width <= 980px) {
  #fros .steps,
  #fros .feats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  /* The meter rides the bottom of the screen here (see product-page.css), so it
     is kept short: the four figures sit two by two. */
  #fros .meter-l {
    margin-bottom: 4px;
  }

  #fros .meter-h {
    font-size: 22px;
    margin: 0 0 8px;
  }

  #fros .meter-rows {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px 16px;
    font-size: 11.5px;
    line-height: 1.3;
  }

  #fros .meter-rows > div {
    flex-direction: column;
    gap: 1px;
  }

  #fros .meter-x {
    display: none;
  }
}

@media (width <= 640px) {
  #fros .tl-line {
    display: none;
  }

  #fros .day-ctl {
    width: 100%;
  }

  #fros .day-ctl :is(.btn-n, .btn-g) {
    flex: 1;
    justify-content: center;
  }

  #fros .seg {
    flex-wrap: wrap;
    border-radius: 16px;
  }

  #fros .kpis {
    grid-template-columns: minmax(0, 1fr);
  }
  /* The table reads as stacked cards: pain, then what the AI does, then the outcome. */
  #fros .core,
  #fros .core tbody,
  #fros .core tr,
  #fros .core :is(th, td) {
    display: block;
  }

  #fros .core thead {
    display: none;
  }

  #fros .core tr {
    margin-bottom: 8px;
    background: var(--nlm-navy-900);
    border: 1px solid var(--nlm-line-dark);
    border-radius: 10px;
    padding: 8px 4px;
  }

  #fros .core tbody :is(th, td),
  #fros .core tbody :is(th, td):is(:first-child, :last-child) {
    background: transparent;
    border: 0;
    border-radius: 0;
    padding-block: 4px;
  }
}

#fros .display {
  font-family: var(--nlm-font-display);
  font-weight: 800;
  font-size: clamp(30px, 3.9vw, 50px);
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: #fff;
  margin: 0 0 18px;
  text-wrap: balance;
}

/* The H1 names the product for search; the display line is the headline. */
#fros .hero-h.fr-h1 {
  font-size: clamp(17px, 1.6vw, 21px);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0;
  color: var(--nlm-navy-300);
  margin-bottom: 12px;
}

#fros .btns {
  flex-wrap: wrap;
}

/* ---------- what if ---------- */
#fros .turn-already {
  margin: 0;
  font-family: var(--nlm-font-display);
  font-size: clamp(28px, 3.4vw, 44px);
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--nlm-navy-300);
}

#fros .turn.is-armed:not(.is-on) .turn-already {
  color: var(--nlm-fg-3);
}

/* ---------- 03 see it work: the morning inbox ---------- */
#fros .day-n li.is-ok b {
  color: var(--nlm-success);
}

#fros .ib-g {
  display: grid;
  grid-template-columns: minmax(250px, 300px) minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

#fros .inbox {
  position: relative;
  align-self: stretch;
  min-height: 520px;
  background: #fff;
  border: 1px solid var(--nlm-line);
  border-radius: 16px;
  overflow: hidden;
}

#fros .inbox-h {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin: 0;
  padding: 12px 14px;
  font-family: var(--nlm-font-mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--nlm-fg-3);
  border-bottom: 1px solid var(--nlm-line);
}

#fros .mails {
  position: absolute;
  inset: 41px 0 0;
  overflow-y: auto;
  overscroll-behavior: contain;
}

#fros .mail {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 3px;
  width: 100%;
  box-sizing: border-box;
  font: inherit;
  text-align: start;
  color: var(--nlm-fg-2);
  background: #fff;
  border: 0;
  border-bottom: 1px solid var(--nlm-line);
  border-inline-start: 3px solid transparent;
  padding: 10px 14px;
  cursor: pointer;
  transition: background 0.2s;
}

#fros .mail:hover {
  background: var(--nlm-gray-50);
}

#fros .mail:focus-visible {
  outline-offset: -3px;
}

#fros .mail.is-sel {
  background: var(--nlm-signal-soft);
}

#fros .mail-f {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 12px;
  color: var(--nlm-fg-3);
}

#fros .mail-s {
  font-size: 13.5px;
  line-height: 1.35;
  color: var(--nlm-fg-1);
}

#fros .mail-p {
  font-size: 12px;
  line-height: 1.4;
  color: var(--nlm-fg-3);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#fros .mail-st {
  display: none;
  align-items: center;
  gap: 5px;
  font-family: var(--nlm-font-mono);
  font-size: 10.5px;
  color: var(--nlm-success);
}

#fros .mail-st :is(svg, i[data-lucide]) {
  width: 12px;
  height: 12px;
}

#fros .mail.is-unread {
  border-inline-start-color: var(--nlm-signal);
}

#fros .mail.is-unread .mail-s {
  font-weight: 600;
}

#fros .mail::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--nlm-signal-soft);
  opacity: 0;
  pointer-events: none;
}

#fros .mail.is-scan::after {
  animation: fr-scan 0.5s ease-in-out;
}

#fros .mail.is-done .mail-st {
  display: inline-flex;
}

#fros .mail.is-skip .mail-st {
  color: var(--nlm-fg-3);
}

#fros .dr-empty {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 18px;
  text-align: center;
  font-size: 14px;
  color: var(--nlm-fg-3);
}

#fros .dr-body.is-blank {
  visibility: hidden;
}

#fros .kv {
  margin: 0;
  font-size: 12.5px;
}

#fros .kv > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 4px 0;
  border-bottom: 1px solid var(--nlm-line);
}

#fros .kv > div:last-child {
  border-bottom: 0;
}

#fros .kv dt {
  color: var(--nlm-fg-3);
}

#fros .kv dd {
  margin: 0;
  white-space: nowrap;
  font-weight: 600;
  text-align: end;
  color: var(--nlm-fg-1);
}

#fros .is-q {
  font-weight: 800;
  color: var(--nlm-fg-3);
}

#fros .dr-skip {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 18px;
  text-align: center;
  font-size: 14px;
  color: var(--nlm-fg-3);
}

#fros .dr-mail-t {
  margin-bottom: 8px;
}

#fros .quote {
  margin: 0 0 14px;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--nlm-fg-2);
  background: var(--nlm-gray-50);
  border-inline-start: 3px solid var(--nlm-line-strong);
  border-radius: 10px;
  padding: 10px 12px;
}

#fros .quote-h {
  display: block;
  margin-bottom: 4px;
  font-size: 12px;
  font-weight: 600;
  color: var(--nlm-fg-1);
}

#fros .mk {
  color: var(--nlm-signal-ink);
  background: var(--nlm-signal-soft);
  border-radius: 4px;
  padding: 0 3px;
}

#fros .dr-reply {
  margin-bottom: 12px;
}

#fros .dr-draft {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--nlm-fg-1);
  border: 1px solid var(--nlm-line-strong);
  border-radius: 10px;
  padding: 10px 12px;
}

#fros [data-d-actions][hidden],
#fros [data-d-reply][hidden] {
  display: none;
}
/* ---------- 08 who it's for: the sample email ---------- */
#fros .ex-mail {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--nlm-fg-1);
  background: #fff;
  border: 1px solid var(--nlm-line);
  border-inline-start: 3px solid var(--nlm-signal);
  border-radius: 10px;
  padding: 10px 12px;
}

#fros .ex-mail :is(svg, i[data-lucide]) {
  flex: none;
  width: 16px;
  height: 16px;
  margin-top: 3px;
  color: var(--nlm-signal);
}


/* ---------- 03 see it work: the clearance inbox ---------- */
#fros .day-n .is-warn b {
  color: var(--fr-warn-ink);
}

#fros .mail-s :is(svg, i[data-lucide]) {
  width: 12px;
  height: 12px;
  margin-inline-end: 4px;
  vertical-align: -1px;
  color: var(--nlm-fg-3);
}

#fros .mail.is-new {
  animation: fr-in 0.45s var(--nlm-ease-soft) both;
}

#fros .mail.is-reply .mail-st {
  color: var(--nlm-success);
}

#fros .mail[hidden] {
  display: none;
}

#fros .lanes {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  align-self: stretch;
}

#fros .lane {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--nlm-line);
  border-block-start: 3px solid var(--nlm-line-strong);
  border-radius: 14px;
  padding: 10px;
  min-height: 300px;
}

#fros .lane-done {
  border-block-start-color: var(--nlm-success);
}

#fros .lane-wait {
  border-block-start-color: var(--nlm-danger);
}

#fros .lane-check {
  border-block-start-color: var(--fr-warn);
}

#fros .lane-h {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 10px;
  font-family: var(--nlm-font-mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--nlm-fg-2);
}

#fros .lane-h :is(svg, i[data-lucide]) {
  flex: none;
  width: 14px;
  height: 14px;
}

#fros .lane-done .lane-h :is(svg, i[data-lucide]) {
  color: var(--nlm-success);
}

#fros .lane-wait .lane-h :is(svg, i[data-lucide]) {
  color: var(--nlm-danger);
}

#fros .lane-check .lane-h :is(svg, i[data-lucide]) {
  color: var(--fr-warn);
}

#fros .lane-h b {
  margin-inline-start: auto;
  font-size: 13px;
  color: var(--nlm-fg-1);
}

#fros .lane-b {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

#fros .fc {
  display: flex;
  flex-direction: column;
  gap: 2px;
  width: 100%;
  font: inherit;
  text-align: start;
  background: var(--nlm-gray-50);
  border: 1px solid var(--nlm-line);
  border-radius: 9px;
  padding: 7px 9px;
  cursor: pointer;
  animation: fr-in 0.35s var(--nlm-ease-soft) both;
  transition: border-color 0.2s, background 0.2s;
}

#fros .fc:hover {
  border-color: var(--nlm-signal);
}

#fros .fc.is-sel {
  border-color: var(--nlm-signal);
  background: var(--nlm-signal-soft);
}

#fros .fc-r {
  font-family: var(--nlm-font-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--nlm-fg-1);
}

#fros .fc.is-skip .fc-r {
  font-family: inherit;
  font-weight: 500;
  color: var(--nlm-fg-3);
}

#fros .fc-c {
  font-size: 12px;
  color: var(--nlm-fg-3);
}

#fros .fly-env {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  color: #fff;
  background: var(--nlm-signal);
  border-radius: 50%;
  box-shadow: 0 6px 16px rgb(61 107 255 / 35%);
}

#fros .fly-env svg {
  width: 15px;
  height: 15px;
}

#fros .dr-skip[hidden],
#fros .dr-empty[hidden] {
  display: none;
}

#fros .dr-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-bottom: 12px;
}

#fros .dr-t {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 10px;
  margin: 0;
  font-size: 15px;
  color: var(--nlm-fg-2);
}

#fros .dr-t b {
  font-family: var(--nlm-font-mono);
  color: var(--nlm-fg-1);
}

#fros .dr-t :is(svg, i[data-lucide]) {
  width: 18px;
  height: 18px;
  color: var(--nlm-signal);
}

#fros .eta-pill {
  font-family: var(--nlm-font-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--nlm-signal-ink);
  background: var(--nlm-signal-soft);
  border-radius: 999px;
  padding: 4px 11px;
}

#fros .dr-kv {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0 14px;
  margin-bottom: 16px;
}

#fros .dr-kv > div {
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 2px;
  border-bottom: 0;
  border-inline-start: 1px solid var(--nlm-line);
  padding-inline-start: 10px;
}

#fros .dr-kv dd {
  text-align: start;
  white-space: normal;
}

#fros .dr-g {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 18px;
  margin-bottom: 16px;
}

#fros .dr-atts {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}

#fros .dr-read {
  background: var(--nlm-gray-50);
  border-radius: 10px;
  padding: 8px 12px;
  margin-bottom: 16px;
  min-height: 132px;
}

#fros .dr-read-t {
  margin: 0 0 4px;
  font-size: 12px;
  font-weight: 600;
  color: var(--nlm-signal-ink);
}

#fros .xc {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

#fros .xc li {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 12.5px;
  color: var(--nlm-fg-2);
  border-inline-start: 3px solid var(--nlm-success);
  padding-block: 3px;
  padding-inline: 10px 0;
}

#fros .xc b {
  font-weight: 600;
  text-align: end;
  color: var(--nlm-success);
}

#fros .xc li.is-bad {
  border-inline-start-color: var(--nlm-danger);
}

#fros .xc li.is-bad b {
  color: var(--fr-crit-ink);
}

#fros .xc li.is-warn {
  border-inline-start-color: var(--fr-warn);
}

#fros .xc li.is-warn b {
  color: var(--fr-warn-ink);
}

#fros .dr-msg {
  border-top: 1px solid var(--nlm-line);
  padding-top: 14px;
}

#fros .dr-msg .panel-t {
  display: block;
}

#fros .dr-text {
  box-sizing: border-box;
  width: 100%;
  font: inherit;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--nlm-fg-1);
  background: rgb(34 211 238 / 5%);
  border: 1px solid var(--fr-cyan-ink);
  border-radius: 10px;
  padding: 10px 12px;
  resize: vertical;
}

#fros .dr-text[hidden],
#fros .dr-none[hidden],
#fros .dr-flag[hidden],
#fros .dr-sent[hidden],
#fros [data-d-approve][hidden],
#fros .dr-done[hidden] {
  display: none;
}

#fros .dr-none {
  margin: 0;
  font-size: 13.5px;
  color: var(--nlm-fg-3);
}

#fros .dr-send {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin-top: 10px;
}

#fros .dr-sent {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--nlm-success);
}

#fros .dr-sent :is(svg, i[data-lucide]) {
  width: 16px;
  height: 16px;
}

/* A setting, not a warning: grey when off, on a light panel. */
#fros .dr-sw {
  font-size: 13px;
  color: var(--nlm-fg-1);
  background: #fff;
  border-color: var(--nlm-line-strong);
}

#fros .dr-sw[aria-checked="false"] .qsw-k {
  background: var(--nlm-fg-3);
}

#fros .dr-flag {
  margin: 8px 0 0;
  font-size: 12.5px;
  color: var(--fr-warn-ink);
}

#fros .dr-done {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--nlm-line);
}

#fros .dr-ready {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--nlm-success);
}

#fros .dr-done .dr-a {
  margin-inline-start: auto;
}

#fros .dr-note {
  font-size: 12px;
  color: var(--nlm-fg-3);
}

#fros .auto-note {
  margin-top: 12px;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--nlm-fg-2);
}

#fros .auto-note summary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  font-weight: 600;
  color: var(--nlm-fg-1);
}

#fros .auto-note summary :is(svg, i[data-lucide]) {
  width: 16px;
  height: 16px;
  transition: transform 0.2s;
}

#fros .auto-note[open] summary :is(svg, i[data-lucide]) {
  transform: rotate(180deg);
}

#fros .auto-note p {
  max-width: 780px;
  margin: 8px 0 0;
}

/* ---------- 05 inbox to release ---------- */
#fros .fo {
  --p: 1;

  max-width: 860px;
}

#fros .fo-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

#fros .fo-file {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 10px;
  font-size: 14px;
  color: var(--nlm-navy-300);
}

#fros .fo-file b {
  font-family: var(--nlm-font-mono);
  color: #fff;
}

#fros .fo-file :is(svg, i[data-lucide]) {
  width: 18px;
  height: 18px;
  color: var(--fr-cyan);
}

#fros .fo-st {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* The line the file travels, filled as far as it has come. */
#fros .fo-st::before,
#fros .fo-st::after {
  content: "";
  position: absolute;
  inset-block-start: 18px;
  inset-inline-start: 17px;
  width: 2px;
  height: calc(100% - 36px);
  background: rgb(255 255 255 / 12%);
}

#fros .fo-st::after {
  height: calc((100% - 36px) * var(--p));
  background: var(--fr-cyan);
  transition: height 0.6s var(--nlm-ease);
}

#fros .fo-s {
  position: relative;
  display: grid;
  grid-template-columns: 36px 96px minmax(0, 1fr);
  grid-template-areas:
    "n w t"
    "n w d";
  gap: 0 12px;
  align-items: center;
  color: var(--nlm-navy-300);
  opacity: 0.45;
  transition: opacity 0.35s, color 0.35s;
}

#fros .fo-s.is-done,
#fros .fo-s.is-on {
  opacity: 1;
}

#fros .fo-n {
  grid-area: n;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: var(--nlm-navy-300);
  background: var(--nlm-navy-900);
  border: 1.5px solid rgb(255 255 255 / 18%);
  transition: background 0.35s, border-color 0.35s, color 0.35s;
}

#fros .fo-n :is(svg, i[data-lucide]) {
  width: 16px;
  height: 16px;
}

#fros .fo-s.is-ai:is(.is-done, .is-on) .fo-n {
  color: var(--nlm-navy-950);
  background: var(--fr-cyan);
  border-color: var(--fr-cyan);
}

#fros .fo-s.is-gold:is(.is-done, .is-on) .fo-n {
  color: var(--pq-gold-ink);
  background: var(--pq-gold);
  border-color: var(--pq-gold);
}

#fros .fo-s:not(.is-ai, .is-gold):is(.is-done, .is-on) .fo-n {
  color: #fff;
  border-color: rgb(255 255 255 / 45%);
}

#fros .fo-s.is-on .fo-n {
  box-shadow: 0 0 0 6px rgb(34 211 238 / 18%);
}

#fros .fo-w {
  grid-area: w;
  font-family: var(--nlm-font-mono);
  font-size: 12px;
}

#fros .fo-s b {
  grid-area: t;
  font-family: var(--nlm-font-display);
  font-size: 15.5px;
  color: #fff;
}

#fros .fo-d {
  grid-area: d;
  font-size: 13.5px;
}

#fros .fo-s small {
  grid-area: t;
  justify-self: end;
  font-family: var(--nlm-font-mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fr-cyan);
}

#fros .fo-s.is-gold small {
  color: var(--pq-gold);
}

#fros .fo-cap {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0 0;
  font-family: var(--nlm-font-display);
  font-weight: 700;
  font-size: clamp(17px, 1.8vw, 21px);
  color: #fff;
  transition: opacity 0.4s;
}

#fros .fo-cap :is(svg, i[data-lucide]) {
  width: 20px;
  height: 20px;
  color: var(--nlm-success);
}

#fros .fo-cap em {
  font-family: var(--nlm-font-body, inherit);
  font-size: 13px;
  font-weight: 400;
  color: var(--nlm-navy-400);
}

#fros .fo-cap.is-off {
  opacity: 0;
  transform: none;
}

/* ---------- motion ---------- */
@keyframes fr-scan {
  0%,
  100% {
    opacity: 0;
  }

  50% {
    opacity: 1;
  }
}

@keyframes fr-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes fr-drop {
  from {
    opacity: 0;
    transform: translateY(-14px) scale(0.9);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes fr-slam {
  0% {
    opacity: 0;
    transform: scale(1.35);
  }

  60% {
    opacity: 1;
    transform: scale(0.96);
  }

  100% {
    opacity: 1;
    transform: none;
  }
}

@keyframes fr-cursor {
  0% {
    transform: translate(0, 0);
  }

  40% {
    transform: translate(-30px, 8px);
  }

  70% {
    transform: translate(10px, 40px);
  }

  100% {
    transform: translate(40px, 76px);
  }
}

@keyframes fr-roll3 {
  0%,
  100% {
    margin-block-start: 0;
  }

  33% {
    margin-block-start: -1.3em;
  }

  66% {
    margin-block-start: -2.6em;
  }
}

@keyframes fr-flip {
  0%,
  45% {
    margin-block-start: 0;
  }

  55%,
  100% {
    margin-block-start: -1.4em;
  }
}

@keyframes fr-stampdrop {
  0%,
  50% {
    opacity: 0;
    transform: scale(1.6);
  }

  60%,
  95% {
    opacity: 1;
    transform: none;
  }

  100% {
    opacity: 0;
    transform: none;
  }
}

@keyframes fr-wiggle {
  0%,
  100% {
    rotate: 4deg;
  }

  50% {
    rotate: -3deg;
  }
}

@keyframes fr-thread {
  0% {
    opacity: 0;
  }

  10%,
  90% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}

@keyframes fr-open {
  0% {
    color: var(--nlm-fg-1);
    background: var(--nlm-signal-soft);
  }

  33%,
  100% {
    color: var(--nlm-fg-3);
    background: transparent;
  }
}

@keyframes fr-spin {
  to {
    transform: rotate(360deg);
  }
}


/* ---------- shared pieces from customsos.css (hero end frame, chips, table bars) ---------- */
#fros .fh-end {
  position: absolute;
  inset: -14px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--nlm-navy-950);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s var(--nlm-ease), visibility 0.5s;
}

#fros .fh-word {
  font-family: var(--nlm-font-display);
  font-weight: 800;
  font-size: clamp(30px, 3.4vw, 44px);
  color: #fff;
}

#fros .fh-by {
  font-family: var(--nlm-font-mono);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--nlm-navy-300);
}

#fros .sol .qchip {
  color: #fff;
  background: rgb(255 255 255 / 6%);
  border-color: rgb(255 255 255 / 20%);
}

#fros .sol .qchip[aria-pressed="true"] {
  color: var(--nlm-navy-950);
  background: #fff;
  border-color: #fff;
}

#fros .bd-b {
  display: flex;
  flex-direction: column;
  gap: 1px;
  font: inherit;
  text-align: start;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

#fros .bd-b b {
  font-family: var(--nlm-font-mono);
  font-size: 12.5px;
  color: var(--nlm-signal-ink);
  text-decoration: underline;
  text-decoration-color: rgb(61 107 255 / 35%);
  text-underline-offset: 3px;
}

#fros .bd-b span {
  font-size: 12px;
  font-weight: 400;
  color: var(--nlm-fg-3);
}

#fros .bd-bar {
  position: relative;
  width: 70px;
  height: 7px;
  background: var(--nlm-gray-100);
  border-radius: 999px;
  overflow: hidden;
}

#fros .bd-bar i {
  position: absolute;
  inset: 0;
  inset-inline-end: auto;
  width: calc(var(--f) * 100%);
  background: var(--rk, var(--nlm-fg-3));
  border-radius: 999px;
  transition: width 0.5s var(--nlm-ease);
}

#fros .bd-r {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}


/* ============================================================
   FreightOS objects
   ============================================================ */

/* Shared record field: a label and a value. An empty value is drawn with a
   red dashed outline and the "not entered" word; a new value is green; a value
   that disagrees with the booking is amber. */
#fros .rf {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: 8px;
  padding: 5px 8px;
  border-radius: 6px;
  border: 1px solid transparent;
}

#fros .rf dt {
  font-size: 11.5px;
  color: var(--nlm-fg-3);
}

#fros .rf dd {
  margin: 0;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--nlm-fg-1);
  overflow-wrap: anywhere;
}

#fros .rf.is-empty {
  border: 1.5px dashed var(--nlm-danger);
  background: var(--nlm-danger-soft);
}

#fros .rf.is-empty dd {
  font-weight: 500;
  font-style: italic;
  color: var(--fr-crit-ink);
}

#fros .rf.is-new dd {
  color: var(--nlm-success);
}

#fros .rf.is-flag {
  border-color: var(--fr-warn);
  background: rgb(245 158 11 / 12%);
}

#fros .rf.is-flag dd {
  color: var(--fr-warn-ink);
}

/* Company and vendor names are Latin in both languages; in Arabic they take
   their own direction, so "Gulf Build Co." keeps its full stop at the end. */
#fros :is(.mail-f > span:first-child, .net-b, [data-pc="customer"], .frh-v li > span, .frh-c li > span, .frh-val, .bg-t th, .cmp-t th, .rf dd) {
  unicode-bidi: plaintext;
}

/* ---------- hero: the teaser ----------
   Three layers stacked in one cell: the desk (frames 1-2), the network
   (frames 3-4) and the map (frame 5); the end card is frame 6. The static frame
   (no script, reduced motion) is the end of frame 4: the network, every pair
   ticked, the update sent. */
#fros .stage.frh {
  padding: 14px;
  overflow: hidden;
}

#fros .frh-in {
  position: relative;
  display: grid;
  min-height: 400px;
}

#fros .frh-in > :is(.frh-desk, .frh-net, .frh-map) {
  grid-area: 1 / 1;
  transition: opacity 0.5s var(--nlm-ease), visibility 0.5s;
}

#fros .frh-desk,
#fros .frh-map {
  opacity: 0;
  visibility: hidden;
}

#fros .frh[data-f="1"] .frh-desk,
#fros .frh[data-f="2"] .frh-desk,
#fros .frh[data-f="5"] .frh-map {
  opacity: 1;
  visibility: visible;
}

#fros .frh[data-f="1"] .frh-net,
#fros .frh[data-f="2"] .frh-net,
#fros .frh[data-f="5"] .frh-net,
#fros .frh[data-f="6"] .frh-net {
  opacity: 0;
  visibility: hidden;
}

#fros .frh[data-f="3"] .frh-desk {
  opacity: 0.12;
  visibility: visible;
  filter: grayscale(1);
}

#fros .frh[data-f="6"] .fh-end {
  opacity: 1;
  visibility: visible;
}

/* The desk */
#fros .frh-desk {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  grid-template-rows: auto auto 1fr;
  gap: 12px;
  align-content: start;
}

#fros .frh-mails {
  grid-column: 1;
  grid-row: 1 / 3;
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

#fros .frh-mails li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  color: var(--nlm-navy-300);
  background: rgb(255 255 255 / 6%);
  border: 1px solid rgb(255 255 255 / 10%);
  border-radius: 8px;
  padding: 8px 10px;
}

#fros .frh-mails li > span {
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#fros .frh-mails :is(svg, i[data-lucide]) {
  flex: none;
  width: 14px;
  height: 14px;
}

#fros .frh-mails .is-unread {
  color: #fff;
  border-color: rgb(239 68 68 / 60%);
}

#fros .frh-mails .is-unread b {
  font-size: 9.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #ff8a8a;
}

#fros .frh-rec {
  background: #fff;
  border-radius: 12px;
  padding: 12px;
  box-shadow: var(--nlm-shadow-md);
  grid-column: 2;
  grid-row: 1 / 3;
}

#fros .frh-rt {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 8px;
  font-size: 12px;
  color: var(--nlm-fg-2);
}

#fros .frh-rt b {
  color: var(--nlm-fg-1);
}

#fros .frh-rt :is(svg, i[data-lucide]) {
  width: 15px;
  height: 15px;
  color: var(--nlm-signal);
}

#fros .frh-rt .ltr {
  margin-inline-start: auto;
  font-family: var(--nlm-font-mono);
  font-size: 11px;
}

#fros .frh-rec dl {
  display: grid;
  gap: 4px;
  margin: 0;
}

#fros .frh-eta dd {
  display: flex;
  gap: 8px;
}

#fros .frh-old {
  display: none;
  color: var(--fr-crit-ink);
}

#fros .frh-bar {
  display: block;
  height: 4px;
  margin-top: 10px;
  border-radius: 999px;
  background: var(--nlm-gray-100);
  overflow: hidden;
}

#fros .frh-bar i {
  display: block;
  width: 64%;
  height: 100%;
  background: var(--nlm-signal);
}

#fros :is(.frh-doc, .frh-sheet) {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  justify-self: start;
  font-size: 11.5px;
  color: #fff;
  background: rgb(255 255 255 / 8%);
  border: 1px solid rgb(255 255 255 / 14%);
  border-radius: 6px;
  padding: 6px 9px;
}

#fros :is(.frh-doc, .frh-sheet) :is(svg, i[data-lucide]) {
  width: 13px;
  height: 13px;
}

#fros .frh-doc {
  grid-column: 1;
  grid-row: 3;
}

#fros .frh-sheet {
  grid-column: 2;
  grid-row: 3;
}

#fros .frh-knows {
  position: absolute;
  inset-inline: 0;
  inset-block-end: 54px;
  margin: 0;
  text-align: center;
  font-family: var(--nlm-font-display);
  font-weight: 800;
  font-size: clamp(15px, 1.5vw, 19px);
  letter-spacing: 0.02em;
  color: #fff;
  text-shadow: 0 2px 18px rgb(8 9 31 / 90%);
  opacity: 0;
}

#fros .frh-fails {
  position: absolute;
  inset-inline: 0;
  inset-block-end: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}

#fros .frh-fails li {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--nlm-font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #fff;
  background: var(--nlm-danger);
  border-radius: 4px;
  padding: 5px 8px;
  opacity: 0;
  transform: scale(1.3);
}

#fros .frh-fails :is(svg, i[data-lucide]) {
  width: 12px;
  height: 12px;
}

#fros .frh[data-f="1"] .frh-knows {
  animation: fr-in 0.6s 1.2s var(--nlm-ease-soft) both;
}

#fros .frh[data-f="1"] .frh-mails li {
  animation: fr-in 0.4s calc(var(--i) * 0.2s) var(--nlm-ease-soft) both;
}

#fros .frh[data-f="2"] .frh-knows {
  opacity: 1;
}

#fros .frh[data-f="2"] .frh-fails li {
  animation: fr-slam 0.35s calc(0.3s + var(--i) * 0.75s) var(--nlm-ease-soft) both;
}

#fros .frh[data-f="2"] .frh-mails .is-unread {
  animation: frh-away 0.6s 0.2s var(--nlm-ease) both;
}

#fros .frh[data-f="2"] .frh-doc {
  animation: fr-wiggle 0.5s 0.9s ease-in-out 2;
}

#fros .frh[data-f="2"] .frh-old {
  display: inline;
}

#fros .frh[data-f="2"] .frh-eta .frh-val {
  text-decoration: line-through;
  color: var(--nlm-fg-3);
}

#fros .frh[data-f="1"] .frh-bar i {
  animation: frh-run 2.4s linear infinite;
}

/* The network */
#fros .frh-net {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  grid-template-rows: auto 1fr auto;
  align-items: center;
  gap: 10px 14px;
}

#fros .frh-turn {
  grid-column: 1 / -1;
  margin: 0;
  text-align: center;
  font-family: var(--nlm-font-display);
  font-weight: 800;
  font-size: clamp(14px, 1.4vw, 17px);
  letter-spacing: 0.02em;
  color: #fff;
  text-transform: uppercase;
}

#fros :is(.frh-v, .frh-c) {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

#fros :is(.frh-v, .frh-c) li {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  font-size: 11px;
  color: #fff;
  background: rgb(255 255 255 / 6%);
  border: 1px solid rgb(255 255 255 / 12%);
  border-radius: 8px;
  padding: 7px 8px;
}

#fros :is(.frh-v, .frh-c) li > span {
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#fros :is(.frh-v, .frh-c) li > :is(svg, i[data-lucide]) {
  flex: none;
  width: 13px;
  height: 13px;
  color: var(--nlm-navy-300);
}

#fros .frh-rate {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  margin-inline-start: auto;
  flex: none;
  font-size: 9.5px;
  color: #6ee7b7;
}

#fros .frh-rate :is(svg, i[data-lucide]) {
  width: 11px;
  height: 11px;
}

#fros .frh-core {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: #fff;
}

#fros .frh-core > b {
  font-family: var(--nlm-font-display);
  font-size: 14px;
}

#fros .frh-pairs {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 5px;
}

#fros .frh-pairs li {
  display: grid;
  grid-template-columns: auto auto auto 14px;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-family: var(--nlm-font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--nlm-navy-300);
  background: rgb(34 211 238 / 10%);
  border: 1px solid rgb(34 211 238 / 30%);
  border-radius: 6px;
  padding: 4px 8px;
}

#fros .frh-pairs li b {
  color: var(--fr-cyan);
}

#fros .frh-pairs :is(svg, i[data-lucide]) {
  width: 11px;
  height: 11px;
}

#fros .frh-ck {
  color: #6ee7b7;
  opacity: 0;
}

#fros .frh-pairs li.is-done .frh-ck {
  opacity: 1;
}

#fros .frh-labels {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 14px;
  margin: 0;
  font-family: var(--nlm-font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--nlm-navy-400);
  text-align: center;
}

#fros .frh-flyers {
  position: absolute;
  inset-block-start: 50%;
  inset-inline-start: 50%;
  pointer-events: none;
}

#fros .frh-fly {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 9.5px;
  font-weight: 700;
  color: var(--nlm-navy-950);
  background: var(--fr-cyan);
  border-radius: 999px;
  padding: 3px 7px;
  opacity: 0;
}

#fros .frh-fly :is(svg, i[data-lucide]) {
  width: 10px;
  height: 10px;
}

#fros .frh-toast {
  position: absolute;
  inset-block-end: 34px;
  inset-inline-end: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 700;
  color: #052e1c;
  background: #6ee7b7;
  border-radius: 8px;
  padding: 7px 10px;
  box-shadow: 0 8px 22px rgb(8 9 31 / 50%);
}

#fros .frh-toast :is(svg, i[data-lucide]) {
  width: 14px;
  height: 14px;
}

#fros .frh[data-f="3"] :is(.frh-v, .frh-c, .frh-pairs, .frh-toast, .frh-labels) {
  opacity: 0;
}

#fros .frh[data-f="3"] .frh-core {
  animation: fr-in 0.6s 0.3s var(--nlm-ease-soft) both;
}

#fros .frh[data-f="4"] .frh-turn {
  opacity: 0.55;
}

#fros .frh[data-f="4"] :is(.frh-v, .frh-c) li {
  animation: fr-in 0.4s calc(1.4s + var(--i) * 0.12s) var(--nlm-ease-soft) both;
}

#fros .frh[data-f="4"] .frh-labels {
  animation: fr-in 0.4s 1.4s var(--nlm-ease-soft) both;
}

#fros .frh[data-f="4"] .frh-fly {
  animation: frh-rfq 1s calc(2s + var(--i) * 0.1s) var(--nlm-ease) both;
}

#fros .frh[data-f="4"] .frh-rate {
  animation: fr-in 0.35s calc(3.1s + var(--i) * 0.18s) var(--nlm-ease-soft) both;
}

#fros .frh[data-f="4"] .frh-toast {
  animation: fr-in 0.45s 4s var(--nlm-ease-soft) both;
}

/* The map */
/* Drawn left to right in both languages, like any map; the labels on top
   of it follow the page direction again. */
#fros .frh-map {
  position: relative;
  align-self: center;
  direction: ltr;
}

html[dir="rtl"] #fros :is(.frh-track, .mp-toasts) {
  direction: rtl;
}

#fros .frh-map .mp-svg {
  display: block;
  width: 100%;
  height: auto;
}

#fros .frh-dot {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  margin-block-start: -12px;
  margin-inline-start: -12px;
  border-radius: 50%;
  color: var(--nlm-navy-950);
  background: var(--fr-cyan);
  box-shadow: 0 0 0 4px rgb(34 211 238 / 22%);
}

#fros .frh-dot :is(svg, i[data-lucide]) {
  width: 13px;
  height: 13px;
}

#fros .frh-dot.d-sea {
  inset-inline-start: 70%;
  inset-block-start: 89%;
}

#fros .frh-dot.d-air {
  inset-inline-start: 38%;
  inset-block-start: 40%;
}

#fros .frh-dot.d-road {
  inset-inline-start: 53%;
  inset-block-start: 37%;
}

#fros .frh[data-f="5"] .frh-dot.d-sea {
  animation: frh-sea 3.2s linear both;
}

#fros .frh[data-f="5"] .frh-dot.d-air {
  animation: frh-air 3.2s var(--nlm-ease) both;
}

#fros .frh[data-f="5"] .frh-dot.d-road {
  animation: frh-road 3.2s linear both;
}

#fros .frh-track {
  position: absolute;
  inset-block-end: 0;
  inset-inline-start: 0;
  list-style: none;
  margin: 0;
  padding: 10px 12px;
  display: grid;
  gap: 4px;
  background: rgb(8 9 31 / 82%);
  border: 1px solid rgb(255 255 255 / 14%);
  border-radius: 10px;
}

#fros .frh-track li {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--nlm-font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: #fff;
}

#fros .frh-track :is(svg, i[data-lucide]) {
  width: 11px;
  height: 11px;
  color: #6ee7b7;
}

#fros .frh[data-f="5"] .frh-track li {
  animation: fr-in 0.35s calc(0.5s + var(--i) * 0.5s) var(--nlm-ease-soft) both;
}

#fros .frh-try {
  font-family: var(--nlm-font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--nlm-navy-950);
  background: #fff;
  border-radius: 999px;
  padding: 7px 14px;
}

#fros .frh-by {
  font-size: 12px;
  color: var(--nlm-navy-300);
}

@keyframes frh-away {
  to {
    opacity: 0;
    transform: translateX(-40px);
  }
}

@keyframes frh-run {
  from {
    transform: translateX(-100%);
  }

  to {
    transform: translateX(160%);
  }
}

@keyframes frh-rfq {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%);
  }

  20% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: translate(calc(var(--fly-x, -150px)), calc(-120px + var(--i) * 70px));
  }
}

@keyframes frh-sea {
  0% {
    inset-inline-start: 93%;
    inset-block-start: 30%;
  }

  30% {
    inset-inline-start: 90%;
    inset-block-start: 75%;
  }

  60% {
    inset-inline-start: 70%;
    inset-block-start: 89%;
  }

  100% {
    inset-inline-start: 43%;
    inset-block-start: 84%;
  }
}

@keyframes frh-air {
  0% {
    inset-inline-start: 20%;
    inset-block-start: 20%;
  }

  100% {
    inset-inline-start: 47%;
    inset-block-start: 59%;
  }
}

@keyframes frh-road {
  0% {
    inset-inline-start: 56%;
    inset-block-start: 46%;
  }

  100% {
    inset-inline-start: 50%;
    inset-block-start: 27%;
  }
}

html[dir="rtl"] #fros .frh-fly {
  --fly-x: 150px;
}

/* The schematic map, shared by the hero and 04: always left to right. */
#fros .mp-svg {
  direction: ltr;
}

#fros .mp-land path {
  fill: rgb(255 255 255 / 5%);
  stroke: rgb(255 255 255 / 10%);
}

#fros .mp-r {
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
}

#fros .mp-r.sea {
  stroke: rgb(61 107 255 / 70%);
  stroke-dasharray: 0.012 0.008;
}

#fros .mp-r.air {
  stroke: rgb(34 211 238 / 75%);
  stroke-dasharray: 0.004 0.012;
}

#fros .mp-r.road {
  stroke: rgb(110 231 183 / 80%);
}

#fros .mp-cities circle {
  fill: #fff;
}

#fros .mp-cities text {
  font-family: var(--nlm-font-body);
  font-size: 22px;
  fill: var(--nlm-navy-300);
}

/* ---------- 01 the pain loops ---------- */
#fros .qa > span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
}

#fros .qa :is(svg, i[data-lucide]) {
  flex: none;
  width: 15px;
  height: 15px;
}

#fros .qa-inbox {
  flex-wrap: wrap;
  max-width: 150px;
  color: var(--nlm-fg-2);
  background: var(--nlm-gray-50);
  border: 1px solid var(--nlm-line);
  border-radius: 10px;
  padding: 10px 12px;
}

#fros .qa-inbox b {
  font-family: var(--nlm-font-display);
  font-size: 20px;
  color: var(--fr-crit-ink);
}

#fros .qa-inbox small {
  color: var(--fr-crit-ink);
}

#fros .qa-roll {
  display: inline-grid;
  overflow: hidden;
  height: 1.2em;
  line-height: 1.2em;
}

#fros .qa-roll span {
  grid-area: 1 / 1;
  opacity: 0;
  animation: qa-cycle 4.5s steps(1) infinite;
}

/* Without motion the count shows its last, highest value. */
#fros .qa-roll span:last-child {
  opacity: 1;
}

#fros .qa-roll span:nth-child(2) {
  animation-delay: -3s;
}

#fros .qa-roll span:nth-child(3) {
  animation-delay: -1.5s;
}

#fros .qa-env {
  color: var(--nlm-fg-3);
  animation: qa-fade 3s ease-in-out infinite;
}

#fros .qa-chase {
  display: grid !important;
  gap: 4px;
}

#fros .qa-chase > span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  color: var(--nlm-fg-2);
  background: var(--nlm-gray-50);
  border: 1px solid var(--nlm-line);
  border-radius: 6px;
  padding: 2px 8px;
  opacity: 0.35;
  animation: qa-turn 6s calc(var(--i) * 1.5s) steps(1) infinite;
}

#fros .qa-chase :is(svg, i[data-lucide]) {
  width: 12px;
  height: 12px;
}

#fros .qa-wait {
  color: var(--fr-warn-ink);
}

#fros .qa-doc,
#fros .qa-rec,
#fros .qa-mm > span {
  flex-direction: column;
  align-items: flex-start !important;
  gap: 2px !important;
  font-size: 11px !important;
  color: var(--nlm-fg-2);
  background: var(--nlm-gray-50);
  border: 1px solid var(--nlm-line);
  border-radius: 8px;
  padding: 8px 10px;
}

#fros .qa-doc b,
#fros .qa-rec b,
#fros .qa-mm b {
  font-family: var(--nlm-font-mono);
  font-size: 11px;
  color: var(--nlm-fg-1);
}

#fros .qa-type {
  display: inline-block;
  overflow: hidden;
  white-space: nowrap;
  border-inline-end: 2px solid var(--nlm-signal);
  animation: qa-type 4s steps(14) infinite;
}

#fros .qa-phone {
  color: var(--fr-crit-ink);
  font-weight: 600;
  animation: fr-wiggle 0.5s ease-in-out infinite;
  animation-delay: 1s;
}

#fros .qa-eta {
  font-family: var(--nlm-font-mono);
  font-size: 11px !important;
  color: var(--fr-crit-ink);
  border: 1.5px dashed var(--nlm-danger);
  border-radius: 999px;
  padding: 3px 9px;
}

#fros .qa-mm {
  display: grid !important;
  gap: 4px !important;
}

#fros .qa-mm > span:first-child b {
  color: var(--fr-warn-ink);
}

#fros .qa-ticket {
  font-weight: 700;
  color: #fff;
  background: var(--nlm-danger);
  border-radius: 6px;
  padding: 5px 9px;
  animation: qa-fade 3s 0.6s ease-in-out infinite;
}

#fros .qs.is-idle .qa * {
  animation-play-state: paused;
}

@keyframes qa-fade {
  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.2;
  }
}

@keyframes qa-cycle {
  0% {
    opacity: 1;
  }

  33.33%,
  100% {
    opacity: 0;
  }
}

@keyframes qa-turn {
  0% {
    opacity: 1;
  }

  25%,
  100% {
    opacity: 0.35;
  }
}

@keyframes qa-type {
  0% {
    width: 0;
  }

  70%,
  100% {
    width: 14ch;
  }
}

/* ---------- turning point ---------- */
#fros .turn-h {
  font-family: var(--nlm-font-display);
  font-weight: 800;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.2;
  color: #fff;
  margin: 10px 0 18px;
}

#fros .turn.is-armed:not(.is-on) .turn-h {
  color: var(--nlm-fg-1);
}

/* ---------- 02 the converter ---------- */
#fros .cv2 {
  background: rgb(255 255 255 / 4%);
  border: 1px solid rgb(255 255 255 / 12%);
  border-radius: 16px;
  padding: 18px;
  margin-bottom: 40px;
}

#fros .cv2-sw {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

#fros .cv2-rows {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

#fros .cv2-b {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(110px, 0.6fr) minmax(0, 1fr) minmax(0, 1.4fr);
  align-items: center;
  gap: 14px;
  font: inherit;
  text-align: start;
  color: #fff;
  background: rgb(255 255 255 / 5%);
  border: 1px solid rgb(255 255 255 / 12%);
  border-radius: 12px;
  padding: 12px 14px;
  cursor: pointer;
}

#fros .cv2-b:hover,
#fros .cv2-b[aria-expanded="true"] {
  border-color: rgb(34 211 238 / 50%);
}

#fros .cv2-k {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--nlm-font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

#fros .cv2-b :is(svg, i[data-lucide]) {
  flex: none;
  width: 15px;
  height: 15px;
}

#fros :is(.cv2-tell, .cv2-ai) {
  grid-column: 2;
  grid-row: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  transition: opacity 0.35s var(--nlm-ease);
}

#fros .cv2-tell {
  color: var(--nlm-navy-300);
}

#fros .cv2-ai b {
  font-family: var(--nlm-font-mono);
  letter-spacing: 0.1em;
  color: var(--fr-cyan);
}

#fros .cv2-ck {
  color: #6ee7b7;
}

#fros .cv2-f {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
}

#fros .cv2-fl {
  color: var(--nlm-navy-300);
}

#fros .cv2-fv {
  display: grid;
}

#fros .cv2-fv > span {
  grid-area: 1 / 1;
  border-radius: 6px;
  padding: 5px 9px;
  transition: opacity 0.35s var(--nlm-ease);
}

#fros .cv2-empty {
  font-style: italic;
  color: #ff8a8a;
  border: 1.5px dashed rgb(239 68 68 / 70%);
}

#fros .cv2-filled {
  font-weight: 600;
  color: #fff;
  background: rgb(16 185 129 / 18%);
  border: 1px solid rgb(16 185 129 / 45%);
}

#fros .cv2[data-state="reads"] :is(.cv2-tell, .cv2-empty),
#fros .cv2[data-state="tell"] :is(.cv2-ai, .cv2-filled) {
  opacity: 0;
}

#fros .cv2[data-state="reads"] .cv2-b::after {
  content: "";
}

#fros .cv2.is-scan[data-state="reads"] .cv2-row .cv2-b {
  background-image: linear-gradient(90deg, transparent, rgb(34 211 238 / 18%), transparent);
  background-size: 40% 100%;
  background-repeat: no-repeat;
  animation: cv2-scan 0.9s calc(var(--i) * 0.35s) ease-in-out both;
}

#fros .cv2.is-scan[data-state="reads"] .cv2-row :is(.cv2-ai, .cv2-filled) {
  animation: fr-in 0.4s calc(0.5s + var(--i) * 0.35s) var(--nlm-ease-soft) both;
}

@keyframes cv2-scan {
  from {
    background-position: -40% 0;
  }

  to {
    background-position: 140% 0;
  }
}

#fros .cv2-d {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: 14px;
  padding: 12px 14px 4px;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--nlm-navy-300);
}

#fros .cv2-d p {
  margin: 0;
  display: grid;
  gap: 4px;
}

#fros .cv2-d .panel-t {
  color: var(--nlm-navy-400);
}

#fros .cv2-ex {
  color: #fff;
  font-weight: 600;
}

#fros .cv2-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 14px 0 0;
  font-size: 13px;
  color: var(--nlm-navy-300);
}

#fros .cv2-note :is(svg, i[data-lucide]) {
  flex: none;
  width: 15px;
  height: 15px;
  margin-top: 2px;
}

#fros .cv2[data-state="reads"] .cv2-n-tell,
#fros .cv2[data-state="tell"] .cv2-n-ai {
  display: none;
}

/* ---------- the network (02 and 03) ---------- */
#fros .net {
  display: grid;
  gap: 12px;
}

#fros :is(.net-in, .net-out) {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin: 0;
  font-size: 12px;
  color: var(--nlm-navy-300);
}

#fros :is(.net-in, .net-out) :is(svg, i[data-lucide]) {
  width: 14px;
  height: 14px;
}

#fros .net-src {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgb(255 255 255 / 14%);
  border-radius: 999px;
  padding: 4px 10px;
}

#fros .net-g {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 12px;
}

#fros .net-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
}

#fros .net-h {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 8px;
  font-family: var(--nlm-font-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--nlm-navy-400);
}

#fros .net-h :is(svg, i[data-lucide]) {
  width: 13px;
  height: 13px;
}

#fros .net-b {
  display: block;
  width: 100%;
  min-height: 30px;
  font: inherit;
  font-size: 12px;
  text-align: start;
  color: #fff;
  background: rgb(255 255 255 / 5%);
  border: 1px solid rgb(255 255 255 / 12%);
  border-radius: 8px;
  padding: 6px 10px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#fros button.net-b {
  cursor: pointer;
}

#fros button.net-b:hover {
  border-color: rgb(34 211 238 / 50%);
}

#fros .net-v .is-asked .net-b {
  border-color: rgb(34 211 238 / 45%);
}

#fros .net-v .is-replied .net-b {
  border-color: rgb(16 185 129 / 55%);
  background: rgb(16 185 129 / 10%);
}

#fros .net-c .is-told .net-b {
  border-color: rgb(16 185 129 / 55%);
  background: rgb(16 185 129 / 10%);
}

#fros .net-mid {
  display: flex;
  align-items: center;
  gap: 8px;
}

#fros .net-line {
  display: block;
  width: 26px;
  height: 2px;
  background: linear-gradient(90deg, rgb(34 211 238 / 0%), rgb(34 211 238 / 80%), rgb(34 211 238 / 0%));
}

#fros .net-core {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: #fff;
  font-size: 12.5px;
}

/* 02: each step lights its part of the network (the steps tick in turn). */
#fros .fr-flow .net {
  max-width: 880px;
  margin-inline: auto;
  margin-bottom: 26px;
  padding: 18px;
  border: 1px solid rgb(255 255 255 / 10%);
  border-radius: 16px;
  background: rgb(255 255 255 / 3%);
}

#fros .fr-flow [data-net-part] {
  transition: opacity 0.35s var(--nlm-ease), filter 0.35s var(--nlm-ease);
}

#fros .fr-flow.is-armed [data-net-part] {
  opacity: 0.35;
}

#fros .fr-flow.is-armed:has(.step:nth-child(1).is-done) :is([data-net-part="email"], [data-net-part="docs"]),
#fros .fr-flow.is-armed:has(.step:nth-child(3).is-done) [data-net-part="vendors"],
#fros .fr-flow.is-armed:has(.step:nth-child(4).is-done) [data-net-part="customers"],
#fros .fr-flow.is-armed:has(.step:nth-child(5).is-done) [data-net-part="ships"] {
  opacity: 1;
}

/* 03: on a light section. */
#fros .ib-net .net {
  height: 100%;
  align-content: center;
  padding: 16px;
  border-radius: 14px;
  background: var(--nlm-navy-950);
}

#fros .ib-net {
  position: relative;
}

#fros .net-toasts {
  position: absolute;
  inset-block-end: 10px;
  inset-inline: 10px;
  display: grid;
  justify-items: end;
  gap: 6px;
  pointer-events: none;
}

#fros .toast {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 700;
  color: #052e1c;
  background: #6ee7b7;
  border-radius: 8px;
  padding: 6px 10px;
  box-shadow: 0 8px 22px rgb(8 9 31 / 40%);
  animation: fr-in 0.35s var(--nlm-ease-soft) both;
}

#fros .toast.is-held {
  color: var(--pq-gold-ink);
  background: var(--pq-gold);
}

#fros .toast :is(svg, i[data-lucide]) {
  width: 13px;
  height: 13px;
}

#fros .flyer {
  position: fixed;
  z-index: 40;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  font-weight: 700;
  color: var(--nlm-navy-950);
  background: var(--fr-cyan);
  border-radius: 999px;
  padding: 3px 8px;
  pointer-events: none;
}

#fros .flyer.is-rate {
  background: #6ee7b7;
}

#fros .flyer :is(svg, i[data-lucide]) {
  width: 11px;
  height: 11px;
}

/* ---------- 03 inbox grid, counters and drawer ---------- */
#fros .fr-ib {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
}

#fros .fr-n {
  grid-template-columns: repeat(9, minmax(0, 1fr));
}

#fros .fr-n .is-gold b {
  color: #8a6400;
}

#fros .fr-dr {
  margin-top: 16px;
  display: grid;
  gap: 14px;
}

#fros .dr-did {
  display: grid;
  gap: 4px;
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--nlm-fg-1);
}

#fros .rec-g {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 12px;
}

#fros .rec {
  border: 1px solid var(--nlm-line);
  border-radius: 12px;
  padding: 10px;
}

#fros .rec dl {
  display: grid;
  gap: 4px;
  margin: 6px 0 0;
}

#fros .rec.is-before {
  background: var(--nlm-gray-50);
}

#fros .rec.is-before .rf dd {
  color: var(--nlm-fg-2);
}

#fros .rec.is-before .rf.is-empty dd {
  color: var(--fr-crit-ink);
}

#fros .rec-arrow {
  width: 18px;
  height: 18px;
  color: var(--nlm-signal);
}

#fros .dr-flag2 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px 16px;
  border: 1px solid var(--fr-warn);
  background: rgb(245 158 11 / 10%);
  border-radius: 12px;
  padding: 10px 14px;
}

#fros .dr-flag2 p {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-weight: 600;
  color: var(--fr-warn-ink);
}

#fros .dr-flag2 p :is(svg, i[data-lucide]) {
  width: 16px;
  height: 16px;
}

#fros .dr-flag2[hidden],
#fros .dr-msg[hidden],
#fros .cmp[hidden],
#fros .qt[hidden] {
  display: none;
}

#fros .fr-dr .dr-text {
  margin: 0;
  white-space: pre-line;
}

#fros .cmp .panel-t,
#fros .qt-t {
  display: flex;
  align-items: center;
  gap: 8px;
}

#fros .cmp .panel-t :is(svg, i[data-lucide]),
#fros .qt-t :is(svg, i[data-lucide]) {
  width: 15px;
  height: 15px;
}

#fros .cmp-t td,
#fros .cmp-t th {
  white-space: nowrap;
}

#fros .cmp-t td:last-child {
  white-space: normal;
}

#fros .cr-res {
  font-size: 12.5px;
}

#fros .cr-excluded :is(th, td) {
  color: var(--nlm-fg-3);
}

#fros .cr-excluded .cr-res {
  color: var(--fr-crit-ink);
}

#fros .cr-excluded .cr-res::before {
  content: "\2715\00a0";
}

#fros .cr-best {
  background: var(--nlm-success-soft);
}

#fros .cr-best :is(th, .cr-res) {
  font-weight: 700;
  color: var(--nlm-success);
}

#fros .cr-best .cr-res::before {
  content: "\2713\00a0";
}

#fros .cr-awaiting .cr-res {
  color: var(--fr-warn-ink);
}

#fros .qt {
  display: grid;
  gap: 10px;
  border: 1.5px solid var(--pq-gold);
  border-radius: 14px;
  padding: 14px;
  background: rgb(227 178 60 / 6%);
}

#fros .qt-t {
  margin: 0;
  font-family: var(--nlm-font-display);
  font-weight: 700;
  font-size: 15px;
  color: var(--nlm-fg-1);
}

#fros .qt-kv {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

#fros .qt-in {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

#fros .qt input,
#fros .qt textarea {
  font: inherit;
  font-size: 13px;
  color: var(--nlm-fg-1);
  background: #fff;
  border: 1px solid var(--nlm-line-strong);
  border-radius: 6px;
  padding: 5px 8px;
}

#fros .qt input[type="number"] {
  width: 90px;
}

#fros .qt input[type="text"] {
  width: 100px;
}

#fros .qt-tot dd output {
  font-family: var(--nlm-font-display);
  font-weight: 800;
  font-size: 18px;
  color: var(--nlm-fg-1);
}

#fros .qt-never {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 13px;
  color: var(--nlm-fg-2);
}

#fros .qt-never :is(svg, i[data-lucide]) {
  width: 15px;
  height: 15px;
  color: #8a6400;
}

#fros .dr-mail-b {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--nlm-fg-2);
}

/* ---------- 04 know where it stands ---------- */
#fros .vsub {
  margin: -6px 0 14px;
  font-size: 13px;
  color: var(--nlm-fg-3);
}

#fros .mp-g {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  margin-bottom: 16px;
}

#fros .mp {
  position: relative;
  direction: ltr;
  border-radius: 16px;
  background: var(--nlm-navy-950);
  padding: 8px;
  overflow: hidden;
}

#fros .mp .mp-svg {
  display: block;
  width: 100%;
  height: auto;
}

#fros .mp-pin {
  position: absolute;
  inset-inline-start: calc(8px + (100% - 16px) * var(--x) / 100);
  inset-block-start: calc(8px + (100% - 16px) * var(--y) / 100);
  width: 30px;
  height: 30px;
  margin-block-start: -15px;
  margin-inline-start: -15px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 2px solid #fff;
  color: #fff;
  background: var(--pin, var(--nlm-success));
  cursor: pointer;
  box-shadow: 0 0 0 5px rgb(255 255 255 / 0%);
  transition: box-shadow 0.25s var(--nlm-ease), transform 0.25s var(--nlm-ease);
}

#fros .mp-pin :is(svg, i[data-lucide]) {
  width: 14px;
  height: 14px;
}

#fros .mp-pin.is-sel {
  box-shadow: 0 0 0 5px rgb(255 255 255 / 35%);
  transform: scale(1.12);
}

#fros :is(.mp-pin, .mp-card, .mp-t tr).st-late {
  --pin: var(--nlm-danger);
  --rk: var(--nlm-danger);
}

#fros :is(.mp-pin, .mp-card, .mp-t tr).st-check {
  --pin: #d97706;
  --rk: var(--fr-warn);
}

#fros :is(.mp-pin, .mp-card, .mp-t tr).st-ok {
  --pin: #059669;
  --rk: var(--nlm-success);
}

#fros .mp-card {
  border: 1px solid var(--nlm-line);
  border-inline-start: 4px solid var(--rk);
  border-radius: 14px;
  padding: 14px;
  background: #fff;
}

#fros .mp-ref {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 10px;
  font-size: 13px;
  color: var(--nlm-fg-2);
}

#fros .mp-ref b {
  font-family: var(--nlm-font-mono);
  font-size: 14px;
  color: var(--nlm-fg-1);
}

#fros .mp-ref :is(svg, i[data-lucide]) {
  width: 16px;
  height: 16px;
  color: var(--rk);
}

#fros .mp-card .kv {
  grid-template-columns: minmax(0, 1fr);
}

#fros .mp-st {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
}

#fros .mp-st i {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--rk);
}

#fros .mp-t tr.is-sel {
  background: var(--nlm-signal-soft);
}

#fros .mp-t td :is(svg, i[data-lucide]) {
  width: 14px;
  height: 14px;
  vertical-align: -2px;
}

#fros .mp-sim {
  display: flex;
  justify-content: flex-end;
  margin-top: 12px;
}

#fros .mp-toasts {
  position: absolute;
  inset-block-start: 12px;
  inset-inline-end: 12px;
  display: grid;
  gap: 6px;
  justify-items: end;
}

#fros .bg-t .is-bad {
  --rk: var(--nlm-danger);
}

#fros .bg-t .is-ok {
  --rk: var(--nlm-success);
}

#fros .bg-t .is-bad b {
  color: var(--fr-crit-ink);
}

#fros .bg-t .is-ok b {
  color: var(--nlm-success);
}

#fros .bg-t .bd-r :is(svg, i[data-lucide]) {
  width: 15px;
  height: 15px;
  color: var(--rk);
}

#fros .bg-t .bd-bar {
  width: 120px;
}

#fros .bg-d {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 18px;
  margin-top: 14px;
  border: 1px solid var(--nlm-line);
  border-inline-start: 4px solid var(--nlm-danger);
  border-radius: 12px;
  padding: 12px 14px;
}

#fros .bg-d p {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 14px;
  color: var(--nlm-fg-1);
}

#fros .bg-d p :is(svg, i[data-lucide]) {
  flex: none;
  width: 15px;
  height: 15px;
  color: var(--nlm-signal);
}

#fros .ak {
  display: grid;
  gap: 14px;
}

#fros .ak-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

#fros .ak-box {
  min-height: 150px;
  border-radius: 16px;
  background: var(--nlm-navy-950);
  padding: 18px;
}

#fros .ak-turn {
  display: grid;
  gap: 12px;
}

#fros .ak-turn[hidden] {
  display: none;
}

#fros .ak-q,
#fros .ak-a {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
}

#fros .ak-q {
  justify-self: end;
  max-width: 85%;
  color: var(--nlm-navy-950);
  background: #fff;
  border-radius: 12px;
  padding: 9px 12px;
}

#fros .ak-q :is(svg, i[data-lucide]) {
  flex: none;
  width: 16px;
  height: 16px;
  margin-top: 2px;
}

#fros .ak-a {
  color: #fff;
}

#fros .ak-a .node {
  flex: none;
  transform: scale(0.6);
  margin: -10px;
}

#fros .ak-hint {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 13px;
  color: var(--nlm-fg-2);
}

#fros .ak-hint :is(svg, i[data-lucide]) {
  width: 15px;
  height: 15px;
}

/* ---------- 05 division chips ---------- */
#fros .fo-divs {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}

#fros .fo-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

#fros .fo-chips .qchip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #fff;
  background: rgb(255 255 255 / 6%);
  border-color: rgb(255 255 255 / 18%);
}

#fros .fo-chips .qchip[aria-pressed="true"] {
  color: var(--nlm-navy-950);
  background: #fff;
}

#fros .fo-chips .qchip :is(svg, i[data-lucide]) {
  width: 14px;
  height: 14px;
}

#fros .fo-note {
  margin: 0;
  font-size: 13px;
  color: var(--nlm-navy-300);
}

#fros .fr-fo.is-div .fo-s {
  opacity: 0.3;
  transition: opacity 0.3s var(--nlm-ease);
}

#fros .fr-fo.is-div .fo-s.is-owned {
  opacity: 1;
}

/* ---------- 06 capability groups ---------- */
#fros .feat-g {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 28px 0 12px;
  font-family: var(--nlm-font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--nlm-fg-3);
}

#fros .feat-g :is(svg, i[data-lucide]) {
  width: 15px;
  height: 15px;
}

#fros .feat h4 {
  font-family: var(--nlm-font-display);
  font-weight: 700;
  font-size: 16px;
  color: var(--nlm-fg-1);
  margin: 12px 0 6px;
}

#fros .also small {
  font-size: 12px;
  color: var(--nlm-navy-400);
}

/* ---------- responsive (FreightOS objects) ---------- */
@media (width <= 1180px) {
  #fros .fr-n {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (width <= 980px) {
  #fros .fr-ib,
  #fros .mp-g,
  #fros .cv2-d {
    grid-template-columns: minmax(0, 1fr);
  }

  #fros .qt-kv {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (width <= 760px) {
  #fros .frh-in {
    min-height: 430px;
  }

  #fros .frh-desk {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: none;
  }

  #fros :is(.frh-mails, .frh-rec, .frh-doc, .frh-sheet) {
    grid-column: 1;
    grid-row: auto;
  }

  #fros .frh-mails li:nth-child(n + 3),
  #fros .frh-sheet {
    display: none;
  }

  #fros .frh-net {
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    gap: 8px;
  }

  #fros :is(.frh-v, .frh-c) li {
    font-size: 10px;
    padding: 6px;
  }

  #fros .cv2-b {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }

  #fros :is(.cv2-tell, .cv2-ai) {
    grid-column: 1;
    grid-row: 2;
  }

  #fros .rec-g {
    grid-template-columns: minmax(0, 1fr);
  }

  #fros .rec-arrow {
    justify-self: center;
    transform: rotate(90deg);
  }

  /* The map stays a picture on phones; the table rows are the buttons. */
  #fros .mp-pin {
    display: none;
  }

  #fros .net-g {
    gap: 8px;
  }

  #fros .net-line {
    width: 10px;
  }
}

@media (width <= 640px) {
  #fros .fr-n {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  #fros .qt-kv {
    grid-template-columns: minmax(0, 1fr);
  }

  #fros .bg-t .bd-bar {
    width: 50px;
  }
}

@media (prefers-reduced-motion: reduce) {
  #fros .qa *,
  #fros .frh * {
    animation: none !important;
  }
}

#fros .kpis .is-gold b {
  color: var(--pq-gold);
}

/* Grid tracks never grow past their column: long tables scroll in .sc-wrap. */
#fros :is(.fr-dr, .qt, .net, .cv2-rows) {
  grid-template-columns: minmax(0, 1fr);
}

#fros :is(.net-col, .net-mid, .rec) {
  min-width: 0;
}

@media (width <= 760px) {
  #fros :is(.frh-v, .frh-c) li > :is(svg, i[data-lucide]) {
    display: none;
  }

  #fros .frh-rate {
    font-size: 0;
  }

  #fros .net-line {
    display: none;
  }

  #fros .net-core b {
    font-size: 10px;
  }

  #fros .net-g {
    grid-template-columns: minmax(0, 1fr) 60px minmax(0, 1fr);
    gap: 6px;
  }

  #fros .ib-net .net {
    padding: 12px 10px;
  }

  #fros .net-b {
    font-size: 11px;
    padding: 6px 7px;
  }
}
