/* LAUTER partner portal: the LAUTER-side pages added after stage 1 (earnings and Thursday payments, rewards,
   applications, invoice details, a business's code, account and team), the printable papers, and the public apply page.
   Everything here adds to app.css. Nothing is loaded from outside this folder. */

/* tables whose columns all read from the left, with single cells pushed right by .r */
table.tl th, table.tl td { text-align: left; vertical-align: top; }
table.tl th.r, table.tl td.r { text-align: right; }
table.tl td.k { text-align: right; }
table.tl tr:last-child td { border-bottom: 0; }
td.mid, table.tl td.mid { vertical-align: middle; }
table.tl td.biz { white-space: nowrap; }
.card > h2 + .n { margin-top: 8px; }
.card .more { margin-top: 12px; }
.sect { margin-top: 38px; }

/* figures at a glance on a business's page */
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 14px; }
.tile { border: 1px solid var(--line); border-radius: 4px; padding: 16px 18px; min-width: 0; }
.tile .v { font-size: 34px; overflow-wrap: anywhere; }
.tile .n { font-size: 13.5px; }
.kv { display: grid; grid-template-columns: minmax(150px, max-content) minmax(0, 1fr); gap: 9px 26px; font-size: 15px; margin-top: 16px; }
.kv dt { color: #3F5866; } .kv dd { overflow-wrap: anywhere; }
.kv ul { list-style: none; } .kv li + li { margin-top: 3px; }
.codev { font: 400 24px/1.2 'Wide'; letter-spacing: .1em; margin-top: 8px; overflow-wrap: anywhere; }
.warnbox { margin-top: 14px; padding: 12px 14px; border: 1px solid var(--gold); border-radius: 3px; background: rgba(233,213,166,.22); font-size: 14.5px; line-height: 1.5; color: #4A3A12; }
.okline { margin-top: 12px; font-size: 14.5px; color: var(--ok); }
.plus { color: var(--ok); } .minus { color: #A8452A; }

/* forms */
.fld textarea { resize: vertical; min-height: 104px; line-height: 1.45; }
.fld textarea:focus { outline: 2px solid var(--gold); outline-offset: 1px; }
.f4 { display: grid; grid-template-columns: 1fr 1.2fr 2.4fr; gap: 0 16px; }
.f31 { display: grid; grid-template-columns: 2fr 2fr 1.4fr 1fr; gap: 0 16px; align-items: end; }
.f4 { align-items: end; }
.ways { display: grid; gap: 10px; margin-top: 10px; }
.ways .chk { white-space: normal; font-size: 15px; color: var(--ink); align-items: flex-start; } .ways .chk input { margin-top: 3px; flex: none; }
fieldset.fs { border: 0; margin-top: 20px; min-width: 0; } fieldset.fs legend { font: 400 9.5px 'Wide'; letter-spacing: .16em; text-transform: uppercase; color: var(--slate); padding: 0; }
.modal .fld { margin-top: 16px; }
.modal .chk { margin-top: 16px; }

/* an application waiting for an answer */
.appc .apph { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.appc .row { margin-top: 20px; }

/* papers: a tax invoice or a payment receipt in a pop-up, and how it prints */
.modal:has(.doc) { width: 820px; }
.doc .dochead { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; }
.doc .docmark { font: 300 20px/1.3 'Wide'; letter-spacing: .3em; text-transform: uppercase; text-align: right; overflow-wrap: anywhere; }
.doc .parties { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 22px; font-size: 14.5px; line-height: 1.55; overflow-wrap: anywhere; }
.doc .parties.three { grid-template-columns: 1fr 1fr 1fr; }
.party b { font-weight: 400; font-size: 16px; }
.doc .party .l { margin-bottom: 4px; }
.doc table { margin-top: 22px; font-size: 14.5px; }
.modal .doc dl.kv { font-size: 14.5px; grid-template-columns: minmax(150px, max-content) minmax(0, 1fr); gap: 7px 26px; margin-top: 20px; }
.modal .doc dl.kv dd { text-align: left; }
.doc .tt { margin: 16px 0 0 auto; max-width: 360px; }
.doc .n { max-width: none; }
@media print {
  body:has(.doc) #root, body:has(.doc) .toast, body:has(.doc) .noprint { display: none !important; }
  body:has(.doc), html:has(.doc) { background: #fff; height: auto; }
  body:has(.doc) .ov { position: static; display: block; padding: 0; background: none; }
  body:has(.doc) .modal { width: auto; max-height: none; overflow: visible; box-shadow: none; border-radius: 0; }
  body:has(.doc) .modal .in { padding: 0; }
}

/* the link to the apply page on the stand-in sign-in screen */
.whoscr .applyline { margin-top: 22px; font-size: 14.5px; color: #C3D0D8; }
.whoscr .applyline a { color: var(--gold2); border-bottom: 1px solid rgba(233,213,166,.6); text-decoration: none; }

/* the public apply page */
.applyscr { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 400px) minmax(0, 1fr); }
.applyside { background: linear-gradient(180deg, #0C1B28 0%, var(--mid) 45%, var(--glac) 100%); color: #fff; padding: 48px 40px; position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; }
.applyside .logo { width: 150px; }
.applyside h1 { font-size: 46px; margin-top: 34px; } .applyside h1 em { color: var(--gold2); }
.applyside .sub { color: #C3D0D8; font-size: 16.5px; margin-top: 14px; }
.applyside .steps { margin-top: 28px; display: grid; gap: 14px; list-style: none; font-size: 14.5px; color: #C3D0D8; line-height: 1.5; }
.applyside .steps b { display: block; font: 400 9.5px 'Wide'; letter-spacing: .18em; text-transform: uppercase; color: var(--gold2); margin-bottom: 2px; }
.applyside .back { margin-top: auto; font-size: 14px; color: #C3D0D8; }
.applyside .back a { color: var(--gold2); border-bottom: 1px solid rgba(233,213,166,.6); text-decoration: none; }
.applyside :focus-visible { outline-color: var(--gold2); }
.applymain { padding: 44px 48px 64px; min-width: 0; }
.applymain .card { max-width: 860px; }
.applymain h2 { margin-top: 6px; }
@media (max-width: 1380px) { .applymain { padding: 38px 36px 56px; } .applyside { padding: 44px 32px; } }
@media (max-width: 900px) { .applyscr { grid-template-columns: 1fr; } .applyside { position: static; height: auto; } .applyside .back { margin-top: 26px; } .tiles { grid-template-columns: 1fr 1fr; } }
