/* The Arive copy. Every size is Arive's own as measured off its 2026 screens (.tmp/arive-check/ref and .tmp/film/refs/arive,
   tools/arive/README.md lists them): the April 2026 pipeline (support.arive.com), the March 2026 release video's loan
   screen, the February 2026 webinar's Loan Center, the April 2026 Conditions (JMAC Lending's help centre) and DocMagic's
   lossless May 2026 screenshots (Documents, the stage bar, the Clear To Close step). The page is laid out at 1920 wide and
   scaled to the window. Nothing here moves on its own clock: the film's screenplays move it frame by frame. */
/* Arive's own font files (Inter UI, SIL Open Font License), as myarive.com serves them. */
@font-face { font-family: "Inter-UI"; font-weight: 300; font-display: block; src: url(fonts/InterUI-Light.woff2) format("woff2"); }
@font-face { font-family: "Inter-UI"; font-weight: 400; font-display: block; src: url(fonts/InterUI-Regular.woff2) format("woff2"); }
@font-face { font-family: "Inter-UI"; font-weight: 500; font-display: block; src: url(fonts/InterUI-Medium.woff2) format("woff2"); }
@font-face { font-family: "Inter-UI"; font-weight: 600; font-display: block; src: url(fonts/InterUI-SemiBold.woff2) format("woff2"); }
@font-face { font-family: "Inter-UI"; font-weight: 700; font-display: block; src: url(fonts/InterUI-Bold.woff2) format("woff2"); }

