/* Client portal (and its sign-in pages) in the website's look. Loaded after app.css and site.css:
   app.css gives the portal's building blocks (cards, tables, forms), site.css the header, footer and type,
   this file makes the building blocks look like the website. Always light, like the website. */
body.pt {
  color-scheme: light;
  --bg: #f3f4f9; --surface: #ffffff; --surface-2: #f3f4f9; --border: #e2e4ee;
  --text: #1a1a2e; --text-2: #5b5e6b; --muted: #6e7180;
  --accent: #f15a24; --accent-ink: #ffffff; --link: #1f1d5c; --brand: #f15a24;
  --good: #12805c; --good-bg: #e6f5ee; --warn: #8a5a00; --warn-bg: #fdf3dc;
  --bad: #b42318; --bad-bg: #fdecea; --info-bg: #eceefb;
  --radius: 14px; --shadow: 0 0 0 1px var(--border);
  background: var(--bg); font: 400 16px/1.55 var(--ft); color: var(--text);
}
/* undo the staff app's top bar (same class name) so the website header lays out as on the website */
.pt .top { display: block; padding: 0; gap: 0; box-shadow: none; z-index: 30; background: rgba(255,255,255,.97); }
.pt-main a:not(.btn) { color: var(--link); }
.pt .foot h3 { text-transform: none; letter-spacing: 0; font-size: 14px; color: var(--ink); }
.pt .help .btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.pt .help .btn-ghost:hover { border-color: #fff; }
.pt .btn-wa, .pt .btn-wa:hover { color: #fff; text-decoration: none; }
.pt .btn-light { border-color: #fff; }
.pt .help .btn, .pt .top .btn { text-decoration: none; }
.pt-main .mono { font-family: inherit; font-size: inherit; font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.pt .nav a.on { color: var(--orange-d); box-shadow: inset 0 -2px 0 var(--orange); }
.pt .staff-view { position: relative; }

/* the page */
.pt-main { max-width: var(--wrap); padding-top: 40px; padding-bottom: 72px; font-size: 16px; line-height: 1.55; }
.pt-main h1 { font: 900 clamp(1.9rem, 3.4vw, 2.6rem)/1.1 "Red Hat Display", sans-serif; letter-spacing: -.025em; color: var(--indigo); }
.pt-main h2 { font: 800 1.3rem/1.2 "Red Hat Display", sans-serif; color: var(--indigo); margin: 0 0 14px; letter-spacing: -.01em; }
.pt-main h3 { font: 700 1rem "Red Hat Display", sans-serif; color: var(--indigo); text-transform: none; letter-spacing: 0; }
.pt-main .head { margin-bottom: 24px; display: flex; align-items: flex-end; justify-content: space-between; gap: 10px 20px; flex-wrap: wrap; }
.pt-main .head .sub { color: var(--slate); font-size: 15px; margin-top: 6px; }
.pt-main .muted { color: var(--muted); }
.pt-main .card { border-radius: var(--radius); box-shadow: none; border: 1px solid var(--border); padding: 24px; margin-bottom: 18px; }
.pt-main .grid { gap: 18px; }
.pt-main .grid > div > .card:last-child { margin-bottom: 0; }

/* numbers at a glance: the figure is the headline, like the package speeds */
.pt-main .kpis { gap: 18px; margin-bottom: 18px; }
.pt-main .kpi { border-radius: var(--radius); box-shadow: none; border: 1px solid var(--border); padding: 20px 22px; border-top: 4px solid var(--indigo); }
.pt-main .kpi .l { font: 700 14px "Red Hat Display", sans-serif; color: var(--slate); }
.pt-main .kpi .v { font: 900 2.1rem/1.15 "Red Hat Display", sans-serif; letter-spacing: -.03em; color: var(--indigo); margin: 4px 0 2px; }
.pt-main .kpi .n { font-size: 13.5px; }

/* buttons in the content: the website's pills */
.pt-main .btn, .pt-auth-card .btn { min-height: 42px; padding: 0 18px; border-radius: 999px; border: 2px solid var(--border); background: #fff;
  color: var(--indigo); font: 700 15px/1 "Red Hat Display", sans-serif; gap: 7px; }
.pt-main .btn:hover, .pt-auth-card .btn:hover { border-color: var(--indigo); background: #fff; color: var(--indigo); filter: none; text-decoration: none; }
.pt-main .btn.primary, .pt-auth-card .btn.primary { background: var(--orange); border-color: var(--orange); color: #fff; }
.pt-main .btn.primary:hover, .pt-auth-card .btn.primary:hover { background: var(--orange-d); border-color: var(--orange-d); color: #fff; }
.pt-main .btn.sm { min-height: 34px; padding: 0 14px; font-size: 13.5px; }
.pt-main .btn.danger { color: var(--bad); }
.pt-main .btn:disabled { opacity: .5; cursor: not-allowed; }
.pt-main .wa-btn { background: #1f9d55; border-color: #1f9d55; color: #fff; }
.pt-main .wa-btn:hover { background: #17824a; border-color: #17824a; color: #fff; }

/* form fields: the website's */
.pt-main label, .pt-auth-card label { font: 600 14.5px "Red Hat Display", sans-serif; color: var(--ink); margin-bottom: 6px; }
.pt-main input:not([type=radio]):not([type=checkbox]):not([type=range]), .pt-main select, .pt-main textarea,
.pt-auth-card input:not([type=checkbox]) { font: 400 16px "Red Hat Text", sans-serif; padding: 11px 13px; border: 1.5px solid #cfd2df; border-radius: 8px; background: #fff; color: var(--ink); }
.pt-main input:focus, .pt-main select:focus, .pt-main textarea:focus, .pt-auth-card input:focus { outline: none; border-color: var(--indigo); box-shadow: 0 0 0 3px rgba(31,29,92,.15); }
.pt-main .hint, .pt-auth-card .hint { font-size: 13px; color: var(--slate); }
.pt-main input[type=radio], .pt-main input[type=checkbox] { accent-color: var(--orange); }

/* tables, lists, messages */
.pt-main table { font-size: 15px; }
.pt-main th { font: 700 13px "Red Hat Display", sans-serif; color: var(--slate); text-transform: none; letter-spacing: 0; }
.pt-main td, .pt-main th { padding-top: 11px; padding-bottom: 11px; }
.pt-main .dl dt { color: var(--slate); } .pt-main .dl dd { font-weight: 600; }
.pt-main .flash, .pt-auth-card .flash { border-radius: 10px; padding: 12px 16px; font-weight: 500; }
.pt-main .pre { background: var(--mist); border-radius: 10px; padding: 14px 16px; font-size: 15px; white-space: pre-line; }
.pt-main .portal-notice { border-radius: 10px; }
.pt-main .badge { font-family: "Red Hat Display", sans-serif; font-weight: 700; }
.pt-main .portal-alert { border-left: 4px solid var(--bad); }

/* sign in / set a password */
.pt-auth-main { background: radial-gradient(900px 420px at 80% 0%, #2a2775 0%, transparent 60%), var(--night); }
.pt-auth-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: 56px; align-items: center; padding-top: 72px; padding-bottom: 80px; }
.pt-auth-copy h1 { color: #fff; }
.pt-auth-copy .lede { color: #c9c7ec; }
.pt-auth-help { color: #a9a7d6; font-size: 15px; } .pt-auth-help a { color: #fff; }
.pt-auth-card { background: #fff; border: 0; border-radius: 16px; padding: 30px 30px 26px; box-shadow: 0 24px 60px rgba(0,0,0,.28); }
.pt-auth-card h2 { font: 800 1.45rem/1.2 "Red Hat Display", sans-serif; color: var(--indigo); margin: 0 0 16px; }
.pt-auth-card form > div { margin-bottom: 16px !important; }
.pt-auth-card .btn.primary { width: 100%; justify-content: center; min-height: 48px; font-size: 16px; }
.pt-auth-card p { font-size: 14.5px; }
.pt-auth-card .btns { display: flex; gap: 10px; flex-wrap: wrap; }
.nav-min { display: flex !important; position: static !important; padding: 0 !important; border: 0 !important; background: none !important; }
@media (max-width: 860px) {
  .pt-auth-in { grid-template-columns: 1fr; gap: 26px; padding-top: 40px; padding-bottom: 50px; }
}
@media (max-width: 760px) {
  .pt-main { padding-top: 26px; }
  .pt-main .card { padding: 18px; }
  .pt .nav a.on { box-shadow: none; }
  .nav-min a { padding: 0 !important; border: 0 !important; font-size: 14px; }
}

/* a connecting company's own clients: their brand, a plain footer */
.brand-co b { font: 900 1.4rem "Red Hat Display", sans-serif; color: var(--indigo); }
.brand-co img { max-width: 220px; object-fit: contain; }
.foot-co .foot-end { display: flex; align-items: center; gap: 10px 22px; flex-wrap: wrap; border-top: 0; padding-top: 24px; }
.foot-co .foot-end a:not(.btn) { display: inline; padding: 0; }
.foot-co .foot-end span { margin-left: auto; }
