Skip to content

#1 PDF Application on GitHub that lets you edit PDFs on any device anywhere

23.8 KB
Raw Blame
.portal-proc__subtitle {
  margin: 0.25rem 0 0;
  font-size: 0.8125rem;
  color: var(--c-text-subtle);
}

/* Eyebrow label above a stage panel's heading */
.portal-proc__eyebrow {
  display: block;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--c-text-subtle);
  margin-bottom: 0.25rem;
}
.portal-proc__builder-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 650;
  color: var(--c-text);
}

/* ══ Quote builder — copied from the marketing prototype (tight density) ═════ */
.portal-qb {
  display: flex;
  flex-direction: column;
}
/* No padding or scroll of its own: FlowModal's panel supplies both, and nesting a second scroll
   container inside a scrolling panel gave the builder two scrollbars. */
/* This gap is the builder's only vertical rhythm: the blocks inside carry no bottom margins of their
   own, so spacing cannot double up the way a margin plus a gap did. The top margin is the breathing
   room under the stepped header, which deliberately has no bottom margin so its host sets this. */
.portal-qb__body {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.05rem;
}
.portal-qb__intro {
  display: flex;
  align-items: center;
  gap: 12px;
}
.portal-qb__intro-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--c-primary-tint);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.portal-qb__intro-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--c-text);
}
.portal-qb__intro-sub {
  font-size: 12.5px;
  color: var(--c-text-subtle);
  margin-top: 1px;
}
/* No bottom margin: inside .portal-qb__body the gap spaces these, and inside .portal-qb__row a
   margin only reserved dead space under the inputs. */