:root {
  --navy: #21273f; --navy-on: #32384e; --blue: #005cda; --blue-ring: #005cda; --new: #143c7d;
  --ink: #172b4d; --ink-2: #42526e; --ink-3: #637390; --ink-4: #8092b1;
  --line: #e2e8f0; --ground: #f2f5f8; --white: #fff; --primary: #0c66e4;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; overflow: hidden; background: var(--ground); }
body { font-family: "Inter-UI", sans-serif; font-size: 15px; line-height: 1.5; color: var(--ink); -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility; font-feature-settings: "cv11" 0; }
a { color: inherit; text-decoration: none; cursor: pointer; }
button { font: inherit; color: inherit; border: 0; background: none; padding: 0; cursor: pointer; }
.ic { width: 1em; height: 1em; fill: currentColor; flex: none; }

html:not(.ready) #app { visibility: hidden; }
#app { position: absolute; left: 0; top: 0; width: 1920px; transform-origin: 0 0; display: flex; flex-direction: column; }

/* The header */
.hdr { display: flex; align-items: stretch; height: 63px; background: var(--navy); color: #fff; flex: none; }
.hdr-brand { display: flex; align-items: center; width: 198px; padding-left: 28px; }
.hdr-brand img { width: 147px; height: auto; display: block; }
.hdr-nav { display: flex; align-items: stretch; }
.nav-link { display: flex; align-items: center; padding: 0 19px; font-size: 17px; font-weight: 500; color: #fff; border-top: 3px solid transparent;
  border-bottom: 3px solid transparent; white-space: nowrap; }
.nav-link.active { background: var(--navy-on); border-top-color: var(--blue); }
.nav-link.has-sub { padding-right: 16px; }
.nav-link .caret { width: 14px; height: 14px; margin-left: 3px; }
.task-count { display: inline-grid; place-items: center; min-width: 16px; height: 16px; margin-left: 9px; padding: 0 4px; border-radius: 8px;
  background: #d83738; color: #fff; font-size: 12px; font-weight: 700; line-height: 1; }
.task-count.zero { background: #566883; }
.hdr-right { margin-left: auto; display: flex; align-items: center; padding-right: 16px; }
.hdr-search { display: flex; align-items: center; justify-content: space-between; width: 140px; height: 30px; padding: 0 8px 0 19px; border-radius: 15px;
  background: #2e344a; box-shadow: inset 0 0 0 1px #44495c; color: #979aa6; font-size: 17px; }
.hdr-search .ic { width: 18px; height: 18px; color: #979aa6; }
.hdr-icon { position: relative; display: grid; place-items: center; width: 22px; color: #a0a3b0; font-size: 23px; }
.hdr-icon:nth-child(2) { margin-left: 19.5px; }
.hdr-icon:nth-child(3) { margin-left: 26.5px; }
.hdr-icon:nth-child(4) { margin-left: 25px; }
.hdr-icon:nth-child(5) { margin-left: 18.5px; }
.hdr-badge { position: absolute; left: 15px; top: -6px; display: grid; place-items: center; width: 10px; height: 10px; border-radius: 2px;
  background: #d83738; color: #fff; font-size: 9px; font-weight: 700; line-height: 1; }
.hdr-new { display: grid; place-items: center; width: 30px; height: 30px; margin: 0 19px 0 22.5px; border-radius: 50%; background: var(--new);
  box-shadow: inset 0 0 0 1px var(--blue-ring); color: #fff; font-size: 16px; }
.hdr-avatar { display: grid; place-items: center; width: 31px; height: 31px; border-radius: 50%; background: #8aa7de; box-shadow: 0 0 0 1px #fff;
  color: #fff; font-size: 14px; font-weight: 600; letter-spacing: .2px; overflow: hidden; }

#screen { flex: 1; min-height: 0; position: relative; display: flex; flex-direction: column; }

/* ===== The loan screen ===== */
/* The loan bar, laid out at the reference's own x-positions (metrics at 416, right cluster at the far edge). */
.loanbar { position: relative; z-index: 2; display: flex; align-items: center; height: 74px; padding-bottom: 6px; background: #fff;
  box-shadow: 0 1px 18px rgba(23, 43, 77, .07); flex: none; }
.lb-back { display: grid; place-items: center; width: 39px; height: 39px; margin-left: 11px; border: 1px solid #85b2f1; border-radius: 4px; color: var(--primary); font-size: 20px; }
.lb-back .ic { transform: rotate(0deg); }
.lb-id { margin-left: 18px; }
/* "Brokered" in a pale box with a pale blue edge over the loan number, which is in regular weight (May 2026) */
.lb-tag { display: inline-block; height: 15px; padding: 0 4px; border: 1px solid #e2edfc; border-radius: 3px; background: #fafcfe;
  font-size: 10px; line-height: 13px; color: #0052cc; }
.lb-number { display: flex; align-items: center; margin-top: 2px; font-size: 17px; line-height: 22px; font-weight: 400; color: var(--ink); }
.lb-id-caret { width: 11px; height: 11px; margin: 0 2px 0 14px; color: #bbc7db; }
/* The stage: "Processing > (diamond) Disclosed (pencil)" over a bar as wide as that line. The bar has one chevron per
   stage of the pipeline, sharing its width, green up to and including the loan's stage, then the arrow that moves the
   loan on (DocMagic's May 2026 screenshots: Disclosed, Approved w/ Conditions, Clear To Close). */
.lb-status { position: relative; display: flex; flex-direction: column; align-self: stretch; gap: 7px; width: max-content; margin-left: 2px;
  padding-top: 8px; flex: none; }
.lb-status .pg { margin-top: -2px; }
.lb-crumbs { display: block; font-size: 16px; line-height: 21px; color: var(--ink); white-space: nowrap; }
.lb-crumbs .ic { vertical-align: -1px; }
.lb-crumb-sep { width: 12px; height: 12px; margin: 0 8px; color: #8193b2; }
.lb-diamond .ic { width: 11px; height: 11px; margin-right: 7px; }
.lb-stage { color: var(--ink); }
.lb-edit { display: inline-block; margin-left: 10px; color: #42526e; font-size: 15px; }
.lb-edit .ic { vertical-align: -2px; }
.pg { display: flex; align-items: center; }
.pg-cell { flex: 1 1 0; min-width: 0; height: 21px; background: #eff3f8;
  clip-path: polygon(0 0, calc(100% - 10.5px) 0, 100% 50%, calc(100% - 10.5px) 100%, 0 100%, 10.5px 50%); }
.pg-cell + .pg-cell { margin-left: -6px; }
.pg-cell:first-child { clip-path: polygon(0 0, calc(100% - 10.5px) 0, 100% 50%, calc(100% - 10.5px) 100%, 0 100%); }
.pg-cell:last-of-type { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 10.5px 50%); }
.pg-cell:first-child:last-of-type { clip-path: none; }
.pg-cell.done { background: #008044; }
.pg-next { position: relative; display: grid; place-items: center; width: 26px; height: 21px; margin-left: 5px; flex: none; border-radius: 3px;
  background: #eff3f8; color: #42526e; font-size: 13px; }
.lb-metrics { display: flex; align-items: center; margin-left: 20px; flex: none; }
/* each figure as wide as it reads, a hairline between them (February and May 2026) */
.lb-metric { position: relative; padding: 0 21px; }
.lb-metric:first-child { padding-left: 0; }
.lb-metric + .lb-metric::before { content: ""; position: absolute; left: 0; top: 50%; width: 1px; height: 34px; margin-top: -17px; background: var(--line); }
.lb-label { font-size: 14px; color: var(--ink); line-height: 17px; margin-bottom: 5px; }
.lb-value { display: flex; align-items: center; font-size: 16px; line-height: 21px; font-weight: 500; color: var(--ink); white-space: nowrap; }
.lb-value .lb-lock { width: 13px; height: 13px; margin-right: 5px; color: #15774a; }
.lb-value .lb-unlock { width: 14px; height: 14px; margin-right: 5px; color: #f27a00; }
.lb-caret { width: 12px; height: 12px; margin-left: 7px; color: #8092b1; }
.lb-dti .lb-value { color: #c8731c; }
.lb-right { position: absolute; right: 10px; top: 0; height: calc(100% - 6px); display: flex; align-items: center; gap: 13px; }
.lb-contacts { display: flex; align-items: center; margin-right: 6px; }
.lb-ava { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; font-size: 12px; font-weight: 600; color: #fff; box-shadow: 0 0 0 2px #fff; overflow: hidden; }
.lb-ava.a1 { background: #cdd7ea; color: #42526e; }
.lb-ava.a2 { background: #5e7fd6; margin-left: -8px; }
.lb-ava-caret { width: 12px; height: 12px; margin-left: 6px; color: #8092b1; }
.lb-btn { display: grid; place-items: center; width: 39px; height: 39px; border: 1px solid #85b2f1; border-radius: 4px; color: var(--primary); font-size: 21px; }
.lb-refresh .ic { transform: rotate(180deg); }
.lb-dot { font-style: normal; margin: 0 8px; }
.lb-slash { font-style: normal; margin: 0 7px; }

/* The loan body: the left panel and the section content */
.loan-body { display: flex; align-items: stretch; flex: 1; min-height: 0; }
.loan-side { width: 234px; flex: none; background: transparent; overflow-x: hidden; overflow-y: auto; }
.side-card { padding: 26px 18px 4px 26px; }
.sc-purpose { font-size: 17px; line-height: 22px; color: var(--ink); }
.sc-name { display: flex; align-items: center; margin-top: 3px; font-size: 20px; line-height: 26px; font-weight: 700; color: var(--ink); }
.sc-plus { display: inline-grid; place-items: center; min-width: 20px; height: 18px; margin-left: 8px; padding: 0 5px; border-radius: 4px; background: #eef2f7; color: var(--ink-3); font-size: 12px; font-weight: 600; }
.sc-invite { display: block; margin-top: 7px; color: var(--primary); font-size: 17px; line-height: 22px; font-weight: 400; }
.sc-actions { display: flex; gap: 10px; margin: 13px 0 11px; }
.sc-act { display: grid; place-items: center; width: 32px; height: 32px; border: 1px solid #85b2f1; border-radius: 4px; background: #fff; color: var(--primary); font-size: 17px; }
.sc-addr { width: 183px; font-size: 13px; color: var(--ink-2); line-height: 18px; padding: 0 0 8px; margin-bottom: 4px; border-bottom: 1px dashed #d3dcea; white-space: nowrap; }
.sc-occ { font-size: 13px; color: var(--ink-2); line-height: 20px; }
.side-menu { padding: 25px 0 20px; }
.sm-group { padding: 0; }
.sm-group + .sm-group { margin-top: 15px; padding-top: 11px; border-top: 1px solid #dae1ec; }
.sm-item { position: relative; display: flex; align-items: center; height: 40px; margin: 1px 0; padding: 0 10px 0 25px; gap: 12px;
  border-radius: 0 20px 20px 0; color: var(--ink); font-size: 17px; }
.sm-item.active { background: #e5edf6; color: var(--primary); font-weight: 600; }
.sm-item.active::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--primary); }
.sm-status { position: relative; z-index: 1; display: grid; place-items: center; width: 21px; height: 21px; flex: none; border-radius: 50%;
  background: #fff; border: 1px solid #c9d3e2; font-size: 11px; }
.sm-status .ic { width: 11px; height: 11px; }
.sm-status.done { border-color: #90b9f2; color: var(--primary); }
.sm-status.todo { border-color: #dfabac; color: #ae0906; }
.sm-status.todo .ic { width: 13px; height: 13px; }
/* the line joining a group's status circles */
.sm-item + .sm-item > .sm-status::before { content: ""; position: absolute; left: 50%; bottom: 100%; width: 2px; height: 22px; margin-left: -1px; background: #ccd6e6; }
.sm-icon { display: grid; place-items: center; width: 21px; color: #8092b1; font-size: 22px; flex: none; }
.sm-item.active .sm-icon { color: var(--primary); }
.sm-label { white-space: nowrap; }
.sm-tag { display: inline-flex; align-items: center; gap: 3px; margin-left: 9px; padding: 0 5px; height: 19px; border: 1px solid #d0d8e4; border-radius: 3px; font-size: 12px; font-weight: 500; color: var(--ink-2); }
.sm-tag::before { content: ""; width: 8px; height: 8px; border-radius: 50%; border: 1px solid #a9b4c6; }
.sm-badge { margin-left: 9px; padding: 0 5px; min-width: 19px; height: 19px; line-height: 17px; text-align: center; border: 1px solid #d0d8e4; border-radius: 3px;
  background: #fff; font-size: 12px; font-weight: 600; color: var(--ink-2); }

.loan-content { position: relative; flex: 1; min-width: 0; overflow-x: hidden; overflow-y: auto; background: var(--ground); padding: 26px 24px 0 26px; }

/* ===== Loan Center ===== */
.lc { display: flex; gap: 20px; align-items: flex-start; }
.lc-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.lc-side { width: 548px; flex: none; display: flex; flex-direction: column; gap: 20px; }
.card { background: #fff; border-radius: 8px; box-shadow: 0 0 16px rgba(23, 43, 77, .055); }

.lc-tabs { display: flex; align-items: center; height: 52px; padding: 0 20px; border-bottom: 1px solid #edf1f5; }
.lc-tab { display: flex; align-items: center; gap: 8px; height: 52px; margin-right: 28px; color: var(--ink-3); font-size: 16px; border-bottom: 2px solid transparent; }
.lc-tab .ic { font-size: 19px; }
.lc-tab.active { color: #0c66e4; border-bottom-color: #0c66e4; font-weight: 500; }
.lc-tab b { font-weight: 600; }
.lc-newtask { margin-left: auto; display: flex; align-items: center; gap: 6px; padding: 8px 14px; border: 1px dashed #a3c5f2; border-radius: 7px; color: #0c66e4; font-size: 15px; font-weight: 500; }
.lc-newtask .ic { font-size: 14px; }

.lc-task-table { width: 100%; border-collapse: collapse; }
.lc-task-table th { text-align: left; padding: 15px 20px 11px; color: var(--ink-3); font-weight: 400; font-size: 15px; white-space: nowrap; }
.lc-task-table th:last-child, .lc-task-table td:last-child { text-align: right; }
.th-caret { width: 11px; height: 11px; margin-left: 3px; color: #8092b1; }
.lc-task-table td { padding: 14px 20px; border-top: 1px solid #eef1f5; font-size: 15px; color: var(--ink); vertical-align: middle; }
.tk-todo { display: flex; align-items: center; gap: 11px; }
.tk-radio { color: #c3cede; font-size: 19px; display: grid; place-items: center; }
tr.done .tk-radio { color: #0e9f5b; }
.tk-open { font-size: 15px; color: #0c66e4; }
.tk-check { white-space: nowrap; color: var(--ink-3); }
.tk-box { display: inline-grid; place-items: center; font-size: 16px; color: #b6c2d4; margin-right: 7px; vertical-align: -3px; }
.tk-due { color: var(--ink-3); white-space: nowrap; }
.tk-ava { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #5e7fd6; color: #fff; font-size: 12px; font-weight: 600; overflow: hidden; }
.tk-notes { white-space: nowrap; }
.tk-ico { display: inline-grid; place-items: center; width: 32px; height: 32px; border: 1px solid #e0e6ee; border-radius: 6px; color: #8092b1; font-size: 17px; margin-left: 6px; vertical-align: middle; }

.lc-logtabs { display: flex; align-items: center; height: 50px; padding: 0 20px; border-bottom: 1px solid #edf1f5; }
.lc-logtab { display: flex; align-items: center; gap: 7px; height: 50px; margin-right: 24px; color: var(--ink-3); font-size: 15px; border-bottom: 2px solid transparent; }
.lc-logtab .ic { font-size: 17px; }
.lc-logtab.active { color: var(--ink); border-bottom-color: #0c66e4; font-weight: 500; }
.lc-logtab.active .ic { color: #0c66e4; }
.lc-viewlogs { margin-left: auto; color: #0c66e4; font-size: 15px; font-weight: 500; }
.lc-feed { padding: 2px 20px 10px; }
.lc-entry { display: flex; align-items: flex-start; gap: 14px; padding: 15px 0; border-bottom: 1px solid #f0f3f6; }
.lc-entry:last-child { border-bottom: 0; }
.lc-entry-ic { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #eef2f7; color: #8092b1; font-size: 16px; flex: none; }
.lc-ic-done { background: #e6f6ee; } .lc-ic-done .ic { color: #0e9f5b; }
.lc-ic-status .ic, .lc-ic-aus .ic { color: #0c66e4; }
.lc-entry-body { flex: 1; padding-top: 4px; }
.lc-entry-text { font-size: 15px; color: var(--ink); }
.lc-entry-text b { font-weight: 600; }
.h-stage { display: inline-flex; align-items: center; color: var(--ink); font-weight: 500; }
.h-stage::before { content: ""; width: 9px; height: 9px; margin: 0 5px 0 2px; background: #0c66e4; transform: rotate(45deg); border-radius: 1px; }
.lc-entry-sub { font-size: 14px; color: var(--ink-3); margin-top: 3px; }
.lc-entry-time { color: var(--ink-3); font-size: 14px; white-space: nowrap; padding-top: 6px; }
/* A value just saved, as the film shows a field changing while nobody is at the screen: a pale wash behind it that
   comes up at once and fades over about a second (the screenplay sets --saved from 1 to 0 on a spring). */
.is-saved { background: rgba(255, 196, 0, calc(var(--saved, 0) * 0.24)); box-shadow: 0 0 0 4px rgba(255, 196, 0, calc(var(--saved, 0) * 0.24)); border-radius: 3px; }

/* "Disclose by" with Arive's orange warning triangle (February 2026) */
.tr-disclose { display: flex; align-items: center; gap: 7px; font-size: 15px; font-weight: 400; color: var(--ink-2); }
.tr-disclose .ic { color: #e2741c; font-size: 16px; }
.lc-card-head { display: flex; align-items: center; justify-content: space-between; padding: 17px 20px; font-size: 17px; font-weight: 600; color: var(--ink); border-bottom: 1px solid #edf1f5; }
.lc-lender { padding: 18px 20px; }
.lc-lender.empty { display: flex; align-items: center; justify-content: space-between; }
.lc-lender-none { color: var(--ink-3); font-size: 16px; }
.lc-lender-top { display: flex; align-items: center; justify-content: space-between; }
.lc-lender-name { font-size: 19px; font-weight: 700; color: var(--ink); }
.lc-lender-meta { margin-top: 10px; font-size: 15px; color: var(--ink-3); line-height: 1.6; }
.lc-lender-meta b { color: var(--ink); font-weight: 600; }
.lc-register { display: flex; align-items: center; gap: 6px; padding: 8px 14px; border: 1px solid #c9d6e8; border-radius: 7px; color: #0c66e4; font-size: 15px; font-weight: 500; }
.lc-register .ic { font-size: 13px; }

.tr-cols { display: grid; grid-template-columns: 1fr 90px 130px; padding: 10px 20px; color: var(--ink-3); font-size: 14px; }
.tr-row { display: grid; grid-template-columns: 1fr 90px 130px; align-items: center; padding: 11px 20px; border-top: 1px solid #f0f3f6; font-size: 15px; }
.tr-name { color: var(--ink); }
.tr-action { display: flex; align-items: center; gap: 5px; color: #0c66e4; font-size: 14px; }
.tr-action .ic { font-size: 15px; }
.tr-status { color: var(--ink-3); }
.tr-status.ok { color: #0e9f5b; font-weight: 500; }

.lc-contacts .fc-row { display: grid; grid-template-columns: auto 1fr 1.25fr; align-items: center; gap: 13px; padding: 12px 20px; border-top: 1px solid #f0f3f6; }
.fc-ava { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #dbe3ef; color: #42526e; font-size: 13px; font-weight: 600; overflow: hidden; }
.hdr-avatar img, .lb-ava img, .tk-ava img, .fc-ava img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fc-name { display: flex; align-items: center; gap: 7px; font-size: 15px; font-weight: 500; color: var(--ink); }
.fc-badge { padding: 1px 6px; border-radius: 4px; background: #e4eefb; color: #0c66e4; font-size: 12px; font-weight: 500; }
.fc-role { font-size: 13px; color: var(--ink-3); margin-top: 1px; }
.fc-contact { font-size: 14px; color: var(--ink-3); }
.lc-contacts .fc-link { display: flex; align-items: center; gap: 6px; color: #0c66e4; font-size: 15px; font-weight: 500; }

/* ===== Loans pipeline ===== */
.pipeline { display: flex; flex-direction: column; height: 100%; }
.pl-filters { display: flex; align-items: center; gap: 14px; height: 53px; padding: 0 18px; background: #fff; border-bottom: 1px solid #e8edf2; flex: none; }
.pl-view { display: flex; align-items: center; gap: 10px; color: #0c66e4; }
.pl-view > div { text-align: left; }
.pl-view b { display: flex; align-items: center; font-size: 16px; color: var(--ink); font-weight: 600; }
.pl-view small { font-size: 12px; color: var(--ink-3); }
.pl-view .list-checks-regular { font-size: 20px; }
.pl-vcaret { width: 12px; height: 12px; margin-left: 4px; color: #8092b1; }
.pl-pills { display: flex; align-items: center; height: 36px; border: 1px solid #c7d0de; border-radius: 18px; }
.pl-pill { display: flex; align-items: center; height: 34px; padding: 0 17px; font-size: 17px; color: var(--ink); }
.pl-pill.on { border: 1.5px solid #0c66e4; border-radius: 18px; background: #f2f7fd; color: #0c66e4; }
.pl-select { display: flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px; border: 1px solid #c7d0de; border-radius: 18px; font-size: 17px; color: var(--ink); white-space: nowrap; }
.pl-select .ic { width: 12px; height: 12px; color: #8092b1; }
.pl-round { display: flex; align-items: center; gap: 2px; height: 36px; padding: 0 10px; border: 1px solid #c7d0de; border-radius: 18px; color: var(--ink-2); font-size: 18px; }
.pl-round.funnel { width: 36px; justify-content: center; padding: 0; }
.pl-round .pl-vcaret { margin-left: 0; }
.pl-filters-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.pl-newloan { display: flex; }
.pl-newloan-btn { display: flex; align-items: center; gap: 7px; height: 34px; padding: 0 16px; border-radius: 4px 0 0 4px; background: #005cda; color: #fff; font-size: 17px; font-weight: 500; }
.pl-newloan-btn .ic { font-size: 14px; }
.pl-newloan-caret { display: grid; place-items: center; width: 34px; height: 34px; margin-left: 2px; border-radius: 0 4px 4px 0; background: #0049c0; color: #fff; font-size: 14px; }
.pl-refresh { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid #c7d0de; border-radius: 5px; color: #0c66e4; font-size: 19px; }

.pl-board { flex: 1; overflow: auto; background: #f0f3f7; padding: 0; }
.pl-table { width: 100%; border-collapse: collapse; }
/* the white is the cells' own, so the board shows under the list's last row and nowhere else (a row coming in, film) */
.pl-table th, .pl-table td { background: #fff; }
.pl-table th { text-align: left; padding: 17px 20px 13px; font-size: 16px; font-weight: 400; color: #637390; border-bottom: 1px solid #e4e9f1; white-space: nowrap; }
.pl-table th.pl-gear { text-align: right; color: #42526e; }
.pl-table td { padding: 15px 20px; border-bottom: 1px solid #eef1f5; vertical-align: top; }
.pl-name { display: flex; align-items: center; color: #0c66e4; font-size: 17px; font-weight: 500; }
.pl-plus { display: inline-grid; place-items: center; min-width: 20px; height: 18px; margin-left: 8px; padding: 0 5px; border-radius: 4px; background: #eef2f7; color: var(--ink-3); font-size: 12px; font-weight: 600; }
.pl-sub { margin-top: 5px; font-size: 15px; color: var(--ink-3); }
.pl-stage { display: flex; align-items: center; font-size: 16px; color: var(--ink); }
.pl-diamond { display: inline-grid; place-items: center; font-size: 11px; margin-right: 8px; }
.pl-trackers { display: flex; gap: 16px; margin-top: 9px; }
.pl-chip { display: flex; align-items: center; gap: 5px; font-size: 14px; color: var(--ink-3); }
.pl-chip .ic { font-size: 15px; }
.pl-chip.done { color: #0e9f5b; } .pl-chip.todo { color: #0e9f5b; } .pl-chip.none { color: #b6c2d4; }
.pl-tasks { }
.pl-tasks-box { display: grid; place-items: center; width: 46px; height: 32px; border: 1px solid #e0e6ee; border-radius: 6px; font-size: 17px; color: var(--ink); }
.pl-tasks-sub { display: flex; gap: 10px; margin-top: 8px; }
.pl-tasks-sub span { padding: 3px 9px; border: 1px solid #e0e6ee; border-radius: 5px; font-size: 14px; color: var(--ink-3); }
.pl-prod { font-size: 16px; color: var(--ink); } .pl-lender { margin-top: 5px; font-size: 15px; color: var(--ink-3); }
.pl-amt { font-size: 17px; color: var(--ink); } .pl-amt-sub { margin-top: 5px; font-size: 15px; color: var(--ink-3); }
.pl-lock-rate { display: flex; align-items: center; font-size: 17px; color: var(--ink); }
.pl-lock-rate.locked { color: var(--ink); } .pl-lockic { font-size: 15px; margin-left: 6px; color: #15774a; }
.pl-lockic.open { color: #fa6f22; }
.pl-lock-sub { margin-top: 5px; font-size: 15px; color: var(--ink-3); }
.pl-end { text-align: right; }
.pl-row-ics { display: flex; align-items: center; justify-content: flex-end; gap: 10px; color: #8092b1; font-size: 18px; }
.pl-avas { display: flex; } .pl-ava { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: #cdd7ea; box-shadow: 0 0 0 1.5px #fff; font-size: 10px; font-weight: 600; color: #42526e; } .pl-ava + .pl-ava { margin-left: -7px; background: #9fb0c8; }
.pl-right-sub { margin-top: 8px; font-size: 14px; color: var(--ink-3); }

/* ===== Conditions (April 2026, JMAC Lending's help centre, measured at its 1x scale and drawn x 1.3125, the copy's
   pixels to Arive's: DocMagic's 150% screenshot puts the same 14 px text at 18.4 here) ===== */
.cd { position: relative; }
/* the title and its tabs stand on the page ground; the tabs' rule runs the content's full width */
.cd-head { position: relative; height: 101px; margin: 0 -24px 0 -26px; border-bottom: 1px solid #e2e8f0; }
.cd-titles { position: absolute; left: 39px; top: 12.5px; }
.cd-titles h1 { margin: 0; font-size: 28.5px; line-height: 34px; font-weight: 700; color: var(--ink); }
.cd-tabs { display: flex; gap: 40px; margin-top: 21px; }
.cd-tab { position: relative; font-size: 18.4px; line-height: 24px; padding-bottom: 9.5px; color: var(--primary); white-space: nowrap; }
.cd-tab.active { color: var(--ink); }
.cd-tab.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--primary); }
.cd-add { position: absolute; right: 50px; top: 26px; display: flex; align-items: center; gap: 8px; height: 38px; padding: 0 17px 0 15px; border-radius: 3px;
  background: var(--primary); color: #fff; font-size: 18.4px; font-weight: 500; }
.cd-add .ic { font-size: 16px; }
.cd-list { margin-top: 26px; }
.cd-group { position: relative; margin-bottom: 26px; background: #fff; border-radius: 6px; box-shadow: 0 0 16px rgba(23, 43, 77, .055); overflow: hidden; }
.cd-group-head { position: relative; height: 52.5px; border-bottom: 1px solid #e2e8f0; background: #fff; }
.cd-group-head > * { position: absolute; top: 50%; transform: translateY(-50%); }
.cd-group-head .cd-check { left: 26px; }
.cd-gname { left: 59px; display: flex; align-items: center; }
.cd-gname b { font-size: 18.4px; font-weight: 500; color: var(--ink); }
.cd-collapse { width: 13px; height: 13px; margin-right: 12px; color: #8092b1; }
.cd-group-status { left: 60%; font-size: 18.4px; color: #8092b1; }
.cd-row { position: relative; min-height: 118px; padding: 23.5px 0 22px 0; border-bottom: 1px solid #eff3f8; background: #fcfafe; }
.cd-row.selected { background: #f5f9fe; }
.cd-row:last-child { border-bottom: 0; }
.cd-row > .cd-check { position: absolute; left: 26px; top: 23.5px; }
.ck { display: grid; place-items: center; width: 21px; height: 21px; border: 1px solid #b8c5d9; border-radius: 3px; background: #fff; color: #fff; }
.ck .ic { width: 14px; height: 14px; }
.ck.on { border-color: var(--primary); background: var(--primary); }
.cd-body { margin-left: 61px; width: calc(60% - 61px - 63px); }
.cd-title { display: flex; align-items: center; height: 21px; font-size: 18.4px; color: var(--ink); }
.cd-title b { font-weight: 600; }
.cd-tiny { width: 18px; height: 18px; margin-left: 11px; color: #8495b3; }
.cd-tiny.cd-sync { margin-left: 9px; color: #5700e5; }
.cd-desc { margin-top: 5px; font-size: 18.4px; line-height: 27.5px; color: var(--ink-3); hyphens: auto; -webkit-hyphens: auto; }
.cd-more { margin-left: 5px; color: var(--ink); font-weight: 600; font-size: 15.75px; white-space: nowrap; }
.cd-status { position: absolute; left: 60%; top: 23.5px; }
.cd-badge { display: inline-flex; align-items: center; height: 20.5px; padding: 0 6px 0 7px; border-radius: 2px; border: 1px solid; background: #fff;
  font-size: 14.4px; font-weight: 500; letter-spacing: .2px; }
.cd-badge.added { color: #d43e3b; border-color: #e99e9d; }
.cd-badge.sent { color: #008044; border-color: #7fbfa1; }
.cd-badge.re-req { color: #e05c0e; border-color: #e78b5a; }
.cd-bcaret { width: 12px; height: 12px; margin-left: 5px; }
.cd-time { display: flex; align-items: center; gap: 7px; margin-top: 7px; font-size: 17px; line-height: 22px; color: var(--ink-2); }
.cd-clock { width: 15px; height: 15px; color: #8092b1; }
.cd-file { position: absolute; left: 75.5%; top: 23.5px; display: flex; flex-direction: column; align-items: flex-start; }
.cd-page { display: block; width: 66px; height: 46px; border: 1px solid #a0a4aa; border-radius: 3px; background: #fff; overflow: hidden; }
.cd-page img { display: block; width: 62px; height: 42px; margin: 1px; }
.cd-fname { max-width: 80px; margin-top: 10px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 14.4px; line-height: 18px; color: var(--ink-2); }
.cd-actions { position: absolute; right: 27.5px; top: 50%; display: flex; gap: 15.75px; transform: translateY(-50%); }
.cd-btn { display: grid; place-items: center; width: 36.75px; height: 36.75px; border: 1px solid #d3dcea; border-radius: 3px; background: #fff; color: #42526e; font-size: 20px; }
.cd-btn.off { color: #a8b6ce; }
.cd-bar { position: fixed; z-index: 20; left: calc(260px + (100% - 284px) / 2); bottom: 39px; display: flex; align-items: center; height: 65.6px; padding: 0 12px 0 18.5px;
  background: #fff; border-radius: 4px; box-shadow: 0 2px 16px rgba(23, 43, 77, .14); white-space: nowrap; transform: translateX(-50%); }
.cd-bar-n { margin-right: 37px; font-size: 18.4px; color: var(--ink); }
.cd-bar-btn { display: flex; align-items: center; height: 36.75px; padding: 0 14px; border: 1px solid #85b2f1; border-radius: 3px; background: #fff; color: var(--primary);
  font-size: 18.4px; font-weight: 500; }
.cd-bar-sq { display: grid; place-items: center; width: 39.4px; height: 39.4px; margin-left: 13px; border: 1px solid #85b2f1; border-radius: 3px; color: var(--primary); font-size: 21px; }
.cd-bar-sq.off { border-color: #d3dcea; color: #8092b1; }

/* ===== Documents (May 2026, DocMagic's guide p14, measured at its scale x 0.875; June 2026, the Pwr TPO spotlight) ===== */
.dc { position: relative; display: flex; flex-direction: column; min-height: 100%; border-radius: 6px 6px 0 0; }
.dc-head { position: relative; height: 103px; flex: none; border-bottom: 1px solid #e2e8f0; }
.dc-titles { position: absolute; left: 30px; top: 12.5px; }
.dc-titles h1 { margin: 0; font-size: 28.5px; line-height: 34px; font-weight: 700; color: var(--ink); }
.dc-tabs { display: flex; gap: 40.5px; margin-top: 22px; }
.dc-tab { position: relative; font-size: 18.5px; line-height: 24px; padding-bottom: 9.5px; color: var(--ink-3); white-space: nowrap; }
.dc-tab.active { color: var(--ink); font-weight: 500; }
.dc-tab.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--primary); }
.dc-tools { position: absolute; right: 27px; top: 32.5px; display: flex; align-items: center; gap: 14px; }
.dc-ibtn { display: grid; place-items: center; width: 38.5px; height: 38.5px; border: 1px solid #85b2f1; border-radius: 3px; color: var(--primary); font-size: 21px; }
.dc-search { display: flex; align-items: center; gap: 9px; width: 235px; height: 38.5px; padding: 0 12px; border: 1px solid #d0d8e4; border-radius: 3px; color: #a5b0c2; font-size: 18px; }
.dc-search .ic { font-size: 18px; color: #42526e; }
.dc-view { display: flex; }
.dc-view button { display: grid; place-items: center; width: 45.5px; height: 38.5px; border: 1px solid #d0d8e4; color: var(--ink-2); font-size: 22px; background: #fff; }
.dc-view button:first-child { border-radius: 3px 0 0 3px; }
.dc-view button:last-child { border-radius: 0 3px 3px 0; margin-left: -1px; }
.dc-view button.on { position: relative; z-index: 1; border-color: var(--primary); background: #f1f6fd; color: var(--primary); }
.dc-share { position: relative; display: flex; align-items: center; gap: 10px; height: 38.5px; padding: 0 15px 0 13px; border: 1px solid #85b2f1; border-radius: 3px;
  color: var(--primary); font-size: 18.5px; font-weight: 500; background: #fff; white-space: nowrap; }
.dc-share .ic { font-size: 22px; }
.dc-pro { position: absolute; right: -6px; top: -7px; padding: 0 3px; height: 13px; line-height: 13px; border-radius: 2px; background: #dc9f00;
  color: #fff; font-size: 8.5px; font-weight: 700; letter-spacing: .2px; }
.dc-upload { display: flex; align-items: center; gap: 8px; height: 38.5px; padding: 0 15px 0 13px; border-radius: 3px; background: var(--primary);
  color: #fff; font-size: 18.5px; font-weight: 500; }
.dc-upload .ic { font-size: 20px; }
.dc-body { display: flex; flex: 1; }
.dc-folders { position: relative; width: 262.5px; flex: none; padding: 27px 0 0 26px; border-right: 1px solid #eff3f8; }
.dc-f { display: flex; align-items: center; width: 208px; height: 40.25px; padding: 0 14px 0 13px; border-radius: 4px; font-size: 17px; color: var(--ink); }
.dc-f .ic { width: 19px; height: 19px; margin-right: 11px; color: #42526e; flex: none; }
.dc-f span { flex: 1; white-space: nowrap; }
.dc-f b { font-weight: 400; color: var(--ink-2); }
.dc-f.all { height: 38.5px; }
.dc-f.active { background: #f1f6fd; color: var(--primary); font-weight: 600; }
.dc-f.active .ic, .dc-f.active b { color: var(--primary); }
.dc-f.active b { font-weight: 500; }
.dc-f.fin { margin-top: 8px; }
.dc-f.fin .ic { color: #8a94a8; }
.dc-fh { width: 208px; margin: 10.5px 0 11.5px; padding: 14px 0 0 13px; border-top: 1px solid #e2e8f0; font-size: 12.5px; line-height: 14px; letter-spacing: .3px; color: #637390; }
.dc-list { position: relative; flex: 1; min-width: 0; }
.dc-cols, .dc-row { position: relative; display: flex; align-items: center; }
.dc-cols { height: 66.5px; border-bottom: 1px solid #e2e8f0; font-size: 18.5px; color: var(--ink); }
.dc-cols > * { position: absolute; top: 30px; line-height: 24px; }
.dc-cols .dc-c-check { top: 33px; }
.dc-c-check { position: absolute; left: 3%; display: grid; }
.dc-c-check .ck { width: 21px; height: 21px; border-color: #b8c5d9; }
.dc-cols .dc-h-name { left: 6.47%; }
.dc-cols .dc-h-sub { left: 38.1%; }
.dc-cols .dc-h-show { left: 63.4%; }
.dc-sort { right: 43px; display: flex; align-items: center; font-size: 16px; color: #8092b1; }
.dc-sort b { display: flex; align-items: center; margin-left: 7px; font-weight: 500; color: var(--primary); }
.dc-sort-caret { width: 11px; height: 11px; margin-left: 4px; }
.dc-sort-arrow { width: 19px; height: 19px; margin-left: 11px; color: var(--primary); }
.dc-rows { position: relative; }
.dc-row { height: 80px; border-bottom: 1px solid #eff3f8; background: #fff; }
.dc-thumb { position: absolute; left: 6.47%; top: 17.5px; width: 66px; height: 46px; border: 1px solid #cccccc; border-radius: 3px; background: #fff; overflow: hidden; }
.dc-thumb img { display: block; width: 62px; height: 42px; margin: 1px; outline: 1px solid #e6e6e6; }
.dc-c-name { position: absolute; left: 12.6%; right: 63%; top: 13.5px; }
.dc-name { font-size: 18.5px; line-height: 24px; color: var(--ink); white-space: nowrap; }
.dc-file { margin-top: 6.5px; font-size: 16px; line-height: 20px; color: #8b98ae; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dc-c-name.one { top: 28px; }
.dc-c-sub { position: absolute; left: 38.1%; top: 15.5px; }
.dc-sub { display: flex; align-items: center; font-size: 18.5px; line-height: 24px; color: var(--ink); }
.dc-caret { width: 14px; height: 14px; margin-left: 7px; color: var(--ink-2); }
.dc-line { display: flex; align-items: center; gap: 8px; margin-top: 5.5px; font-size: 16px; line-height: 20px; color: var(--ink-3); }
.dc-line .ic { width: 14px; height: 14px; color: #8092b1; }
.dc-c-show { position: absolute; left: 63.4%; display: flex; align-items: center; gap: 9px; font-size: 16px; color: #8092b1; }
.dc-c-show .ic { width: 26px; height: 26px; }
.dc-c-act { position: absolute; right: 45.5px; display: flex; gap: 8.75px; }
.dc-btn { display: grid; place-items: center; width: 38.5px; height: 38.5px; border: 1px solid #d5dce8; border-radius: 4px; background: #fff; color: #8092b1; font-size: 21px; }
.dc-btn.more { font-size: 27px; }

/* ===== Moving to Clear To Close (DocMagic's guide, May 2026: the arrow's tooltip and the dialog it opens; the
   February 2026 dashboard's modal for the dimmed page under it) ===== */
.lb-tip { position: absolute; z-index: 30; left: 50%; bottom: calc(100% + 13px); height: 42px; padding: 0 14px; border-radius: 5px;
  background: #fff; box-shadow: 0 2px 14px rgba(23, 43, 77, .22); font-size: 16px; line-height: 42px; font-weight: 400; color: var(--ink);
  white-space: nowrap; pointer-events: none; transform: translateX(-50%); }
.lb-tip::after { content: ""; position: absolute; left: 50%; bottom: -5px; width: 10px; height: 10px; margin-left: -5px; background: #fff;
  transform: rotate(45deg); box-shadow: 2px 2px 4px rgba(23, 43, 77, .08); }
.dlg-scrim { position: fixed; z-index: 40; inset: 0; background: rgba(10, 50, 100, .55); }
.dlg { position: fixed; z-index: 41; left: 50%; top: 50%; width: 854px; background: #fff; border-radius: 5px; overflow: hidden;
  box-shadow: 0 8px 30px rgba(9, 30, 66, .25); transform: translate(-50%, -50%); color: var(--ink); }
.dlg-head { display: flex; align-items: center; justify-content: space-between; height: 56px; padding: 0 19px; background: #f9fafc;
  border-bottom: 1px solid #edf1f6; font-size: 19px; font-weight: 500; }
.dlg-x { display: grid; place-items: center; color: #42526e; font-size: 19px; }
.dlg-body { padding: 20px 29px 0; }
.dlg-h { display: flex; align-items: center; justify-content: space-between; height: 40px; font-size: 17.5px; font-weight: 500; border-bottom: 1px solid #edf1f6; }
.dlg-h2 { margin-top: 36px; }
.dlg-edit { display: flex; align-items: center; gap: 6px; font-size: 16px; font-weight: 500; color: var(--primary); }
.dlg-edit .ic { font-size: 15px; }
.dlg-date { display: grid; grid-template-columns: 490px 1fr; align-items: center; height: 38.5px; border-bottom: 1px solid #f1f3f6; font-size: 15.5px; }
.dlg-date i { font-style: normal; margin-left: 4px; }
.dlg-pick { justify-self: start; text-decoration: underline dashed #8a96aa; text-underline-offset: 4px; }
.dlg-pick.empty { color: #8a96aa; }
.dlg-cols, .dlg-row { display: grid; grid-template-columns: 212px 349px 90px 1fr; align-items: center; }
.dlg-cols { height: 36px; font-size: 13.5px; color: var(--ink-3); border-bottom: 1px solid #edf1f6; }
.dlg-warn { display: flex; align-items: center; gap: 8px; height: 41px; margin-top: 11px; padding: 0 9px; border: 1px solid #fbdbbb; border-radius: 4px;
  background: #fefaf5; font-size: 15.5px; }
.dlg-warn .ic { color: #e2741c; font-size: 16px; }
.dlg-row { height: 48px; border-bottom: 1px solid #f1f3f6; font-size: 16px; }
.dlg-row i { font-style: normal; color: var(--ink-3); margin-right: 13px; }
.dlg-box { display: grid; place-items: center; width: 19px; height: 19px; margin-left: 7px; border: 1px solid #d5dce6; border-radius: 3px; background: #f1f3f6; color: #fff; }
.dlg-box .ic { width: 12px; height: 12px; }
.dlg-box.on { background: #fff; border-color: var(--primary); color: var(--primary); }
.dlg-notes { margin-top: 26px; }
.dlg-notes-label { font-size: 13.5px; color: var(--ink-3); }
.dlg-notes-box { height: 88px; margin-top: 9px; border: 1px solid #e2e8f1; border-radius: 3px; }
.dlg-note { display: flex; align-items: center; gap: 9px; height: 36px; margin-top: 52px; padding: 0 14px; background: #fefaf5;
  border-top: 1px solid #fce4cb; border-bottom: 1px solid #f9d8b6; font-size: 16px; }
.dlg-note .ic { color: #d9571c; font-size: 16px; }
.dlg-note b { color: #d9571c; font-weight: 600; margin-right: 4px; }
.dlg-foot { display: flex; justify-content: flex-end; gap: 23px; padding: 13px 20px 13px; background: #f9fafc; }
.dlg-cancel { height: 37px; padding: 0 31px; border: 1px solid #d0d8e4; border-radius: 3px; background: #fff; font-size: 16px; color: var(--ink); }
.dlg-send { height: 37px; padding: 0 25px; border-radius: 3px; background: var(--primary); font-size: 16px; font-weight: 500; color: #fff; }

/* ===== Toasts (Arive's own: the viewer's "Document Uploaded Successfully", February 2025 webinar frame,
   .tmp/film/refs/arive/viewer-2025-02-clientneeds-approve.png): a white panel with a hairline border, a pale green
   tile holding the check, the title in Arive's green, semibold, and a close x. Arive shows its toasts at the bottom
   right; the film stacks the borrower's uploads at the right under the loan bar, clear of the presenter's corner.
   The screenplay places each toast and fades it; nothing here moves by itself. ===== */
.toasts { position: absolute; top: 160px; right: 22px; width: 440px; height: 0; z-index: 40; pointer-events: none; }
.toast { position: absolute; left: 0; top: 0; width: 440px; box-sizing: border-box; display: flex; align-items: flex-start; gap: 15px;
  padding: 15px 16px 15px 15px; background: #fff; border: 1px solid #e1e6ee; border-radius: 6px;
  box-shadow: 0 8px 22px rgba(23, 43, 77, 0.10), 0 1px 3px rgba(23, 43, 77, 0.06); }
.toast-tile { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 6px; background: #e3f1e9; color: #008044; font-size: 21px; flex: none; }
.toast-body { flex: 1; min-width: 0; }
.toast-title { font-size: 19px; line-height: 24px; font-weight: 600; color: #008044; white-space: nowrap; }
.toast-text { margin-top: 3px; font-size: 17.5px; line-height: 23px; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.toast-meta { margin-top: 2px; font-size: 15.5px; line-height: 20px; color: var(--ink-3); white-space: nowrap; }
.toast-x { margin-top: 3px; color: #62677d; font-size: 17px; flex: none; }
