/* White label (/white-label/) in the painted theme (template-parts/painted/pages/white-label.php): only what its windows
   alone draw, the sign-in page at the brand's address, the email under the brand, the sign-in link card and the brands'
   list. The rows, the people, the chips, the strips and the buttons are the kit's, and so is the app at the agency's own
   address (assets/css/lines.css: .pp-card, .pp-person, .pp-who, .pp-btn, .ag-win, .ag-who). The brand's own colours are
   the sample agency's ink and lime (theme/assets/img/sample-agency/). */

/* the header's piece: our jet in the agency's livery over the line's wash (the wash's own small jet stands down), its
   points the parts of white label (the shared points on a painting, lines.css .hs-pts), then the switch between
   liveries and the address that comes with each (assets/js/pages/white-label.js paints one over the other) */
.gsp-s-white-label .pp-head-pic .ln2-plane { display: none; }
.wlh { display: grid; justify-items: center; gap: 20px; }
.wlh-stage { position: relative; width: 100%; max-width: 1000px; aspect-ratio: 1086 / 362; }
.wlh-pl { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: contain; visibility: hidden; filter: drop-shadow(0 26px 24px rgba(70, 44, 30, .22)); }
.wlh-pl.on { visibility: visible; }
.wlh .hs { --hs-cw: 260px; }
.wlh .hs i { background: var(--out); }
@media (max-width: 1100px) { .wlh .hs { --hs-fs: 12.5px; --hs-py: 7px; --hs-px: 10px; --hs-cw: 220px; } .wlh .hs-t { font-size: 13.5px; } }
.wlh-ctl { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 14px; }
.wlh-k { font: 600 9.5px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.wlh-lv { display: inline-flex; gap: 3px; padding: 4px; border-radius: 999px; background: rgba(255, 255, 255, .78); box-shadow: 0 1px 2px rgba(70, 50, 36, .08), 0 10px 22px -16px rgba(80, 52, 40, .45); }
.wlh-lv button { all: unset; box-sizing: border-box; display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px 0 7px; border-radius: 999px; font: 600 13.5px/1 var(--sans); color: var(--ink); white-space: nowrap; cursor: pointer; transition: background-color .2s, color .2s; }
.wlh-lv button i { flex: none; width: 20px; height: 20px; border-radius: 50%; background: linear-gradient(135deg, var(--a) 0 56%, var(--b) 56%); box-shadow: inset 0 0 0 1px rgba(22, 22, 26, .1); }
.wlh-lv button[aria-pressed=true] { background-color: var(--ink); background-image: var(--ink-tex); color: #fff; }
.wlh-lv button:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.wlh-addr { display: inline-flex; align-items: center; height: 34px; padding: 0 14px; border-radius: 999px; background: rgba(255, 255, 255, .78); font: 500 12.5px/1 var(--mono); color: var(--ink); }

/* a button in the brand's colours, on its sign-in page and in its emails */
.wlp-btn { display: inline-flex; align-items: center; justify-content: center; align-self: flex-start; height: 38px; padding: 0 18px; border-radius: 10px; background: #15171E; color: #C8F051; font-weight: 600; font-size: 13.5px; white-space: nowrap; }

/* 1. the sign-in page at the brand's own address: its tab and its address over the page, the form on the left, the
   brand's own sign-in image on the right */
.wlp-br { overflow: hidden; }
.wlp-bar { gap: 12px; }
.wlp-tab { display: inline-flex; align-items: center; flex: none; gap: 7px; height: 30px; padding: 0 12px 0 8px; border-radius: 9px; background: #fff; box-shadow: 0 1px 2px rgba(70, 50, 36, .1); font-weight: 600; font-size: 13px; color: var(--ink); }
.wlp-tab img.ag-mk { width: 16px; height: 16px; border-radius: 4px; }
.wlp-url { display: inline-flex; align-items: center; flex: 1 1 auto; min-width: 0; height: 30px; padding: 0 12px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; border-radius: 999px; background: rgba(255, 255, 255, .7); font: 500 12px/1 var(--mono); color: var(--mute); }
.wlp-sign { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .85fr); min-height: 292px; }
.wlp-form { display: flex; flex-direction: column; justify-content: center; gap: 10px; padding: 22px 24px; background: #fff; }
.wlp-lockup { display: block; width: 118px; height: auto; margin-bottom: 4px; }
.wlp-h { font-weight: 600; font-size: 17px; letter-spacing: -.02em; color: var(--ink); }
.wlp-f { display: flex; flex-direction: column; gap: 5px; }
.wlp-f small { display: flex; justify-content: space-between; font-size: 11.5px; color: var(--mute); }
.wlp-f small em { font-style: normal; font-weight: 600; color: #15171E; text-decoration: underline; text-decoration-color: #C8F051; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.wlp-f > span { display: flex; align-items: center; height: 36px; padding: 0 12px; border-radius: 10px; background: var(--sunk); box-shadow: inset 0 0 0 1px rgba(22, 22, 26, .08); font-size: 13px; color: var(--ink); }
.wlp-form .wlp-btn { align-self: stretch; margin-top: 4px; }
.wlp-img { position: relative; overflow: hidden; }
.wlp-img img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: 56% 72%; }
.wlp-foot { padding: 12px 16px 16px; }
.wlp-foot .pp-who { margin: 0; }

/* 2. one email the app sends under the brand */
.wlp-m { padding: 16px 18px 14px; border-radius: 14px; background: #fff; box-shadow: 0 1px 2px rgba(70, 50, 36, .06), 0 10px 22px -16px rgba(80, 52, 40, .4); }
.wlp-m p { margin: 0; }
.wlp-m-to { display: flex; align-items: baseline; gap: 8px; font-size: 12.5px; color: var(--mute); }
.wlp-m-to small { font: 600 9px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.wlp-m .wlp-m-s { margin-top: 10px; font-weight: 600; font-size: 17px; line-height: 1.3; letter-spacing: -.02em; color: var(--ink); }
.wlp-m .wlp-m-l { margin: 6px 0 14px; font-size: 14px; color: #4A4953; }
.wlp-m .wlp-m-ft { display: flex; align-items: center; gap: 7px; margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--line-2); font-weight: 600; font-size: 12px; color: var(--ink); }
.wlp-m-ft img.ag-mk { width: 14px; height: 14px; border-radius: 4px; }
.wlp-m-ft span { margin-left: auto; font: 500 11px/1 var(--mono); color: var(--mute); }

/* 3. the sign-in link the client gets, between the sender profile waiting and the same one Active */
.pp-card.wlp-sp > li { grid-template-columns: minmax(0, 1fr) max-content; }
.wlp-link { margin: 10px 0 0; padding: 14px 16px; border-radius: 14px; background: #fff; box-shadow: 0 1px 2px rgba(70, 50, 36, .06), 0 10px 22px -16px rgba(80, 52, 40, .4); }
.wlp-link p { margin: 0; }
.wlp-link-h { display: flex; align-items: center; gap: 9px; }
.wlp-link-h .disc { width: 26px; height: 26px; background: var(--ct); color: var(--cd); }
.wlp-link-h .disc svg.i { width: 14px; height: 14px; }
.wlp-link-h b { font-weight: 600; font-size: 14px; color: var(--ink); }
.wlp-link .wlp-link-h + p { margin: 8px 0 12px; font-size: 13px; line-height: 1.45; color: #4A4953; }
.wlp-after { display: flex; align-items: center; gap: 10px; margin: 14px 0 0; font: 600 9px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--mute); }
.wlp-after::before, .wlp-after::after { content: ""; flex: 1 1 0; height: 1px; background: var(--line-2); }

/* 4. the brands of one account: its mark (a second brand's initials on its own colours), its address, its clients and
   its sending domain */
.pp-card.wlp-brands > li { grid-template-columns: minmax(0, 1fr) 56px 118px; }
.wlp-brands > li > .st, .wlp-brands > li.pp-th > span:last-child { justify-self: end; }
.wlp-brands .ag-who img.ag-mk { flex: none; width: 24px; height: 24px; border-radius: 7px; }
.wlp-n { font-weight: 600; font-size: 14px; font-variant-numeric: tabular-nums; color: var(--ink); }
.ag-who .wlp-nc { display: none; }
.wlp-ys { display: grid; place-items: center; flex: none; width: 24px; height: 24px; border-radius: 7px; background: #1E3A5F; color: #F2B880; font: 700 9px/1 var(--sans); }
.wlp-new { margin: 10px 0 0; }

/* a phone: the sign-in image a band over the form; a brand's clients a line under its address, with no header row */
@media (max-width: 760px) {
  /* the plane is short on a phone: a point's card opens under it, over the switch */
  .wlh .hs-c, .wlh .hs.l .hs-c, .wlh .hs.u .hs-c { top: calc(100% + 8px); bottom: auto; transform: translateY(-6px); }
  .wlh .hs.on .hs-c { transform: none; }
  .wlh-k { display: none; }
  .wlh-lv button { padding: 0 11px 0 6px; font-size: 13px; }
  .wlp-sign { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .wlp-img { order: -1; height: 92px; }
  .wlp-form { padding: 18px 18px 20px; }
  .pp-card.wlp-brands > li { grid-template-columns: minmax(0, 1fr) max-content; min-height: 58px; }
  .pp-card.wlp-brands > li.pp-th, .wlp-n { display: none; }
  .pp-card.wlp-brands > li.pp-th + li { border-top: 0; }
  .ag-who .wlp-nc { display: block; }
}