.portal-qb__field {
  display: block;
}
.portal-qb__field-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--c-text-muted);
  margin-bottom: 6px;
}
.portal-qb__field input,
.portal-qb__field select {
  width: 100%;
  box-sizing: border-box;
  padding: 9px 11px;
  font-size: 13.5px;
  border-radius: 8px;
  border: 1px solid var(--c-border);
  font-family: inherit;
  outline: none;
  background: var(--c-input-bg);
  color: var(--c-text);
}
.portal-qb__req {
  color: var(--color-red-dark);
}
.portal-qb__field[data-invalid] input,
.portal-qb__field[data-invalid] select {
  border-color: var(--c-danger);
}
.portal-qb__field-error {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  color: var(--color-red-dark);
}
.portal-qb__error {
  margin: 10px 0 0;
  font-size: 12px;
  color: var(--color-red-dark);
}
.portal-qb__row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.portal-qb__row .portal-qb__field {
  flex: 1;
  min-width: 190px;
}
.portal-qb__hint {
  margin: 0;
  font-size: 11.5px;
  color: var(--c-text-subtle);
  line-height: 1.4;
}
.portal-qb__pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.portal-qb__pills button {
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 8px;
  border: 1px solid var(--c-border);
  background: var(--c-surface);
  color: var(--c-text);
  cursor: pointer;
}
.portal-qb__pills button[data-on] {
  background: var(--c-primary);
  border-color: var(--c-primary);
  color: var(--c-text-on-primary);
}
.portal-qb__discount {
  margin: 6px 0 0;
  font-size: 11.5px;
  color: var(--color-green-dark);
}
.portal-qb__opts {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
/* Short-label options that should sit across one row rather than wrapping 2 + 1. Tighter padding
   and label size so each caption fits on a single line at three-across. Deliberately no `nowrap`:
   a longer translation should wrap rather than clip or push the card out of the row. */
.portal-qb__opts--across .portal-qb__opt {
  min-width: 0;
  padding: 11px 12px;
}
.portal-qb__opts--across .portal-qb__opt-sub {
  font-size: 11px;
  line-height: 1.35;
}
.portal-qb__opt {
  text-align: left;
  flex: 1;
  min-width: 150px;
  padding: 9px 11px;
  border-radius: 9px;
  border: 1px solid var(--c-border);
  background: var(--c-surface);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.portal-qb__opt[data-on] {
  border-color: var(--c-primary);
  background: var(--c-primary-tint);
}
.portal-qb__opt-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--c-text);
}
.portal-qb__opt[data-on] .portal-qb__opt-title {
  color: var(--c-accent-text);
}
.portal-qb__opt-sub {
  font-size: 11.5px;
  color: var(--c-text-muted);
  line-height: 1.4;
}
.portal-qb__addons {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.portal-qb__addon {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 13px;
  border-radius: 9px;
  border: 1px solid var(--c-border);
  background: var(--c-surface);
  cursor: pointer;
  text-align: left;
}
.portal-qb__addon[data-on] {
  border-color: var(--c-primary);
  background: var(--c-primary-tint);
}
.portal-qb__addon-box {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  border-radius: 5px;
  border: 1.5px solid var(--c-border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: transparent;
  background: var(--c-surface);
}
.portal-qb__addon[data-on] .portal-qb__addon-box {
  background: var(--c-primary);
  border-color: var(--c-primary);
  color: var(--c-text-on-primary);
}
.portal-qb__addon-title {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--c-text);
}
.portal-qb__addon-sub {
  display: block;
  font-size: 11.5px;
  color: var(--c-text-subtle);
  margin-top: 1px;
}
.portal-qb__eula {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px;
  border-radius: 9px;
  border: 1px solid var(--c-border-subtle);
  background: var(--c-surface-sunken);
  font-size: 12.5px;
  color: var(--c-text);
  line-height: 1.5;
  cursor: pointer;
}
.portal-qb__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  /* Bleeds to the panel's edges by reading the shell's own inset, so changing FlowModal's padding
     can no longer leave this footer stopping short of them. */
  margin: 0.85rem calc(-1 * var(--flowmodal-inset))
    calc(-1 * var(--flowmodal-body-end));
  padding: 0.8rem var(--flowmodal-inset) 0.9rem;
  border-top: 1px solid var(--c-border-subtle);
  flex-wrap: wrap;
}
.portal-qb__running-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--c-text-muted);
}
.portal-qb__running {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
  color: var(--c-text);
}
.portal-qb__running-total {
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  color: var(--c-text-muted);
}
.portal-qb__totals {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.portal-qb__minimum {
  font-size: 11.5px;
  color: var(--c-text-subtle);
}
.portal-qb__minimum-callout {
  margin-top: 1rem;
}
.portal-qb__minimum-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.portal-qb__foot-btns {
  display: flex;
  gap: 10px;
}
/* Step 4 — the itemised quote paper, on a sunken tray that runs to the panel's edges. No scroll of
   its own: the dialog body already scrolls, and nesting a second scroller gave the builder two
   scrollbars. The bleed reads the shell's inset rather than hard-coding a copy of it. */
.portal-qb__papertray {
  background: var(--c-surface-sunken);
  padding: 14px var(--flowmodal-inset);
  margin: 0 calc(-1 * var(--flowmodal-inset));
}
/* Runs straight into the footer: a strip of panel between the two read as a stray divider. */
.portal-qb__body:has(> .portal-qb__papertray:last-child) + .portal-qb__foot {
  margin-top: 0;
}
.portal-qb__paper {
  overflow: hidden;
}
.portal-qb__paper-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--c-border-subtle);
}
.portal-qb__paper-brand {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--c-text);
}
.portal-qb__paper-eyebrow {
  font-size: 11px;
  color: var(--c-text-subtle);
}
.portal-qb__paper-meta {
  text-align: right;
}
/* Reads as a link on the document rather than a button in a toolbar: right-aligned under the quote's
   own metadata, with the row's padding trimmed so it sits tight to the date above it. */
.portal-qb__paper-download {
  margin: 0.2rem -0.5rem -0.25rem 0;
}
.portal-qb__quote-number {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--c-text);
}
.portal-qb__paper-meta div:not(.portal-qb__quote-number) {
  font-size: 11px;
  color: var(--c-text-subtle);
}
.portal-qb__paper-for {
  padding: 18px 24px 0;
}
.portal-qb__paper-company {
  font-size: 14px;
  font-weight: 700;
  color: var(--c-text);
}
.portal-qb__lines {
  list-style: none;
  margin: 0;
  padding: 12px 24px 0;
}
.portal-qb__lines li {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid var(--c-border-subtle);
  font-size: 13px;
  font-weight: 600;
  color: var(--c-text);
}
.portal-qb__line-note {
  margin-right: 8px;
  font-size: 11.5px;
  font-weight: 500;
  color: var(--c-text-subtle);
}
.portal-qb__lines li[data-kind="DISCOUNT"] {
  color: var(--color-green-dark);
}
.portal-qb__lines li[data-kind="INCLUDED"] span:last-child {
  color: var(--c-text-subtle);
  font-weight: 500;
}
.portal-qb__total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 16px 24px 24px;
  padding: 16px 18px;
  border-radius: 10px;
  background: var(--c-primary-tint);
  border: 1px solid var(--c-primary-border);
}
.portal-qb__total-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--c-text);
}
.portal-qb__total-tcv {
  font-size: 11.5px;
  color: var(--c-text-muted);
  margin-top: 2px;
}
.portal-qb__total-num {
  text-align: right;
}
.portal-qb__total-num strong {
  display: block;
  font-size: 23px;
  font-weight: 800;
  color: var(--c-text);
  line-height: 1;
}
.portal-qb__total-num span {
  font-size: 11px;
  color: var(--c-text-subtle);
  margin-top: 3px;
}

