/* LAUTER partner portal: the business side's own pages (Home, My link and clients, Points, Rewards library, Payments,
   Settings), its tax invoices and payment receipts, and the people list on the stand-in sign-in screen.
   The look follows the approved mock-up (research/retail/portal/index.html). Loaded after app.css.
   Everything here sits under .bz (a business page), .inv (a paper in a pop-up) or .whoscr, so no other screen changes. */

/* layout */
.bz .g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.bz .g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.bz .g12 { grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); }
.bz .v { overflow-wrap: anywhere; } .bz .v.xl { font-size: 68px; }
.bz .card .l .chip { margin-left: 8px; }
.bz .card.gold :focus-visible { outline-color: var(--ink); }
.bz .card.gold .qa { color: #3A2C0E; border-bottom-color: #5C4517; } .bz .card.ink .qa { color: var(--gold2); border-bottom-color: var(--gold2); }
.bz .more { margin-top: 14px; }
.bz .segrow { display: flex; align-items: center; gap: 16px; margin-top: 22px; flex-wrap: wrap; } .bz .segrow .n { margin: 0; }
.bz .seg { flex-wrap: wrap; border-radius: 22px; } .bz .seg a { padding: 8px 16px; font-size: 14px; line-height: 1; white-space: nowrap; color: inherit; text-decoration: none; }
.bz .seg a.on { background: var(--ink); color: #fff; } .bz .seg a:focus-visible { outline-offset: -3px; }
.bz .bar { height: 8px; border-radius: 8px; background: var(--ice); overflow: hidden; margin-top: 12px; } .bz .bar i { display: block; height: 100%; background: var(--goldg); border-radius: 8px; }
.bz .saywarn { margin-top: 18px; 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; max-width: 760px; }
.bz table td.what small { white-space: normal; }
.bz td .chip { margin-left: 6px; } .bz td .chip:first-child { margin-left: 0; }
.bz td.k .chip { vertical-align: middle; }

/* home */
.bz .hero { position: relative; border-radius: 4px; overflow: hidden; background: var(--mid); color: #fff; min-height: 250px; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); margin-top: 4px; }
.bz .hero .tx { padding: 34px 38px; display: flex; flex-direction: column; justify-content: center; position: relative; z-index: 1; min-width: 0; }
.bz .hero h1 { font-size: 46px; } .bz .hero h1 em { color: var(--gold2); } .bz .hero .sub { color: #C3D0D8; } .bz .hero .tag { color: var(--gold2); }
.bz .hero .ph { background: url('assets/lauter-r6-scene-gold.jpg') center/cover; position: relative; } .bz .hero .ph::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, var(--mid) 0%, rgba(15,34,49,.2) 55%, rgba(15,34,49,0) 100%); }
.bz .hero .acts { display: flex; gap: 10px; margin-top: 22px; flex-wrap: wrap; justify-content: flex-start; }
.bz .hero .btn.o { color: #fff; border-color: rgba(255,255,255,.5); } .bz .hero :focus-visible { outline-color: var(--gold2); }
.bz .next { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 20px; align-items: center; } .bz .next .im { height: 118px; border-radius: 3px; background: var(--mid) center/cover; }
.bz .next.plain { grid-template-columns: minmax(0, 1fr); }
.bz .feed { display: grid; } .bz .feed > div { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15.5px; align-items: baseline; } .bz .feed > div:last-child { border: 0; }
.bz .feed span { color: var(--slate); font-size: 13.5px; } .bz .feed b { font: 300 19px 'Voice', serif; white-space: nowrap; }

/* my link and clients */
.bz .qr { display: block; background: #fff; border-radius: 4px; padding: 6px; width: 190px; height: 190px; margin-top: 16px; box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.bz .codebig { font: 400 30px/1.2 'Wide'; letter-spacing: .1em; margin-top: 10px; overflow-wrap: anywhere; }
.bz .linkbox { display: flex; align-items: center; gap: 10px; border: 1px solid rgba(233,213,166,.4); border-radius: 22px; padding: 6px 6px 6px 18px; margin-top: 16px; font-size: 15px; max-width: 520px; } .bz .linkbox span { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.bz .linknote { margin-top: 14px; padding: 12px 14px; border: 1px solid var(--gold2); border-radius: 3px; font-size: 14.5px; line-height: 1.5; color: var(--gold2); }

/* points */
.bz .lvl { position: relative; height: 10px; border-radius: 10px; background: var(--lined); margin: 44px 0 58px; } .bz .lvl i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 10px; background: var(--goldg); }
.bz .lvl span { position: absolute; top: -26px; transform: translateX(-50%); font: 400 9px 'Wide'; letter-spacing: .16em; text-transform: uppercase; color: var(--mist); white-space: nowrap; } .bz .lvl span.on { color: var(--gold2); } .bz .lvl span::after { content: ''; position: absolute; left: 50%; top: 20px; width: 1px; height: 22px; background: rgba(233,213,166,.5); }
.bz .lvl em { position: absolute; top: 18px; transform: translateX(-50%); font-size: 13px; color: var(--mist); font-style: normal; white-space: nowrap; }
.bz .lvl.bare { margin-bottom: 30px; }
.bz .card.ink table { color: #fff; } .bz .card.ink th { color: var(--mist); border-color: var(--lined); white-space: normal; } .bz .card.ink td { border-color: var(--lined); }
.bz .goldsplit { margin-top: auto; padding-top: 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; border-top: 1px solid rgba(92,69,23,.3); }

/* rewards library */
.bz .rw { position: relative; border-radius: 4px; overflow: hidden; min-height: 290px; background: var(--mid) center/cover; color: #fff; display: flex; flex-direction: column; justify-content: flex-end; min-width: 0; }
.bz .rw::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,19,28,0) 18%, rgba(8,19,28,.8) 56%, rgba(8,19,28,.96) 100%); }
.bz .rw > * { position: relative; } .bz .rw .pts { position: absolute; left: 14px; top: 14px; background: var(--goldg); color: #2A1F08; font: 400 10px 'Wide'; letter-spacing: .12em; padding: 6px 11px; border-radius: 20px; }
.bz .rw .req { position: absolute; right: 14px; top: 14px; background: #fff; color: var(--ink); font: 400 9.5px 'Wide'; letter-spacing: .1em; text-transform: uppercase; padding: 6px 10px; border-radius: 20px; } .bz .rw .cat { font: 400 9px 'Wide'; letter-spacing: .18em; text-transform: uppercase; color: var(--gold2); }
.bz .rw .tx { padding: 18px; } .bz .rw h3 { font: 300 26px/1.1 'Voice', serif; overflow-wrap: anywhere; } .bz .rw p { font-size: 14px; color: #D6E0E6; margin-top: 3px; } .bz .rw .bar { background: rgba(255,255,255,.22); margin-top: 10px; height: 5px; }
.bz .rw .btn { margin-top: 12px; width: 100%; } .bz .rw.lock { filter: saturate(.55); } .bz .rw.got { outline: 2px solid var(--gold); outline-offset: -2px; } .bz .rw :focus-visible { outline-color: var(--gold2); }

/* settings */
.bz select.rs { font: 400 14px 'Text', sans-serif; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 4px; padding: 7px 10px; } .bz select.rs:focus { outline: 2px solid var(--gold); outline-offset: 1px; }
.bz .sw { width: 44px; height: 26px; border-radius: 20px; background: #C3D0D8; position: relative; flex: none; transition: background .2s; } .bz .sw::after { content: ''; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: left .2s; box-shadow: 0 1px 3px rgba(0,0,0,.25); } .bz .sw.on { background: var(--ok); } .bz .sw.on::after { left: 21px; }
.bz .sw[disabled] { opacity: .5; cursor: not-allowed; }
.bz .opt { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--line); } .bz .opt:last-of-type { border-bottom: 0; } .bz .opt b { font-weight: 400; display: block; } .bz .opt span.d { color: var(--slate); font-size: 14px; }
.bz table.roles td, .bz table.roles th { text-align: center; } .bz table.roles td:first-child, .bz table.roles th:first-child { text-align: left; } .bz table.roles .no { color: var(--mist); }
.bz .f3b { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 0 16px; }

/* tax invoices and payment receipts: a paper in a pop-up, and how it prints */
.modal:has(.inv) { width: 780px; }
.inv .hd { background: var(--mid); color: #fff; padding: 26px 34px; display: flex; justify-content: space-between; align-items: center; gap: 20px; } .inv .hd img { height: 22px; } .inv .hd div { text-align: right; } .inv .hd b { display: block; font: 300 28px 'Voice', serif; margin-top: 4px; overflow-wrap: anywhere; }
.inv .hd span, .inv .lb { font: 400 9.5px 'Wide'; letter-spacing: .16em; text-transform: uppercase; } .inv .hd span { color: var(--gold2); } .inv .lb { color: var(--slate); margin-bottom: 7px; }
.inv .bd { padding: 26px 34px 28px; } .inv .pp { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; font-size: 14.5px; line-height: 1.55; overflow-wrap: anywhere; }
.inv .pp.four { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.inv table { margin-top: 24px; font-size: 14.5px; } .inv .tt { margin: 16px 0 0 auto; width: 330px; max-width: 100%; font-size: 14.5px; font-variant-numeric: tabular-nums; } .inv .tt div { display: flex; justify-content: space-between; gap: 14px; padding: 5px 0; } .inv .tt .g { border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); margin: 6px 0; padding: 12px 0; font: 300 24px 'Voice', serif; }
.inv .paid { display: inline-block; margin-top: 6px; border: 1.5px solid var(--ok); color: var(--ok); font: 400 9.5px 'Wide'; letter-spacing: .16em; text-transform: uppercase; padding: 5px 10px; border-radius: 3px; } .inv .paid.off { border-color: var(--bad); color: var(--bad); }
.inv .ft { margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 13px; line-height: 1.5; color: var(--slate); } .inv .pacts { display: flex; gap: 10px; padding: 14px 34px 22px; flex-wrap: wrap; position: sticky; bottom: 0; background: #fff; border-top: 1px solid var(--line); }
.inv .bd { padding-bottom: 22px; }
@media print {
  body:has(.inv) #root, body:has(.inv) .toast, body:has(.inv) .noprint { display: none !important; }
  body:has(.inv), html:has(.inv) { background: #fff !important; height: auto; }
  body:has(.inv) .ov { position: static !important; display: block !important; background: none !important; padding: 0 !important; }
  body:has(.inv) .modal { box-shadow: none !important; width: auto !important; max-height: none !important; border-radius: 0 !important; overflow: visible !important; }
  body:has(.inv) * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

/* the stand-in sign-in screen: the people of a business */
.whoscr .biz + .biz { margin-top: 0; }
.whoscr .people { display: grid; gap: 8px; margin: 2px 0 8px 18px; padding-left: 16px; border-left: 1px solid rgba(233,213,166,.35); }
.whoscr .people .pl { font: 400 9px 'Wide'; letter-spacing: .16em; text-transform: uppercase; color: var(--mist); margin-top: 4px; }
.whoscr .pick .people button { padding: 12px 16px; } .whoscr .pick .people b { font-size: 20px; }
.whoscr .pick button[aria-expanded="true"] { border-color: var(--gold2); background: rgba(255,255,255,.07); }
.whoscr .tx { padding-top: 48px; padding-bottom: 48px; }

.whoscr .pick .people button > span:last-child { flex: none; white-space: nowrap; }
@media (max-width: 1380px) {
  .bz .hero h1 { font-size: 40px; } .bz .hero .tx { padding: 30px 30px; }
  .bz .g4 > .card { padding-left: 20px; padding-right: 20px; } .bz .g4 .chip { white-space: normal; }
  .bz .next { grid-template-columns: 110px minmax(0, 1fr); gap: 16px; } .bz .next .im { height: 96px; } .bz .next h2 { font-size: 24px; }
  .bz .v.xl { font-size: 58px; }
  .bz .rwall { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1180px) { .bz .g4 { grid-template-columns: 1fr 1fr; } .bz .g12 { grid-template-columns: 1fr; } .bz .rwall { grid-template-columns: 1fr 1fr; } .inv .pp, .inv .pp.four { grid-template-columns: 1fr 1fr; } }