.portal-hero {
  padding: 1.1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.billing-sec--procurement .portal-hero {
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
}
.portal-hero__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.portal-hero__ident {
  flex: 1;
  min-width: 0;
}
.portal-hero__eyebrow {
  display: block;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--c-text-subtle);
  margin-bottom: 0.55rem;
}
/* The journey band: one segment per stage, filled through the current one. A progress indicator,
   so it lives inside the block whose progress it reports and deliberately does not pulse. */
.portal-hero__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 0.625rem;
}
.portal-hero__bar span {
  flex: 1;
  height: 6px;
  border-radius: 999px;
  background: var(--c-hover);
  transition: background 0.3s ease;
}
.portal-hero__bar span[data-on] {
  background: var(--c-primary);
}
/* The hero's one-line status: bold stage · what it asks, then Next: … */
.portal-hero__sentence {
  margin: 0;
  font-size: 0.84375rem;
  line-height: 1.5;
  color: var(--c-text-muted);
}
.portal-hero__sentence strong {
  font-weight: 700;
  color: var(--c-text);
}
.portal-hero__sentence-next {
  color: var(--c-text-subtle);
}
.portal-hero__chips {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}
.portal-hero__chip {
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--c-text-subtle);
  background: var(--c-border-subtle);
  border-radius: 999px;
  padding: 0.2rem 0.6rem;
}
/* One action row: the stage's primary CTA leads, quiet icon actions sit beside it. No dividers. */
.portal-hero__cta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}
/* Terminal state: the deal is done, so the row reports rather than asks. */
.portal-hero__live {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.portal-hero__live-tile {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  /* Holds a CheckIcon, which takes its stroke from `color` and its size from its own prop. */
  color: var(--color-green-dark);
  background: var(--c-success-subtle);
}
.portal-hero__live-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.portal-hero__live-title {
  font-size: 0.90625rem;
  font-weight: 700;
  color: var(--c-text);
}
.portal-hero__live-sub {
  font-size: 0.78125rem;
  color: var(--c-text-subtle);
  margin-top: 1px;
}

/* ── Procurement takeover: heading type only, the shell is the shared Modal ── */
.portal-procmodal__title {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--c-text);
}
.portal-procmodal__sub {
  margin: 0.3rem 0 0;
  font-size: 0.875rem;
  color: var(--c-text-subtle);
}
.portal-proc__payment-actions {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}
.portal-proc__license {
  margin-top: 1.25rem;
  padding: 1rem;
  border: 1px solid var(--c-border);
  border-radius: 0.6rem;
  background: var(--c-surface-sunken);
}
.portal-proc__license-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--c-text-muted);
}
.portal-proc__license-key {
  display: block;
  margin-top: 0.4rem;
  padding: 0.55rem 0.7rem;
  border-radius: 0.4rem;
  background: var(--c-surface-raised);
  font-family: var(--font-mono, monospace);
  font-size: 0.85rem;
  word-break: break-all;
  color: var(--c-text);
}
.portal-proc__license-hint {
  margin: 0.6rem 0 0;
  font-size: 0.75rem;
  color: var(--c-text-subtle, var(--c-text-muted));
}

/* ── Side dialogs (Key documents / Schedule a call / Trial) ───────────────── */
/* Chrome and width come from the shared Modal via FlowModal; only type and content live here. */
.portal-sidemodal__title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--c-text);
}
.portal-sidemodal__sub {
  margin: 0.25rem 0 0;
  font-size: 0.8125rem;
  color: var(--c-text-subtle);
  line-height: 1.5;
}
.portal-sidemodal__text {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--c-text-subtle);
  line-height: 1.55;
}
.portal-sidemodal__ghost {
  border: none;
  background: none;
  font-size: 0.8125rem;
  color: var(--c-text-subtle);
  cursor: pointer;
}
.portal-sidemodal__ghost:hover:not(:disabled) {
  color: var(--c-text-muted);
}

/* Calendly scheduler embed (Schedule a call). The widget is always light (Calendly renders inputs on
   white), so give it a white surface — it reads as a clean card even inside the dark-mode modal. */
.portal-calendly {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  background: #ffffff;
}

/* Fills the surface; Calendly injects its iframe in here. */
.portal-calendly__embed {
  height: 100%;
}

/* Centred spinner shown over the white surface until the widget initialises. */
.portal-calendly__loading {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

/* ── Agreement (security) step ────────────────────────────────────────────── */
/* The two document actions read as a pair, close together and set apart from the close beside them. */
.portal-agreement__actions {
  display: flex;
  align-items: center;
  gap: 0.1rem;
}

/* The signature block: the three fields that name the bound party and its signatory, on the same line
   as the act of signing, with the consent directly beneath them and no rule between. Fields shrink
   below the row's usual floor so all three plus the button hold one line at the takeover's width;
   they wrap rather than clip if a translation runs long. */
/* No rule above it: the tray's grey ends where the signature block begins, which is boundary enough,
   and a border there cut the document off from the page it sits on. */
.portal-agreement__signbar {
  flex-direction: column;
  align-items: stretch;
  gap: 0.6rem;
  border-top: none;
}
/* Bottom-aligned: a field is a label above an input, so aligning to the block's centre or its top
   leaves the button off the input row. Sharing the input's bottom edge puts its centre on theirs, both
   being 37px. The gate note is deliberately NOT in this row — hanging it off the button would make the
   column taller than the fields and drag the button back up off the row. */
.portal-agreement__signrow {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
}
/* Level with the inputs rather than the bottom of the row, which field errors would push down: the
   fields' top margin and label height, plus the difference between input and button heights. */
.portal-agreement__signrow > .sui-btn {
  margin-top: calc(0.75rem + 1.5375rem + 0.6406rem);
}
.portal-agreement__signfoot {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.portal-agreement__signrow .portal-agreement__signfields {
  flex: 1;
  gap: 0.6rem;
  min-width: 0;
}
.portal-agreement__signrow .portal-qb__field {
  min-width: 8.5rem;
}
/* Unboxed: a line of small print under the fields, not a panel competing with the document. */
.portal-agreement__accept {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.75rem;
  line-height: 1.45;
  color: var(--c-text-subtle);
  cursor: pointer;
}
.portal-qb__eula[data-invalid] {
  border-color: var(--c-danger);
}
.portal-agreement__accept[data-invalid] {
  color: var(--color-red-dark);
}
.portal-agreement__accept input {
  margin: 0.1rem 0 0;
  flex: 0 0 auto;
}

/* The agreement is presented as paper, not as app copy in a box: a sunken tray running to the panel's
   edges, with the terms on white stock in a serif face. Signing is the most consequential thing a
   buyer does here, so the document should read like the document it is. */
/* The document takes every pixel the dialog can spare: it is what the buyer is here to read, and a
   fixed height left it a small white box floating in a tall panel. The chain has to carry the fill —
   each link needs min-height:0 or a flex child refuses to shrink below its content. */
.portal-agreement {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex: 1 1 auto;
  min-height: 0;
}
/* The tray is the scroll container, so the paper inside it behaves like a page being scrolled past a
   window: flush to the footer while there is more to read, and revealing the tray's bottom padding
   only at the end. Scrolling the paper instead left a permanent grey band under it, which read as a
   box with contents rather than a document. */
.portal-agreement__tray {
  background: var(--c-surface-sunken);
  padding: 14px var(--flowmodal-inset);
  margin: 0 calc(-1 * var(--flowmodal-inset));
}
.portal-agreement__doc {
  /* A floor so a short document still reads as a page; no ceiling, so a long one runs on. */
  min-height: 16rem;
  padding: 1.35rem 1.6rem;
  /* No serif token exists in the theme — the serif is specific to rendering legal terms as paper. */
  font-family: Georgia, "Times New Roman", "Liberation Serif", serif;
  font-size: 0.84rem;
  line-height: 1.62;
  color: var(--c-text-muted);
}
/* Masthead above the document's own heading: confidentiality on the left, the quote reference and
   signed version on the right, over the rule that opens the terms. */
.portal-agreement__letterhead {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-bottom: 0.6rem;
  margin-bottom: 1rem;
  border-bottom: 2px solid var(--c-text);
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  letter-spacing: 0.04em;
  color: var(--c-text-subtle);
}
.portal-agreement__confidential {
  font-weight: 700;
  text-transform: uppercase;
}
/* The document's own title, centred like an executed agreement's. */
.portal-agreement__md > h1:first-child,
.portal-agreement__md > h2:first-child {
  text-align: center;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.portal-agreement__doc h4 {
  margin: 1rem 0 0.35rem;
  font-size: 0.8125rem;
  font-weight: 650;
  color: var(--c-text);
}
.portal-agreement__doc h4:first-child {
  margin-top: 0;
}
.portal-agreement__doc p {
  margin: 0 0 0.5rem;
}
.portal-agreement__doc strong {
  color: var(--c-text);
}
.portal-agreement__md h1 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--c-text);
  margin: 1.1rem 0 0.5rem;
}
.portal-agreement__md h2 {
  font-size: 0.875rem;
  font-weight: 650;
  color: var(--c-text);
  margin: 1rem 0 0.4rem;
}
.portal-agreement__md h3 {
  font-size: 0.8125rem;
  font-weight: 650;
  color: var(--c-text);
  margin: 0.9rem 0 0.3rem;
}
.portal-agreement__md h1:first-child,
.portal-agreement__md h2:first-child {
  margin-top: 0;
}
.portal-agreement__md p {
  margin: 0 0 0.55rem;
}
.portal-agreement__md strong {
  color: var(--c-text);
}
.portal-agreement__md ul {
  margin: 0 0 0.6rem;
  padding-left: 1.1rem;
}
.portal-agreement__md li {
  margin-bottom: 0.2rem;
}
.portal-agreement__md table {
  border-collapse: collapse;
  width: 100%;
  margin: 0.4rem 0 0.8rem;
  font-size: 0.78rem;
}
.portal-agreement__md th,
.portal-agreement__md td {
  border: 1px solid var(--c-border);
  padding: 0.35rem 0.5rem;
  text-align: left;
  vertical-align: top;
}
.portal-agreement__md th {
  background: var(--c-bg);
  font-weight: 650;
  color: var(--c-text);
}
.portal-agreement__signfields {
  margin-top: 0.75rem;
}
.portal-proc__error {
  color: var(--color-red-dark);
  font-size: 0.8125rem;
  margin: 0.5rem 0 0;
}
.portal-legal__link {
  border: none;
  background: none;
  padding: 0;
  font: inherit;
  color: var(--c-text);
  text-decoration: underline;
  cursor: pointer;
}
.portal-legal__link:hover {
  color: var(--c-text);
}
.portal-docmodal {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}
.portal-docmodal__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--c-border);
}
.portal-docmodal__row:last-child {
  border-bottom: none;
}
.portal-docmodal__text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}
.portal-docmodal__name {
  font-weight: 650;
  font-size: 0.875rem;
  color: var(--c-text);
}
.portal-docmodal__sub {
  font-size: 0.75rem;
  color: var(--c-text-muted);
}
.portal-docmodal__later {
  flex-shrink: 0;
  font-size: 0.75rem;
  color: var(--c-text-subtle);
  white-space: nowrap;
}
/* Paperwork the deal has yet to produce: listed so buyers know it's coming, set back from what's ready. */
.portal-docmodal__group {
  margin: 1.25rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid var(--c-border);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--c-text-subtle);
}
.portal-docmodal--later .portal-docmodal__row {
  padding: 0.5rem 0;
  border-bottom: none;
}
.portal-docmodal--later .portal-docmodal__name {
  font-weight: 500;
  color: var(--c-text-muted);
}

/* Title row: the step badge rides beside the heading, not on a line of its own. */
.portal-sidemodal__title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

/* Quiet hint sat opposite the primary action in a dialog footer. */
.portal-sidemodal__foot-hint {
  font-size: 0.75rem;
  color: var(--c-text-subtle);
}

.portal-setup {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.portal-setup__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--c-border-subtle);
}

.portal-setup__foot .portal-sidemodal__foot-hint {
  margin-right: auto;
}