/* LandlordEzy — "New look" beta: additions for the portal surface.
   Linked after landlordezy-next.css, only on this surface and only when the beta is switched on
   (resources/views/partials/new_look.blade.php). Every selector starts with html.lle-next, and
   colours come from the shared tokens, so the dark theme applies here without more work. */

/* ==========================================================================
   The owner portal: what a property owner sees. Mostly opened on a phone.
   --------------------------------------------------------------------------
   Sections, in the order an owner meets them:
     P0  how this file out-ranks the rest · sizes for a phone · small text
     P1  the frame: staff-preview bar, header, page switcher, manager card,
         message button, footer line
     P2  the parts every page is built from: title, cards, numbers, rows,
         tags, buttons, fields, notes, empty states, tables, pages 1 2 3
     P3  Overview        P4  Tenants, a tenant's ledger and updates
     P5  N4 notices & approvals      P6  Statements and one statement
     P7  Activity        P8  Inspections      P9  Documents
     P10 Messages        P11 Legal matters    P12 Access history
     P13 Signing in (the small pages with no menu)

   P0 ── How this file wins. The shared skin marks buttons, tags and switchers
   with rules that carry the weight of an id. `#lzp` is not an element on the
   page: inside :is() it only lends a rule that same weight, so a rule here
   out-ranks the shared one without touching the shared file.
   ========================================================================== */

/* On a phone every button is a full thumb tall (44px), fields too (the shared skin already
   sets fields to 44px and 16px type, so iOS never zooms the page). */
@media (max-width: 767.98px) {
  html.lle-next.lle-portal { --lz-h-btn: 44px; --lz-h-field: 44px; }
}
/* the portal's own measures: the padding inside a card, the smallest text it ever shows */
html.lle-next.lle-portal { --lzp-pad: 20px; --lzp-small: 13px; }
@media (max-width: 767.98px) { html.lle-next.lle-portal { --lzp-pad: 16px; } }

/* Nothing an owner reads is smaller than 13px: the utility sizes, and sizes written inline. */
html.lle-next.lle-portal :is(.text-xs, .text-\[11px\]) { font-size: var(--lzp-small); line-height: 1.4; }
html.lle-next.lle-portal .text-sm { font-size: var(--lz-t-row); line-height: 1.45; }
html.lle-next.lle-portal :is([style*="font-size:10.5px"], [style*="font-size: 10.5px"], [style*="font-size:11px"], [style*="font-size: 11px"],
  [style*="font-size:11.5px"], [style*="font-size: 11.5px"], [style*="font-size:12px"], [style*="font-size: 12px"],
  [style*="font-size:12.5px"], [style*="font-size: 12.5px"]) { font-size: var(--lzp-small) !important; }

/* Icons the pages ask for by a newer name than the icon font on this site knows (they drew
   as blanks): the same pictures under the names it has. */
html.lle-next.lle-portal .fa-gauge::before { content: "\f3fd"; }
html.lle-next.lle-portal .fa-scale-balanced::before { content: "\f24e"; }
html.lle-next.lle-portal .fa-clock-rotate-left::before { content: "\f1da"; }
html.lle-next.lle-portal .fa-building-user::before { content: "\f1ad"; }
html.lle-next.lle-portal .fa-house-circle-check::before { content: "\f015"; }
html.lle-next.lle-portal .fa-file-lines::before { content: "\f15c"; }
html.lle-next.lle-portal .fa-arrow-right-from-bracket::before { content: "\f2f5"; }
html.lle-next.lle-portal .fa-circle-check::before { content: "\f058"; }
html.lle-next.lle-portal .fa-circle-info::before { content: "\f05a"; }
html.lle-next.lle-portal .fa-note-sticky::before { content: "\f249"; }
html.lle-next.lle-portal .fa-repeat::before { content: "\f01e"; }

/* P1 ── The frame ──────────────────────────────────────────────────────────── */

/* Staff preview bar ("what they see, read only"): a quiet grey strip above the owner's page,
   never mistaken for part of it. Its link back is an ordinary neutral button. */
html.lle-next.lle-portal [data-portal-preview] {
  background: var(--lz-fill-2) !important; color: var(--lz-ink-2) !important;
  box-shadow: inset 0 -1px 0 var(--lz-line) !important;
  padding: 8px var(--lz-gut) !important; gap: 8px 16px !important;
  font-size: var(--lzp-small) !important; font-weight: 500 !important; line-height: 1.4;
}
html.lle-next.lle-portal [data-portal-preview] > span { flex: 1 1 260px; min-width: 0; }
html.lle-next.lle-portal [data-portal-preview] > span > i { color: var(--lz-ink-4); }
html.lle-next.lle-portal [data-portal-preview] > a {
  box-sizing: border-box; min-height: 36px; padding: 0 14px !important;
  border-radius: var(--lz-r-btn) !important;
  background: var(--lz-face) !important; color: var(--lz-ink) !important; box-shadow: var(--lz-face-lift);
  font-size: 14px !important; font-weight: 600 !important; white-space: nowrap;
  transition: background-color .14s ease, transform .08s ease;
}
html.lle-next.lle-portal [data-portal-preview] > a:hover { background: var(--lz-btn-hover) !important; }
html.lle-next.lle-portal [data-portal-preview] > a:active { transform: scale(.97); }
html.lle-next.lle-portal [data-portal-preview] > a > i { color: var(--lz-ink-3); font-size: 12px; }

/* Header: the manager's own name or logo on a plain white bar with a hairline. No blue rule. */
html.lle-next.lle-portal .op-header { background: var(--lz-card); border-bottom: 1px solid var(--lz-line); box-shadow: none; }
html.lle-next.lle-portal .op-header-inner { max-width: 1100px; min-height: 60px; padding: 10px var(--lz-gut); gap: 16px; box-sizing: border-box; }
html.lle-next.lle-portal .op-accent { display: none; }
html.lle-next.lle-portal .op-logo-img { max-height: 36px; max-width: 180px; }
/* the mark, until a manager uploads a logo: the system's blue tile */
html.lle-next.lle-portal :is(#lzp, body) .op-header-inner span[class~="bg-brand"] {
  width: 36px; height: 36px; border-radius: var(--lz-r-icon) !important;
  background: var(--lz-blue) !important; color: var(--lz-on-blue) !important; font-size: 15px; box-shadow: none !important;
}
html.lle-next.lle-portal :is(#lzp, body) .op-header-inner .text-sm[class~="font-extrabold"] {
  font-family: var(--lz-font-display); font-size: 16px; font-weight: 600 !important; letter-spacing: -0.015em; line-height: 1.25; color: var(--lz-ink) !important;
}
html.lle-next.lle-portal .op-header-inner .text-\[11px\] { color: var(--lz-ink-4) !important; font-size: var(--lzp-small); line-height: 1.3; }
html.lle-next.lle-portal .op-header-inner > div:last-child > span { color: var(--lz-ink-4) !important; font-size: 14px; }
/* Switch and Exit: neutral buttons, like every other */
html.lle-next.lle-portal :is(#lzp, body) .op-header-inner :is(a[data-portal-switch], form > button) {
  box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  height: var(--lz-h-btn); min-width: var(--lz-h-btn); padding: 0 14px;
  border: 0 !important; border-radius: var(--lz-r-btn) !important;
  background: var(--lz-face) !important; color: var(--lz-ink) !important; box-shadow: var(--lz-face-lift) !important;
  font-family: var(--lz-font); font-size: 14px; font-weight: 600; line-height: 1; white-space: nowrap; text-decoration: none; cursor: pointer;
  transition: background-color .14s ease, transform .08s ease;
}
html.lle-next.lle-portal :is(#lzp, body) .op-header-inner :is(a[data-portal-switch], form > button):hover { background: var(--lz-btn-hover) !important; }
html.lle-next.lle-portal :is(#lzp, body) .op-header-inner :is(a[data-portal-switch], form > button):active { transform: scale(.97); }
html.lle-next.lle-portal .op-header-inner :is(a[data-portal-switch], form > button) > i { color: var(--lz-ink-3); font-size: 13px; }
html.lle-next.lle-portal .op-header-inner form { margin: 0; }
@media (max-width: 860px) {
  html.lle-next.lle-portal [data-portal-preview] { padding: 8px 16px !important; }
  html.lle-next.lle-portal .op-header-inner { min-height: 56px; padding: 8px 16px; gap: 12px; }
  html.lle-next.lle-portal .op-header-inner > div:last-child { gap: 8px; }
}

/* The page: the system's gutters; room at the foot so the message button never covers the last thing on it. */
html.lle-next.lle-portal .op-shell { max-width: 1100px; gap: 24px; padding: 24px var(--lz-gut) 104px; box-sizing: border-box; }
html.lle-next.lle-portal .op-side { width: 232px; top: 24px; }
html.lle-next.lle-portal .op-main { color: var(--lz-ink); font-size: var(--lz-t-row); }

/* The page switcher. One style at every width: the chosen page is a white chip that lifts.
   Wide screens: a plain list down the left (no box round it). */
html.lle-next.lle-portal :is(#lzp, body) .op-nav {
  padding: 0 !important; border: 0 !important; border-radius: 0 !important;
  background: transparent !important; box-shadow: none !important;
}
html.lle-next.lle-portal .op-nav a {
  box-sizing: border-box; height: 38px; padding: 0 12px; gap: 12px; margin: 0 0 2px;
  border-radius: var(--lz-r-nav);
  color: var(--lz-ink); font-size: var(--lz-t-row); font-weight: 500; letter-spacing: -0.005em; line-height: 1.2;
  transition: background-color .14s ease, color .14s ease, box-shadow .14s ease;
}
html.lle-next.lle-portal .op-nav a > span:not(.op-badge) { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html.lle-next.lle-portal .op-nav a i { width: 18px; flex: none; color: var(--lz-ink-3); font-size: 14px; }
html.lle-next.lle-portal .op-nav a:hover { background: var(--lz-hover); color: var(--lz-ink); }
html.lle-next.lle-portal .op-nav a.active { background: var(--lz-seg-face, var(--lz-card)); color: var(--lz-blue-text); font-weight: 600; box-shadow: var(--lz-seg); }
html.lle-next.lle-portal .op-nav a.active i { color: var(--lz-blue-text); }
html.lle-next.lle-portal .op-nav a:focus-visible { outline: 0; box-shadow: var(--lz-ring); }
/* a count: the round red number of a phone badge */
html.lle-next.lle-portal .op-badge {
  box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center; flex: none;
  min-width: 20px; height: 20px; padding: 0 6px; border-radius: var(--lz-r-round);
  background: var(--lz-count); color: var(--lz-on-blue);
  font-size: var(--lzp-small); font-weight: 600; line-height: 1; letter-spacing: 0; font-variant-numeric: tabular-nums;
}

/* Phones and tablets: the same switcher as one grey track that slides sideways. The chosen
   page stays in view while the others slide under it. */
@media (max-width: 860px) {
  html.lle-next.lle-portal .op-shell { gap: 16px; padding: 16px 16px 64px; }
  html.lle-next.lle-portal :is(#lzp, body) .op-nav {
    display: flex; align-items: center; gap: 2px; box-sizing: border-box;
    height: 44px; padding: 2px !important; border-radius: var(--lz-r-btn) !important;
    background: var(--lz-fill-3) !important;
    overflow-x: auto; overflow-y: hidden; scrollbar-width: none; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain;
  }
  html.lle-next.lle-portal .op-nav::-webkit-scrollbar { display: none; }
  html.lle-next.lle-portal .op-nav a {
    flex: none; height: 40px; margin: 0; padding: 0 14px; gap: 6px; border-radius: 8px;
    color: var(--lz-ink-2); font-weight: 500; white-space: nowrap;
  }
  html.lle-next.lle-portal .op-nav a > span:not(.op-badge) { overflow: visible; }
  html.lle-next.lle-portal .op-nav a i { display: none; }
  html.lle-next.lle-portal .op-nav a:hover { background: transparent; }
  html.lle-next.lle-portal .op-nav a.active { position: sticky; left: 2px; right: 2px; z-index: 1; color: var(--lz-ink); }
  html.lle-next.lle-portal .op-nav .op-badge { margin-left: 2px; }
}

/* "Your property manager": one small card. Who they are, how to reach them, one button. */
html.lle-next.lle-portal :is(#lzp, body) .op-side > div[class~="rounded-2xl"] { margin-top: 16px; padding: 16px; }
html.lle-next.lle-portal :is(#lzp, body) .op-side > div[class~="rounded-2xl"] > .text-xs[class~="uppercase"] {
  color: var(--lz-ink-4) !important; font-weight: 500 !important; letter-spacing: 0; text-transform: none;
}
html.lle-next.lle-portal .op-side > div[class~="rounded-2xl"] > .text-sm { margin-top: 2px; font-weight: 600; }
html.lle-next.lle-portal .op-side > div[class~="rounded-2xl"] > .text-xs:not([class~="uppercase"]) { margin-top: 2px; }
html.lle-next.lle-portal .op-side > div[class~="rounded-2xl"] > .text-xs > i { width: 16px; margin-right: 6px; color: var(--lz-ink-faint); text-align: center; }
html.lle-next.lle-portal :is(#lzp, body) .op-side > div[class~="rounded-2xl"] a[href^="mailto:"],
html.lle-next.lle-portal :is(#lzp, body) .op-side > div[class~="rounded-2xl"] a[href^="tel:"] { color: var(--lz-blue-text) !important; text-decoration: none; }
/* its button is a Secondary (the page keeps its one blue button for its own main action) */
html.lle-next.lle-portal :is(#lzp, body) .op-side > div[class~="rounded-2xl"] > a[class~="bg-brand"] {
  box-sizing: border-box; display: flex; align-items: center; justify-content: center; gap: 7px;
  width: 100%; min-height: 36px; margin-top: 12px; padding: 0 12px;
  border-radius: var(--lz-r-btn) !important;
  background: var(--lz-tint) !important; color: var(--lz-blue-text) !important; box-shadow: none !important;
  font-size: 14px; font-weight: 600 !important; line-height: 1.2; text-align: center;
  transition: background-color .14s ease, transform .08s ease;
}
html.lle-next.lle-portal :is(#lzp, body) .op-side > div[class~="rounded-2xl"] > a[class~="bg-brand"]:hover { background: var(--lz-tint-press) !important; }
html.lle-next.lle-portal :is(#lzp, body) .op-side > div[class~="rounded-2xl"] > a[class~="bg-brand"]:active { transform: scale(.97); }
html.lle-next.lle-portal .op-side > div[class~="rounded-2xl"] > a[class~="bg-brand"] > i { font-size: 12px; }

/* On a phone the manager is one button (the message button below), not a card above every
   page: the card moves to the foot of the page and its own copy of that button is put away. */
@media (max-width: 860px) {
  html.lle-next.lle-portal .op-shell { position: relative; }
  html.lle-next.lle-portal .op-side { display: contents; }
  html.lle-next.lle-portal .op-nav { order: 0; }
  html.lle-next.lle-portal .op-main { order: 1; }
  html.lle-next.lle-portal :is(#lzp, body) .op-side > div[class~="rounded-2xl"] { order: 2; margin-top: 8px; }
  html.lle-next.lle-portal.lzx-pmsg body:not(lz0) .op-side > div[class~="rounded-2xl"] > a[class~="bg-brand"] { display: none; }
  /* the Overview ends with the same card in full, so the short one is not repeated under it */
  html.lle-next.lle-portal.lzx-pcontact .op-shell:not(.lz0) .op-side > div[class~="rounded-2xl"] { display: none; }
}

/* The message button: one on every screen. Wide screens have it in the manager card beside the
   page, so the floating copy is put away there; on a phone it is one bar along the foot of the
   screen. (On a short or narrow window the floating one stays: a quiet white button.) */
html.lle-next.lle-portal body > a[title="Message the management team"] {
  box-sizing: border-box; height: 40px; padding: 0 14px 0 12px !important; gap: 8px !important;
  right: 24px !important; bottom: 24px !important;
  border-radius: var(--lz-r-btn) !important;
  background: var(--lz-card) !important; color: var(--lz-ink) !important;
  box-shadow: var(--lz-float-2) !important;
  font-family: var(--lz-font); font-size: 14px !important; font-weight: 600 !important; line-height: 1; white-space: nowrap;
  transition: transform .14s cubic-bezier(.2, .8, .2, 1), box-shadow .14s ease;
}
html.lle-next.lle-portal body > a[title="Message the management team"] > i { color: var(--lz-blue); font-size: 15px; }
html.lle-next.lle-portal body > a[title="Message the management team"]:active { transform: scale(.97); }
html.lle-next.lle-portal body > a[title="Message the management team"]:focus-visible { outline: 0; box-shadow: var(--lz-float-2), var(--lz-ring) !important; }
html.lle-next.lle-portal body > a[title="Message the management team"] .op-badge { margin-left: 0 !important; }
@media (min-width: 861px) and (min-height: 720px) {
  html.lle-next.lle-portal.lzx-pside body:not(.lz0):not(lz0):not(lz0) > a[title="Message the management team"] { display: none !important; }
  html.lle-next.lle-portal.lzx-pside body:not(.lz0):not(lz0):not(lz0) .op-shell { padding-bottom: 56px; }
}
@media (max-width: 767.98px) {
  html.lle-next.lle-portal body > a[title="Message the management team"] {
    left: 16px; right: 16px !important; bottom: calc(12px + env(safe-area-inset-bottom, 0px)) !important;
    height: var(--lz-h-btn); justify-content: center;
    color: var(--lz-blue-text) !important; font-size: var(--lz-t-row) !important;
  }
}
/* on Messages itself the button would only lead to the page you are on, and sit over Send */
html.lle-next.lle-portal.lzx-pmsgs body:not(.lz0):not(.lz0):not(lz0) > a[title="Message the management team"] { display: none !important; }
/* room at the foot of a narrow page for the bar, wherever there is one */
@media (max-width: 860px) {
  html.lle-next.lle-portal.lzx-pmsg:not(.lzx-pmsgs) body:not(.lz0):not(.lz0):not(lz0):not(lz0) .op-shell {
    padding-bottom: calc(118px + env(safe-area-inset-bottom, 0px));
  }
}

/* The last line of every page */
html.lle-next.lle-portal :is(#lzp, body) .op-main > .mt-6.text-center:last-child { margin-top: 28px; color: var(--lz-ink-4) !important; font-size: var(--lzp-small); }
@media (max-width: 860px) {
  /* under the manager card, which now ends the page */
  html.lle-next.lle-portal .op-main > .mt-6.text-center:last-child { position: absolute; left: 16px; right: 16px; bottom: 22px; margin: 0; }
  html.lle-next.lle-portal.lzx-pmsg:not(.lzx-pmsgs) body:not(.lz0):not(.lz0):not(lz0):not(lz0) .op-main > .mt-6.text-center:last-child {
    bottom: calc(76px + env(safe-area-inset-bottom, 0px));
  }
}

/* P2 ── The parts every page is built from ───────────────────────────────── */

/* The page title: one size on every page; one grey line under it says what the page is. */
html.lle-next.lle-portal .op-main h1 {
  margin: 0; color: var(--lz-ink) !important;
  font-family: var(--lz-font-display); font-size: var(--lz-t-title) !important; font-weight: 700 !important;
  letter-spacing: -0.03em; line-height: 1.12; overflow-wrap: anywhere;
}
html.lle-next.lle-portal .op-main h1 > i { display: none; }
html.lle-next.lle-portal .op-main h1 > span[class~="font-normal"] { color: var(--lz-ink-4) !important; font-weight: 700; }
html.lle-next.lle-portal :is(#lzp, body) .op-main h1 + :is(p, div) {
  max-width: 64ch; margin-top: 6px; color: var(--lz-ink-4) !important; font-size: var(--lz-t-row); line-height: 1.4;
}
/* 20px from the title to the first card; 16px between cards */
html.lle-next.lle-portal .op-main > :is(.mb-4, .mb-5, .mb-6, .mb-3) { margin-bottom: var(--lz-gap); }
html.lle-next.lle-portal .op-main > div:is(.mb-4, .mb-5):has(h1):not([class~="rounded-2xl"]) { margin-bottom: 20px; padding: 0 2px; }
html.lle-next.lle-portal .op-main [data-owner-upload] { margin-bottom: var(--lz-gap) !important; }
/* a title that sits inside a card is the size of a sheet's title */
html.lle-next.lle-portal .op-main [class~="rounded-2xl"]:not([class*="bg-gradient-to"]) h1 { font-size: 22px !important; letter-spacing: -0.022em; line-height: 1.2; }

/* Back: the arrow before a title is a quiet square button; a worded "← Back" is a blue text action. */
html.lle-next.lle-portal .op-main > div[class~="flex"] > a.lzx-pback:not(.lz0):not(lz0) {
  display: inline-flex; align-items: center; justify-content: center; flex: none; align-self: flex-start;
  width: 36px; height: 36px; margin: -1px 2px 0 -8px; border-radius: var(--lz-r-icon);
  color: var(--lz-ink-3) !important; font-size: 15px; text-decoration: none;
  transition: background-color .14s ease, color .14s ease, transform .08s ease;
}
html.lle-next.lle-portal .op-main > div[class~="flex"] > a.lzx-pback:not(.lz0):not(lz0):hover { background: var(--lz-hover); color: var(--lz-ink) !important; }
html.lle-next.lle-portal .op-main > div[class~="flex"] > a.lzx-pback:not(.lz0):not(lz0):active { transform: scale(.97); }
html.lle-next.lle-portal :is(#lzp, body) .op-main > div > a[class~="text-sm"]:first-child:is([class~="no-underline"], [class~="text-brand"]) {
  display: inline-flex; align-items: center; min-height: 36px;
  color: var(--lz-blue-text) !important; font-size: var(--lz-t-row); font-weight: 500 !important; text-decoration: none !important;
}
html.lle-next.lle-portal .op-main > div.lzx-pcrumb:not(.lz0):not(.lz0):not(lz0) { margin-bottom: 8px; }

/* Cards: white, 16px corners, a soft shadow, no border. */
html.lle-next.lle-portal :is(#lzp, body) .op-main :is(div, section, a, article, p)[class~="rounded-2xl"]:is([class~="bg-white"], [class~="shadow-soft"]) {
  border: 0 !important; border-radius: var(--lz-r-card) !important;
  background: var(--lz-card) !important; box-shadow: var(--lz-float-1) !important; color: var(--lz-ink);
}
html.lle-next.lle-portal .op-main [class~="rounded-2xl"]:is(.p-5, .p-6) { padding: var(--lzp-pad); }
html.lle-next.lle-portal .op-main :is(.px-5) { padding-left: var(--lzp-pad); padding-right: var(--lzp-pad); }
html.lle-next.lle-portal .op-main :is(.p-5) { padding: var(--lzp-pad); }
html.lle-next.lle-portal :is(.border, .border-b, .border-t) { border-color: var(--lz-line); }
html.lle-next.lle-portal .divide-y > * + * { border-top-color: var(--lz-line); }

/* The top of a card: its title, perhaps one grey line, perhaps one action. No grey band. */
html.lle-next.lle-portal :is(#lzp, body) .op-main [class~="rounded-2xl"] > :is([class~="bg-slate-50"][class~="border-b"], [class~="border-b"][class~="pt-5"]),
html.lle-next.lle-portal :is(#lzp, body) .op-main :is([data-home-n4-served], [data-home-shared-notices]) > div:first-child {
  padding: 18px var(--lzp-pad) 10px; border-bottom: 0 !important; background: transparent !important;
}
html.lle-next.lle-portal :is(#lzp, body) .op-main h2 {
  margin-top: 0; color: var(--lz-ink) !important;
  font-family: var(--lz-font-display); font-size: 20px; font-weight: 700 !important; letter-spacing: -0.022em; line-height: 1.25; text-transform: none;
}
html.lle-next.lle-portal :is(#lzp, body) .op-main :is([class~="rounded-2xl"], .pm-card, .ac-card, .ah-card) h2 {
  margin-bottom: 0; font-size: var(--lz-t-card); font-weight: 600 !important; letter-spacing: -0.015em;
}
html.lle-next.lle-portal .op-main :is(h2, h3) > i { display: none; }
html.lle-next.lle-portal :is(#lzp, body) .op-main h2 > span { color: var(--lz-ink-4) !important; font-size: var(--lz-t-row); font-weight: 500 !important; letter-spacing: 0; }
html.lle-next.lle-portal :is(#lzp, body) .op-main [class~="rounded-2xl"] > div > :is(h2 + p, h2 + div, div > h2 + p) { margin: 4px 0 0; color: var(--lz-ink-4) !important; font-size: var(--lzp-small); line-height: 1.4; }
/* the link beside a card's title ("View all") */
html.lle-next.lle-portal :is(#lzp, body) .op-main [class~="rounded-2xl"] > div > h2 ~ a:not([class*="bg-"]) {
  display: inline-flex; align-items: center; min-height: 28px;
  color: var(--lz-blue-text) !important; font-size: var(--lz-t-row); font-weight: 500 !important; text-decoration: none !important;
}

/* A label over a number is a quiet grey line (never small capitals); the number is the loud part. */
html.lle-next.lle-portal :is(#lzp, body) .op-main .text-xs[class~="uppercase"] {
  color: var(--lz-ink-4) !important; font-weight: 500 !important; letter-spacing: 0; text-transform: none;
}
html.lle-next.lle-portal .op-main :is(.text-2xl, .text-xl, .text-lg)[class~="font-extrabold"]:not(h1) {
  font-family: var(--lz-font-display); letter-spacing: -0.02em; line-height: 1.15; font-variant-numeric: tabular-nums;
}
html.lle-next.lle-portal .op-main .text-2xl[class~="font-extrabold"] { font-size: 24px; }
html.lle-next.lle-portal .op-main .text-xl[class~="font-extrabold"]:not(h1) { font-size: 22px; }
html.lle-next.lle-portal .op-main .text-lg[class~="font-extrabold"] { font-size: 20px; }
html.lle-next.lle-portal .op-main .text-base { font-size: var(--lz-t-card); }
html.lle-next.lle-portal .op-main .tabular-nums, html.lle-next.lle-portal .op-main .op-amt { font-variant-numeric: tabular-nums; }

/* Tags: one shape, never smaller than 13px, and a long one may wrap instead of pushing the page wide. */
html.lle-next.lle-portal .op-main :is(.op-chip, .pm-chip, .ac-kind, .ah-kind, .ac-status, [data-n4-state], span[class~="rounded-full"][class~="text-xs"]) {
  display: inline-flex; align-items: center; gap: 4px; box-sizing: border-box; max-width: 100%;
  min-height: 22px; padding: 2px 8px; margin: 0; border: 0; border-radius: var(--lz-r-chip);
  background: var(--lz-fill-2); color: var(--lz-ink-2);
  font-size: var(--lzp-small); font-weight: 600; line-height: 1.3; letter-spacing: 0; text-transform: none; text-decoration: none; vertical-align: middle;
}
html.lle-next.lle-portal :is(#lzp, body) :is(#lzp, .lezy-tw) .lzx-chip {
  height: auto; min-height: 22px !important; max-width: 100%; padding: 2px 8px !important;
  font-size: var(--lzp-small) !important; line-height: 1.3 !important; white-space: normal;
}
html.lle-next.lle-portal :is(#lzp, body) :is(#lzp, .lezy-tw) .lzx-num { min-width: 22px; height: 22px; font-size: var(--lzp-small) !important; }
/* what a tag means, by the page's own names (the shared script paints the same looks when it runs) */
html.lle-next.lle-portal .op-main :is(.op-chip-green, .ac-kind--rent, span[class~="rounded-full"][class~="bg-emerald-100"]) { background: var(--lz-go-tint); color: var(--lz-go); }
html.lle-next.lle-portal .op-main :is(.op-chip-rose, span[class~="rounded-full"][class~="bg-rose-100"]) { background: var(--lz-bad-tint); color: var(--lz-bad); }
html.lle-next.lle-portal .op-main :is(.ac-kind--payouts, .ah-kind--sign_in, span[class~="rounded-full"]:is([class~="bg-indigo-50"], [class~="bg-brand"])) { background: var(--lz-tint); color: var(--lz-blue-text); }
/* a tag that is also a link says so with its arrow, in the same quiet colours */
html.lle-next.lle-portal .op-main a.op-chip > i { font-size: 9px; opacity: .7; }

/* Buttons. The shared skin gives every button its shape and weight; here only what a phone needs:
   15px words on the 44px button, and the small text actions get a full thumb of height. */
html.lle-next.lle-portal .op-main :is(a, button)[class~="bg-brand"],
html.lle-next.lle-portal .op-main :is(a, button)[class~="rounded-lg"][class~="border"]:not(.op-choice) {
  box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  min-height: var(--lz-h-btn); padding: 0 14px; border-radius: var(--lz-r-btn) !important;
  font-family: var(--lz-font); font-size: 14px; font-weight: 600 !important; line-height: 1.2; white-space: nowrap; text-decoration: none !important; cursor: pointer;
}
html.lle-next.lle-portal .op-main :is(a, button)[class~="bg-brand"] > i,
html.lle-next.lle-portal .op-main :is(a, button)[class~="rounded-lg"][class~="border"] > i { font-size: .92em; }
html.lle-next.lle-portal .op-main button { font-family: var(--lz-font); }
@media (max-width: 767.98px) {
  html.lle-next.lle-portal :is(#lzp, body) :is(#lzp, .lezy-tw) .lzx-btn { padding: 0 16px !important; font-size: var(--lz-t-row) !important; }
  html.lle-next.lle-portal :is(#lzp, body) :is(#lzp, .lezy-tw) .lzx-mini { height: 44px; min-height: 44px !important; padding: 0 10px !important; font-size: var(--lz-t-row) !important; }
  html.lle-next.lle-portal .op-main :is(a, button)[class~="bg-brand"],
  html.lle-next.lle-portal .op-main :is(a, button)[class~="rounded-lg"][class~="border"]:not(.op-choice) { padding: 0 16px; font-size: var(--lz-t-row); }
}

/* Fields: the one field. White, a hairline, the control corner, a blue ring when it is the one in use. */
html.lle-next.lle-portal :is(#lzp, body) .op-main :is(input[type="text"], input[type="email"], input[type="search"], input[type="tel"], input[type="number"], input[type="date"], input[type="password"], input:not([type]), select, textarea) {
  box-sizing: border-box; max-width: 100%;
  border: 1px solid var(--lz-field-line) !important; border-radius: var(--lz-r-field) !important;
  background-color: var(--lz-card) !important; color: var(--lz-ink) !important; box-shadow: none !important;
  font-family: var(--lz-font); font-size: var(--lz-t-row); letter-spacing: 0;
  transition: border-color .15s ease, box-shadow .15s ease;
}
html.lle-next.lle-portal :is(#lzp, body) .op-main :is(input[type="text"], input[type="email"], input[type="search"], input[type="tel"], input[type="number"], input[type="date"], input[type="password"], input:not([type]), select) {
  height: var(--lz-h-field); padding: 0 12px; line-height: normal;
}
html.lle-next.lle-portal :is(#lzp, body) .op-main select { padding-right: 30px; cursor: pointer; }
html.lle-next.lle-portal :is(#lzp, body) .op-main textarea { display: block; width: 100%; min-height: 72px; padding: 9px 12px; line-height: 1.45; resize: vertical; }
html.lle-next.lle-portal :is(#lzp, body) .op-main :is(input, select, textarea):hover { border-color: var(--lz-line-strong) !important; }
html.lle-next.lle-portal :is(#lzp, body) .op-main :is(input, select, textarea):focus { border-color: var(--lz-blue) !important; box-shadow: var(--lz-ring) !important; outline: 0 !important; }
html.lle-next.lle-portal .op-main :is(input, textarea)::placeholder { color: var(--lz-ink-faint); opacity: 1; }
@media (max-width: 767.98px) {
  html.lle-next.lle-portal :is(#lzp, body) .op-main :is(input[type="text"], input[type="email"], input[type="search"], input[type="tel"], input[type="number"], input[type="date"], input[type="password"], input:not([type]), select, textarea) { font-size: 16px !important; }
}
/* the words above a field */
html.lle-next.lle-portal :is(#lzp, body) .op-main label:is([class~="text-xs"], [class~="text-sm"]):not([class~="cursor-pointer"]):not(:has(input[type="checkbox"])) {
  color: var(--lz-ink) !important; font-size: 14px; font-weight: 500 !important; line-height: 1.35;
}
html.lle-next.lle-portal .op-main input[type="checkbox"] { flex: none; accent-color: var(--lz-blue); }
html.lle-next.lle-portal .op-main input[type="file"] { max-width: 100%; color: var(--lz-ink-4); font-size: var(--lzp-small); }

/* A note that explains a card is plain grey words under it, not one more box. */
html.lle-next.lle-portal :is(#lzp, body) .op-main > div[class~="rounded-xl"][class~="border"]:is([class~="bg-white"], [class~="bg-slate-50"], [class~="bg-blue-50"]) {
  margin: -4px 0 var(--lz-gap); padding: 0 4px;
  border: 0 !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important;
  color: var(--lz-ink-4) !important; font-size: var(--lzp-small); line-height: 1.45;
}
html.lle-next.lle-portal :is(#lzp, body) .op-main > div[class~="rounded-xl"][class~="border"]:is([class~="bg-white"], [class~="bg-slate-50"], [class~="bg-blue-50"]) strong { color: var(--lz-ink-2) !important; font-weight: 600; }
html.lle-next.lle-portal :is(#lzp, body) .op-main > p[class~="text-xs"] { margin-top: 10px; padding: 0 4px; color: var(--lz-ink-4) !important; }

/* Something happened (saved, sent, refused): a tinted box that says so in ink. */
html.lle-next.lle-portal :is(#lzp, body) .op-main :is([role="status"], [role="alert"], div[class~="border-emerald-200"][class~="bg-emerald-50"], :is(div, p)[class~="border-amber-200"][class~="bg-amber-50"], div[class~="border-amber-300"][class~="bg-amber-50"]) {
  padding: 12px 16px; border: 0 !important; border-radius: 14px !important; box-shadow: none !important;
  color: var(--lz-ink) !important; font-size: var(--lz-t-row); font-weight: 400; line-height: 1.4;
}
html.lle-next.lle-portal :is(#lzp, body) .op-main :is([role="status"], div[class~="border-emerald-200"][class~="bg-emerald-50"]) { background: var(--lz-go-tint) !important; }
html.lle-next.lle-portal :is(#lzp, body) .op-main [role="alert"] { background: var(--lz-bad-tint) !important; }
html.lle-next.lle-portal :is(#lzp, body) .op-main :is(div, p):is([class~="border-amber-200"], [class~="border-amber-300"])[class~="bg-amber-50"] { background: var(--lz-fill-2) !important; }

/* Nothing here yet: a calm card, a faint icon, one grey sentence. */
html.lle-next.lle-portal .op-main [class~="rounded-2xl"][class~="text-center"]:is(.p-10, .p-8) { padding: 44px 24px; }
html.lle-next.lle-portal :is(#lzp, body) .op-main [class~="text-center"] :is(i[class~="text-3xl"], .text-3xl > i) { color: var(--lz-ink-faint) !important; font-size: 28px; }
html.lle-next.lle-portal :is(#lzp, body) .op-main [class~="rounded-2xl"][class~="text-center"] > .font-extrabold { color: var(--lz-ink) !important; font-size: var(--lz-t-card); font-weight: 600 !important; }
html.lle-next.lle-portal :is(#lzp, body) .op-main [class~="rounded-2xl"][class~="text-center"] > p { color: var(--lz-ink-4) !important; font-size: var(--lz-t-row); }
html.lle-next.lle-portal :is(#lzp, body) .op-main :is(div, p, td)[class~="text-center"][class~="text-slate-500"]:is(.py-5, .py-6, .py-10) {
  padding-top: 28px; padding-bottom: 28px; color: var(--lz-ink-4) !important; font-size: var(--lz-t-row);
}

/* Rows in a card: a hairline between them, the words on the left, one action on the right. */
html.lle-next.lle-portal .op-main [class~="rounded-2xl"] > div[class~="border-b"][class~="px-5"]:not([class~="bg-slate-50"]) { padding-top: 12px; padding-bottom: 12px; }
html.lle-next.lle-portal :is(#lzp, body) .op-main .text-slate-400 { color: var(--lz-ink-4) !important; }
/* the 32px icon tile at the start of a row */
html.lle-next.lle-portal :is(#lzp, body) .op-main span[class~="h-9"][class~="w-9"] {
  width: 32px; height: 32px; border-radius: 8px !important;
  background: var(--lz-tint) !important; color: var(--lz-blue-text) !important; font-size: 14px;
}

/* Tables: quiet headings, hairlines, numbers in line. On a phone a table slides inside its own
   card (the first column stays put) and the page itself never slides sideways. */
html.lle-next.lle-portal .op-table { font-size: var(--lz-t-row); color: var(--lz-ink); }
html.lle-next.lle-portal .op-main table th,
html.lle-next.lle-portal :is(#lzp, body) .op-main table thead tr {
  color: var(--lz-ink-4) !important; font-size: var(--lzp-small); font-weight: 600 !important; letter-spacing: 0; text-transform: none; white-space: nowrap;
}
html.lle-next.lle-portal .op-table th { padding: 10px var(--lzp-pad); background: transparent; border-bottom: 1px solid var(--lz-line); }
html.lle-next.lle-portal .op-table td { padding: 12px var(--lzp-pad); border-bottom: 1px solid var(--lz-line); vertical-align: middle; }
html.lle-next.lle-portal .op-main .overflow-x-auto { -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; }
@media (max-width: 767.98px) {
  html.lle-next.lle-portal .op-table th, html.lle-next.lle-portal .op-table td { padding: 11px 12px; white-space: nowrap; }
  html.lle-next.lle-portal .op-table :is(th, td):first-child { position: sticky; left: 0; z-index: 1; padding-left: var(--lzp-pad); background: var(--lz-card); box-shadow: 1px 0 0 var(--lz-line); }
}

/* A fold ("What counts", "Earlier updates"): its heading is a blue text action. */
html.lle-next.lle-portal :is(#lzp, body) .op-main details > summary:not([style*="min-height"]) { color: var(--lz-blue-text) !important; font-size: var(--lz-t-row); font-weight: 500 !important; }

/* P3 ── Overview ───────────────────────────────────────────────────────────── */

/* One number first: what is held for the owner, on the one blue tile of the portal. */
html.lle-next.lle-portal :is(#lzp, body) :is(#lzp, .op-main) [class*="bg-gradient-to"] > div[class*="bg-white/"] {
  display: block; box-sizing: border-box; max-width: none; margin-top: 20px; padding: 18px 20px 20px;
  border: 0 !important; border-radius: var(--lz-r-card) !important;
  background: var(--lz-hero) !important; color: var(--lz-on-blue) !important;
  box-shadow: var(--lz-face-blue-lift) !important;
}
html.lle-next.lle-portal :is(#lzp, body) :is(#lzp, .op-main) [class*="bg-gradient-to"] > div[class*="bg-white/"] :is(div, span, a) {
  color: var(--lz-on-blue) !important; opacity: 1 !important;
}
/* its label, and the two lines that say what the number is: white, a step quieter */
html.lle-next.lle-portal :is(#lzp, body) :is(#lzp, .op-main) [class*="bg-gradient-to"] > div[class*="bg-white/"] > div:not([class~="font-extrabold"]) {
  color: var(--lz-on-blue) !important; color: color-mix(in srgb, var(--lz-on-blue) 86%, transparent) !important;
  font-size: var(--lzp-small); font-weight: 500 !important; letter-spacing: 0; line-height: 1.45; text-transform: none;
}
html.lle-next.lle-portal :is(#lzp, body) :is(#lzp, .op-main) [class*="bg-gradient-to"] > div[class*="bg-white/"] > .font-extrabold {
  margin: 4px 0 2px; font-size: var(--lz-t-number); font-weight: 700 !important; letter-spacing: -0.03em; line-height: 1.1;
}
html.lle-next.lle-portal :is(#lzp, body) :is(#lzp, .op-main) [data-home-balance-scope] { max-width: 62ch; margin-top: 12px; font-weight: 400 !important; }
html.lle-next.lle-portal :is(#lzp, body) :is(#lzp, .op-main) [data-home-balance-scope] a { font-weight: 600 !important; text-decoration: underline !important; text-underline-offset: 2px; white-space: nowrap; }
@media (min-width: 861px) {
  /* wide screens: the number on the left, what it means on the right */
  html.lle-next.lle-portal :is(#lzp, body) :is(#lzp, .op-main) [class*="bg-gradient-to"] > div[class*="bg-white/"]:has(> [data-home-balance-scope]) {
    display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 48px; align-items: center; padding: 20px 24px 22px;
  }
  html.lle-next.lle-portal :is(#lzp, .op-main) [class*="bg-gradient-to"] > div[class*="bg-white/"] > div:not([data-home-balance-scope]) { grid-column: 1; }
  html.lle-next.lle-portal :is(#lzp, body) :is(#lzp, .op-main) [data-home-balance-scope] { grid-column: 2; grid-row: 1 / span 3; justify-self: end; max-width: 50ch; margin-top: 0; }
}

/* This month: three plain numbers. Side by side with room; rows with a hairline on a phone. */
html.lle-next.lle-portal .op-main [data-portal-this-month] > div[class~="grid"] {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; padding: 6px var(--lzp-pad) var(--lzp-pad);
}
html.lle-next.lle-portal .op-main [data-portal-this-month] > div[class~="grid"] > div { padding: 14px 16px; border-radius: 12px; background: var(--lz-fill-1, var(--lz-fill-2)); }
html.lle-next.lle-portal .op-main [data-portal-this-month] > div[class~="grid"] .text-lg { margin-top: 4px; }
@media (max-width: 767.98px) {
  html.lle-next.lle-portal .op-main [data-portal-this-month] > div[class~="grid"] { grid-template-columns: minmax(0, 1fr); gap: 0; padding-top: 0; padding-bottom: 6px; }
  html.lle-next.lle-portal .op-main [data-portal-this-month] > div[class~="grid"] > div {
    display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; column-gap: 12px;
    padding: 12px 0; border-radius: 0; background: none; border-top: 1px solid var(--lz-line);
  }
  html.lle-next.lle-portal .op-main [data-portal-this-month] > div[class~="grid"] > div:first-child { border-top: 0; }
  html.lle-next.lle-portal :is(#lzp, body) .op-main [data-portal-this-month] > div[class~="grid"] .text-xs[class~="uppercase"] { color: var(--lz-ink) !important; font-size: var(--lz-t-row); font-weight: 400 !important; }
  html.lle-next.lle-portal .op-main [data-portal-this-month] > div[class~="grid"] .text-lg { margin: 0; font-size: var(--lz-t-card); font-weight: 600 !important; }
  html.lle-next.lle-portal .op-main [data-portal-this-month] > div[class~="grid"] > div > div:nth-child(n+3) { grid-column: 1 / -1; }
}

/* Your properties: the units are quiet grey tags (they are names, not a status) */
html.lle-next.lle-portal :is(#lzp, body) :is(#lzp, .lezy-tw) li[data-portal-unit] {
  border: 0 !important; border-radius: var(--lz-r-chip) !important;
  background: var(--lz-fill-2) !important; color: var(--lz-ink-2) !important; font-weight: 600 !important;
}
html.lle-next.lle-portal :is(#lzp, body) :is(#lzp, .lezy-tw) li[data-portal-unit] > span { color: var(--lz-ink-4) !important; font-weight: 400 !important; }
html.lle-next.lle-portal .op-main [data-portal-unit-count] { color: var(--lz-ink-4) !important; font-weight: 400; }

/* A statement in a list: its month, what was held, View and PDF. On a phone the two buttons drop under the month. */
html.lle-next.lle-portal .op-main [class~="rounded-2xl"] > div.lzx-pmonth:not(lz0):not(lz0) > div > span.text-sm { color: var(--lz-ink-4) !important; font-variant-numeric: tabular-nums; }
@media (max-width: 767.98px) {
  html.lle-next.lle-portal .op-main [class~="rounded-2xl"] > div[class~="border-b"].lzx-pmonth:not(lz0):not(lz0) { flex-wrap: wrap; row-gap: 10px; }
  html.lle-next.lle-portal .op-main [class~="rounded-2xl"] > div[class~="border-b"].lzx-pmonth:not(lz0):not(lz0) > div:last-child { width: 100%; gap: 8px; }
  html.lle-next.lle-portal .op-main [class~="rounded-2xl"] > div[class~="border-b"].lzx-pmonth:not(lz0):not(lz0) > div:last-child > span { margin-right: auto; }
}

/* Send us your documents: what it is, then one large place to tap or drop. */
html.lle-next.lle-portal .op-main [data-owner-upload] > form { padding: 6px var(--lzp-pad) var(--lzp-pad); }
html.lle-next.lle-portal :is(#lzp, body) .op-main #lzUploadKind { width: 100%; margin-bottom: 12px !important; }
html.lle-next.lle-portal :is(#lzp, body) .op-main #lzUploadDrop {
  padding: 24px 16px; border: 1px dashed var(--lz-line-strong) !important; border-radius: 12px !important;
  background: var(--lz-fill-1, var(--lz-fill-2)) !important; color: var(--lz-ink-4) !important;
  font-size: var(--lz-t-row); font-weight: 400 !important; line-height: 1.5;
  transition: background-color .14s ease, border-color .14s ease;
}
html.lle-next.lle-portal :is(#lzp, body) .op-main #lzUploadDrop:hover,
html.lle-next.lle-portal :is(#lzp, body) .op-main #lzUploadDrop[style*="background"] { border-color: var(--lz-blue) !important; background: var(--lz-tint) !important; }
html.lle-next.lle-portal .op-main #lzUploadDrop strong { color: var(--lz-blue-text); font-weight: 600; }
html.lle-next.lle-portal :is(#lzp, body) .op-main #lzUploadDrop > span { color: var(--lz-ink-4) !important; }
html.lle-next.lle-portal .op-main #lzUploadList { font-size: var(--lz-t-row); }
html.lle-next.lle-portal .op-main #lzUploadList li { padding: 6px 0; color: var(--lz-ink-2); overflow-wrap: anywhere; }
/* (the upload script writes its result in green or red itself: the same two colours, from the palette) */
html.lle-next.lle-portal .op-main #lzUploadList li[style*="rgb(4, 120, 87)"] { color: var(--lz-go) !important; }
html.lle-next.lle-portal .op-main #lzUploadList li[style*="rgb(185, 28, 28)"] { color: var(--lz-bad) !important; }
html.lle-next.lle-portal :is(#lzp, body) .op-main #lzUploadList a { margin-left: 10px; color: var(--lz-blue-text) !important; font-weight: 500 !important; text-decoration: none; }

/* The manager's details at the foot of the Overview */
html.lle-next.lle-portal .op-main [data-portal-contact] h2 { margin-bottom: 6px !important; }
html.lle-next.lle-portal :is(#lzp, body) .op-main [data-portal-contact] a { color: var(--lz-blue-text) !important; text-decoration: none; overflow-wrap: anywhere; }
html.lle-next.lle-portal :is(#lzp, body) .op-main [data-portal-contact] > p { margin-top: 8px; color: var(--lz-ink-4) !important; }

/* A note from the manager's company: a tinted note, no stripe down its side */
html.lle-next.lle-portal [data-portal-banner] {
  gap: 12px !important; margin: 0 0 var(--lz-gap) !important; padding: 14px 16px !important;
  border: 0 !important; border-radius: var(--lz-r-card) !important;
  background: var(--lz-tint) !important; color: var(--lz-ink) !important;
}
html.lle-next.lle-portal [data-portal-banner] > span { border-radius: 8px !important; background: var(--lz-card) !important; color: var(--lz-blue-text) !important; font-size: 14px; }
html.lle-next.lle-portal [data-portal-banner] > div > div:first-child { margin-bottom: 2px !important; color: var(--lz-blue-text) !important; font-size: var(--lzp-small) !important; font-weight: 600 !important; letter-spacing: 0 !important; }
html.lle-next.lle-portal [data-portal-banner] [data-portal-banner-text] { color: var(--lz-ink) !important; font-size: var(--lz-t-row) !important; line-height: 1.45 !important; }

/* "N earlier requests have no answer": a row that opens them, not an amber box */
html.lle-next.lle-portal :is(#lzp, body) .op-main a[data-n4-callout] {
  padding: 14px var(--lzp-pad); border: 0 !important; border-radius: var(--lz-r-card) !important;
  background: var(--lz-card) !important; color: var(--lz-ink) !important; box-shadow: var(--lz-float-1);
  font-size: var(--lz-t-row); font-weight: 400 !important; line-height: 1.4;
}
html.lle-next.lle-portal .op-main a[data-n4-callout] > i { color: var(--lz-ink-3); }
html.lle-next.lle-portal .op-main a[data-n4-callout] > span:last-child { color: var(--lz-blue-text); font-weight: 600; text-decoration: none !important; }

/* Served N4 notices and tenant notices on the Overview: ordinary cards with ordinary rows */
html.lle-next.lle-portal :is(#lzp, body) .op-main :is([data-home-n4-served], [data-home-shared-notices]) h2 { color: var(--lz-ink) !important; }
html.lle-next.lle-portal :is(#lzp, body) .op-main :is([data-home-n4-served], [data-home-shared-notices]) a:is([data-home-n4-all], [data-home-shared-notice-link]) {
  color: var(--lz-blue-text) !important; font-size: var(--lz-t-row); font-weight: 500 !important; text-decoration: none !important; white-space: nowrap;
}
html.lle-next.lle-portal :is(#lzp, body) .op-main [data-home-shared-notice] { border-top: 1px solid var(--lz-line) !important; padding-top: 10px; padding-bottom: 10px; }
html.lle-next.lle-portal :is(#lzp, body) .op-main [data-home-shared-notice] .font-bold { color: var(--lz-ink) !important; font-weight: 600 !important; }
html.lle-next.lle-portal .opsv-item { padding: 12px var(--lzp-pad); border-top: 1px solid var(--lz-line); }
html.lle-next.lle-portal .opsv-t { color: var(--lz-ink); font-size: var(--lz-t-row); font-weight: 600; }
html.lle-next.lle-portal .opsv-s { color: var(--lz-ink-4); font-size: var(--lzp-small); }
html.lle-next.lle-portal .opsv-btn {
  box-sizing: border-box; min-height: var(--lz-h-btn); padding: 0 14px; border-radius: var(--lz-r-btn);
  background: var(--lz-tint); color: var(--lz-blue-text); font-size: 14px; font-weight: 600;
}
html.lle-next.lle-portal .opsv-btn:hover { background: var(--lz-tint-press); color: var(--lz-blue-text); }

/* Automatic payments (the card on file) */
html.lle-next.lle-portal .op-main [data-portal-card-plans] li { padding-top: 14px; padding-bottom: 14px; }
html.lle-next.lle-portal :is(#lzp, body) .op-main [data-portal-card-plans] .text-sm { color: var(--lz-ink-4) !important; }
html.lle-next.lle-portal :is(#lzp, body) .op-main [data-portal-card-plans] p[class~="font-semibold"] { color: var(--lz-bad) !important; font-weight: 500 !important; }
html.lle-next.lle-portal :is(#lzp, body) .op-main [data-portal-card-plans] > p { border-top: 1px solid var(--lz-line) !important; color: var(--lz-ink-4) !important; }
html.lle-next.lle-portal :is(#lzp, body) .op-main [data-portal-card-check-status] button { color: var(--lz-blue-text) !important; font-size: var(--lz-t-row); font-weight: 500 !important; }

/* "Use your LandlordEzy sign-in here?": a tinted prompt with its two buttons */
html.lle-next.lle-portal :is(#lzp, body) .op-main :is([data-portal-connect-offer], [data-portal-connect-pending], [data-portal-connect-mismatch]) {
  padding: 16px var(--lzp-pad); border: 0 !important; border-radius: var(--lz-r-card) !important; box-shadow: none !important;
  background: var(--lz-tint) !important; color: var(--lz-ink) !important; font-size: var(--lz-t-row); line-height: 1.45;
}
html.lle-next.lle-portal :is(#lzp, body) .op-main [data-portal-connect-offer] > .font-bold { font-size: var(--lz-t-card); font-weight: 600 !important; }
html.lle-next.lle-portal :is(#lzp, body) .op-main :is([data-portal-connect-pending], [data-portal-connect-mismatch]) a { color: var(--lz-blue-text) !important; font-weight: 500 !important; }

/* P4 ── Tenants ────────────────────────────────────────────────────────────── */

/* The month's rent: pick a month, then three plain numbers in quiet boxes (no green or amber wash). */
html.lle-next.lle-portal .op-main section[aria-labelledby="rent-period-heading"] > div[class~="grid"] {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; padding: 6px var(--lzp-pad) var(--lzp-pad);
}
html.lle-next.lle-portal :is(#lzp, body) .op-main section[aria-labelledby="rent-period-heading"] > div[class~="grid"] > div {
  padding: 14px 16px; border-radius: 12px !important; background: var(--lz-fill-1, var(--lz-fill-2)) !important;
}
html.lle-next.lle-portal :is(#lzp, body) .op-main section[aria-labelledby="rent-period-heading"] > div[class~="grid"] .text-xs:not([class~="uppercase"]) { color: var(--lz-ink-4) !important; }
html.lle-next.lle-portal :is(#lzp, body) .op-main section[aria-labelledby="rent-period-heading"] > div[class~="grid"] .text-xl:is([class*="text-amber"], [class~="text-brand-ink"]) { color: var(--lz-ink) !important; }
@media (max-width: 767.98px) {
  html.lle-next.lle-portal .op-main section[aria-labelledby="rent-period-heading"] > div[class~="grid"] { grid-template-columns: minmax(0, 1fr); gap: 8px; }
}
/* choosing the month narrows the page, it saves nothing: its button is a Secondary */
html.lle-next.lle-portal :is(#lzp, body) :is(#lzp, .op-main) form:is([method="get"], [method="GET"]) button[class~="bg-brand"] {
  background: var(--lz-tint) !important; color: var(--lz-blue-text) !important; box-shadow: none !important;
}
html.lle-next.lle-portal :is(#lzp, body) :is(#lzp, .op-main) form:is([method="get"], [method="GET"]) button[class~="bg-brand"]:hover { background: var(--lz-tint-press) !important; }
html.lle-next.lle-portal .op-main .lez-month-field { margin-top: 6px; gap: 8px !important; }
html.lle-next.lle-portal .op-main .lez-month-field > select { margin-top: 0; flex: 1 1 auto; min-width: 0; }

/* One tenant: who and where, the tags on the right, the month's four facts in a quiet box, one button. */
html.lle-next.lle-portal .op-main .op-tn-cards > div { padding: 14px var(--lzp-pad) 16px; }
html.lle-next.lle-portal :is(#lzp, body) .op-main .op-tn-stats {
  margin-top: 12px; padding: 12px 14px; gap: 10px 12px; border-radius: 12px !important;
  background: var(--lz-fill-1, var(--lz-fill-2)) !important; font-size: var(--lz-t-row);
}
html.lle-next.lle-portal .op-main .op-tn-stats .text-xs { margin-bottom: 2px; }
html.lle-next.lle-portal :is(#lzp, body) :is(#lzp, .op-main) .op-tn-cards a[class~="bg-brand"] {
  display: inline-flex !important; box-sizing: border-box; height: var(--lz-h-btn); min-height: var(--lz-h-btn) !important;
  margin-top: 12px; padding: 0 14px !important; border-radius: var(--lz-r-btn) !important;
  background: var(--lz-tint) !important; color: var(--lz-blue-text) !important; box-shadow: none !important;
  font-size: 14px !important; font-weight: 600 !important;
}
html.lle-next.lle-portal :is(#lzp, body) :is(#lzp, .op-main) .op-tn-cards a[class~="bg-brand"]:hover { background: var(--lz-tint-press) !important; }
@media (max-width: 767.98px) {
  html.lle-next.lle-portal :is(#lzp, body) :is(#lzp, .op-main) .op-tn-cards a[class~="bg-brand"] { display: flex !important; width: 100%; font-size: var(--lz-t-row) !important; }
}

/* A tenant's rent ledger: three numbers, then the months. */
html.lle-next.lle-portal .op-main > div[class~="flex"][class~="gap-3"] > div[class~="rounded-2xl"] { padding: 16px var(--lzp-pad) 18px; }
html.lle-next.lle-portal .op-main > div[class~="flex"][class~="gap-3"] > div[class~="rounded-2xl"] .text-2xl { margin-top: 4px; font-size: 24px !important; }
/* notes from the manager: a plain card, each note a quiet box inside it */
html.lle-next.lle-portal :is(#lzp, body) .op-main [class~="rounded-2xl"] div[class~="rounded-lg"][class~="bg-white"][class~="shadow-sm"] {
  padding: 12px 14px; border-radius: 12px !important; background: var(--lz-fill-1, var(--lz-fill-2)) !important; box-shadow: none !important; color: var(--lz-ink) !important;
}

/* Tenant updates: what the manager shared about one tenancy. */
html.lle-next.lle-portal :is(#lzp, body) .op-main [data-portal-update] > div:first-child .font-bold {
  font-family: var(--lz-font-display); font-size: var(--lz-t-card); font-weight: 600 !important; letter-spacing: -0.015em;
}
html.lle-next.lle-portal .op-main [data-portal-update] > div:last-child { padding-top: 6px; }
html.lle-next.lle-portal .op-main [data-portal-updates-section] { margin: 24px 2px 10px; }
html.lle-next.lle-portal :is(#lzp, body) .op-main [data-portal-update-file] a:first-of-type { color: var(--lz-blue-text) !important; font-weight: 500 !important; text-decoration: none; }
html.lle-next.lle-portal :is(#lzp, body) .op-main [data-portal-update-file] a:not(:first-of-type) { color: var(--lz-blue-text) !important; }
html.lle-next.lle-portal .op-main [data-portal-update] details > ul { border-left: 2px solid var(--lz-line); }

/* P5 ── N4 notices & approvals ─────────────────────────────────────────────── */

/* Active / Past: the one switcher */
html.lle-next.lle-portal .op-main nav[aria-label="N4 approval lists"] {
  display: inline-flex !important; flex-wrap: nowrap !important; align-items: center; gap: 2px !important; box-sizing: border-box;
  height: var(--lz-h-btn); padding: 2px; border-radius: var(--lz-r-btn); background: var(--lz-fill-3);
}
html.lle-next.lle-portal :is(#lzp, body) :is(#lzp, .op-main) nav[aria-label="N4 approval lists"] > a {
  box-sizing: border-box; height: calc(var(--lz-h-btn) - 4px) !important; min-height: 0 !important; padding: 0 16px !important; gap: 6px;
  border: 0 !important; border-radius: 8px !important; background: transparent !important; box-shadow: none !important;
  color: var(--lz-ink-2) !important; font-size: 14px !important; font-weight: 500 !important;
}
html.lle-next.lle-portal :is(#lzp, body) :is(#lzp, .op-main) nav[aria-label="N4 approval lists"] > a[aria-current="page"] {
  background: var(--lz-seg-face, var(--lz-card)) !important; color: var(--lz-ink) !important; font-weight: 600 !important; box-shadow: var(--lz-seg) !important;
}
/* asking the manager to start an N4 */
html.lle-next.lle-portal .op-main [data-portal-n4-ask] { padding-top: 14px; padding-bottom: 14px; }
html.lle-next.lle-portal :is(#lzp, body) .op-main [data-portal-n4-ask] p { color: var(--lz-ink-4) !important; }
html.lle-next.lle-portal :is(#lzp, body) .op-main [data-portal-n4-ask] p[data-portal-n4-asked] { color: var(--lz-go) !important; }
html.lle-next.lle-portal .op-main [data-portal-n4-ask] form { gap: 10px !important; margin-top: 12px; }
html.lle-next.lle-portal .op-main [data-portal-n4-ask] form button[type="submit"] {
  box-sizing: border-box; min-height: var(--lz-h-btn) !important; padding: 0 16px; border: 0; border-radius: var(--lz-r-btn) !important;
  background: var(--lz-blue) !important; color: var(--lz-on-blue) !important; box-shadow: var(--lz-face-blue-lift);
  font-size: 14px; font-weight: 600 !important; cursor: pointer;
}
html.lle-next.lle-portal :is(#lzp, body) .op-main [data-portal-n4-approvals-section] > p[class~="text-sm"]:not([class~="rounded-xl"]) { max-width: 78ch; padding: 0 2px; color: var(--lz-ink-4) !important; font-size: var(--lzp-small); line-height: 1.45; }
html.lle-next.lle-portal :is(#lzp, body) .op-main [data-portal-n4-approvals-section] > p[class~="rounded-xl"] {
  padding: 28px var(--lzp-pad); border: 0 !important; border-radius: var(--lz-r-card) !important;
  background: var(--lz-card) !important; box-shadow: var(--lz-float-1) !important; color: var(--lz-ink-4) !important; text-align: center;
}
html.lle-next.lle-portal .op-main [data-portal-n4-approvals-section] > h2 { margin: 28px 2px 6px !important; }

/* One approval request (the same card on Tenants, here, and inside Messages): the facts, then the answer. */
html.lle-next.lle-portal :is(#lzp, body) .op-main article[data-n4-request] {
  margin-bottom: var(--lz-gap); padding: var(--lzp-pad); border: 0 !important; border-radius: var(--lz-r-card) !important;
  background: var(--lz-card) !important; box-shadow: var(--lz-float-1) !important;
  color: var(--lz-ink) !important; font-size: var(--lz-t-row); line-height: 1.45;
}
html.lle-next.lle-portal :is(#lzp, body) .op-main article[data-n4-request][style*="2px solid"] { box-shadow: var(--lz-float-1), var(--lz-ring) !important; }
html.lle-next.lle-portal .op-main article[data-n4-request] > div:first-child > .font-semibold { font-family: var(--lz-font-display); font-size: var(--lz-t-card); letter-spacing: -0.015em; }
html.lle-next.lle-portal .op-main article[data-n4-request] dl { margin: 12px 0 0; gap: 10px 16px !important; }
html.lle-next.lle-portal .op-main article[data-n4-request] :is(dt, dd) { margin: 0; }
html.lle-next.lle-portal :is(#lzp, body) .op-main article[data-n4-request] dt { color: var(--lz-ink-4) !important; }
html.lle-next.lle-portal :is(#lzp, body) .op-main article[data-n4-request] p[class~="rounded-lg"] {
  margin: 0; padding: 12px 14px; border-radius: 12px !important; background: var(--lz-fill-1, var(--lz-fill-2)) !important; color: var(--lz-ink) !important;
}
html.lle-next.lle-portal :is(#lzp, body) .op-main article[data-n4-request] [data-n4-body] > p:not([class~="rounded-lg"]) { margin: 0; }
html.lle-next.lle-portal :is(#lzp, body) .op-main article[data-n4-request] [data-n4-body] > p[class~="text-xs"] { margin-top: 6px; color: var(--lz-ink-4) !important; }
/* the two answers: Authorize is the blue button, Do not proceed the neutral one; each opens its own Confirm */
html.lle-next.lle-portal :is(#lzp, body) .op-main details[data-n4-choice] > summary {
  box-sizing: border-box; padding: 0 16px !important; border: 0 !important; border-radius: var(--lz-r-btn) !important;
  font-size: 14px !important; font-weight: 600 !important; user-select: none;
  transition: background-color .14s ease, transform .08s ease;
}
html.lle-next.lle-portal .op-main details[data-n4-choice] > summary::-webkit-details-marker { display: none; }
html.lle-next.lle-portal :is(#lzp, body) .op-main details[data-n4-choice="authorized"] > summary { background: var(--lz-blue) !important; color: var(--lz-on-blue) !important; box-shadow: var(--lz-face-blue-lift); }
html.lle-next.lle-portal :is(#lzp, body) .op-main details[data-n4-choice="declined"] > summary { background: var(--lz-face) !important; color: var(--lz-ink) !important; box-shadow: var(--lz-face-lift); }
html.lle-next.lle-portal .op-main details[data-n4-choice] > summary:active { transform: scale(.97); }
html.lle-next.lle-portal :is(#lzp, body) .op-main details[data-n4-choice] > form {
  margin-top: 8px; padding: 14px; border: 0 !important; border-radius: 12px !important; background: var(--lz-fill-1, var(--lz-fill-2)) !important;
}
html.lle-next.lle-portal :is(#lzp, body) .op-main details[data-n4-choice] > form button[data-n4-confirm] {
  box-sizing: border-box; padding: 0 16px; border-radius: var(--lz-r-btn) !important; font-size: 14px; font-weight: 600 !important; cursor: pointer;
}
html.lle-next.lle-portal :is(#lzp, body) .op-main details[data-n4-choice="authorized"] > form button[data-n4-confirm] { background: var(--lz-blue) !important; color: var(--lz-on-blue) !important; box-shadow: var(--lz-face-blue-lift); }
html.lle-next.lle-portal :is(#lzp, body) .op-main details[data-n4-choice="declined"] > form button[data-n4-confirm] { background: var(--lz-face) !important; color: var(--lz-ink) !important; box-shadow: var(--lz-face-lift); }
html.lle-next.lle-portal .op-main [data-n4-requests] > h2 { margin: 0 2px 10px !important; }

/* One served N4 notice (its own page): the facts as label and value, then the notice to open. */
html.lle-next.lle-portal .op-main .opn4-card { padding: var(--lzp-pad); margin-bottom: var(--lz-gap); }
html.lle-next.lle-portal .op-main .opn4-where, html.lle-next.lle-portal .op-main .opn4-intro { color: var(--lz-ink-4) !important; font-size: var(--lz-t-row); }
html.lle-next.lle-portal .op-main .opn4-meta dt, html.lle-next.lle-portal .op-main .opn4-label {
  color: var(--lz-ink-4); font-size: var(--lzp-small); font-weight: 500; letter-spacing: 0; text-transform: none;
}
html.lle-next.lle-portal .op-main .opn4-label { color: var(--lz-ink); font-family: var(--lz-font-display); font-size: var(--lz-t-card); font-weight: 600; letter-spacing: -0.015em; }
html.lle-next.lle-portal .op-main .opn4-meta dd { color: var(--lz-ink); font-size: var(--lz-t-row); font-weight: 600; }
html.lle-next.lle-portal .op-main .opn4-btn { min-height: var(--lz-h-btn); padding: 0 14px; border-radius: var(--lz-r-btn) !important; font-size: 14px; font-weight: 600 !important; }
html.lle-next.lle-portal .op-main .opn4-btn-secondary { border: 0; background: var(--lz-face); color: var(--lz-ink); box-shadow: var(--lz-face-lift); }
html.lle-next.lle-portal .op-main .opn4-btn-secondary:hover { background: var(--lz-btn-hover); color: var(--lz-ink); }
html.lle-next.lle-portal .op-main > div[style*="flex-wrap"]:has(> a[data-portal-n4-back-center]) { gap: 0 20px !important; margin-bottom: 8px; }

/* P6 ── Statements, and one statement ──────────────────────────────────────── */

/* The list (a phone gets rows, a wide screen the table): the month in ink, money in line, View and PDF. */
html.lle-next.lle-portal .op-main .lezy-only-mobile > div { padding: 14px var(--lzp-pad); }
html.lle-next.lle-portal .op-main .lezy-only-mobile > div > div:first-child > .font-semibold { font-size: var(--lz-t-row); }
html.lle-next.lle-portal .op-main .lezy-only-desktop table { width: 100%; font-size: var(--lz-t-row); }
html.lle-next.lle-portal .op-main .lezy-only-desktop table :is(th, td) { padding: 12px 12px; vertical-align: middle; }
html.lle-next.lle-portal .op-main .lezy-only-desktop table :is(th, td):first-child { padding-left: var(--lzp-pad); }
html.lle-next.lle-portal .op-main .lezy-only-desktop table :is(th, td):last-child { padding-right: var(--lzp-pad); white-space: nowrap; }
html.lle-next.lle-portal .op-main .lezy-only-desktop table td { font-variant-numeric: tabular-nums; }
html.lle-next.lle-portal .op-main .lezy-only-desktop table td > a + a { margin-left: 6px; }
html.lle-next.lle-portal .op-main .lezy-only-desktop table thead tr { border-bottom: 1px solid var(--lz-line); }

/* One statement reads top to bottom like arithmetic: a line, its amount, and the total at the end. */
html.lle-next.lle-portal .pm-card {
  margin-bottom: var(--lz-gap); border: 0; border-radius: var(--lz-r-card);
  background: var(--lz-card); box-shadow: var(--lz-float-1); color: var(--lz-ink);
}
html.lle-next.lle-portal .pm-head { padding: 18px var(--lzp-pad) 10px; gap: 6px 12px; border-bottom: 0; background: transparent; }
html.lle-next.lle-portal .pm-row { gap: 16px; padding: 11px var(--lzp-pad); border-bottom: 1px solid var(--lz-line); font-size: var(--lz-t-row); line-height: 1.4; }
html.lle-next.lle-portal .pm-row > span:first-child { min-width: 0; overflow-wrap: anywhere; }
/* (a property's name inside the rent roll, and the closing line, were grey bands: plain rows now) */
html.lle-next.lle-portal .pm-row[style*="background"] { background: transparent !important; font-weight: 600 !important; }
html.lle-next.lle-portal .pm-row[data-portal-closing] { border-top: 1px solid var(--lz-line-strong); border-bottom: 0; padding-top: 14px; padding-bottom: 16px; font-size: var(--lz-t-card); }
html.lle-next.lle-portal .pm-row[data-portal-closing] .pm-amt { font-weight: 700; }
html.lle-next.lle-portal .pm-muted { color: var(--lz-ink-4); font-size: var(--lzp-small); font-weight: 400; }
html.lle-next.lle-portal .pm-amt { color: var(--lz-ink); font-weight: 600; }
html.lle-next.lle-portal .pm-row strong { font-weight: 600; }
html.lle-next.lle-portal :is(#lzp, body) .op-main .pm-row a { color: var(--lz-blue-text) !important; font-size: var(--lz-t-row); font-weight: 500 !important; text-decoration: none; }
html.lle-next.lle-portal .pm-table { font-size: var(--lz-t-row); }
html.lle-next.lle-portal .pm-table th { padding: 10px 12px; border-bottom: 1px solid var(--lz-line); }
html.lle-next.lle-portal .pm-table td { padding: 10px 12px; border-bottom: 1px solid var(--lz-line); font-variant-numeric: tabular-nums; }
html.lle-next.lle-portal .pm-table :is(th, td):first-child { padding-left: var(--lzp-pad); }
html.lle-next.lle-portal .pm-table :is(th, td):last-child { padding-right: var(--lzp-pad); }
html.lle-next.lle-portal .pm-table td[style*="color"] { color: var(--lz-bad) !important; font-weight: 600 !important; }
@media (max-width: 640px) {
  /* each unit is its own little block of label and value */
  html.lle-next.lle-portal .pm-table tr { padding: 8px 0; border-bottom: 1px solid var(--lz-line); }
  html.lle-next.lle-portal .pm-table td, html.lle-next.lle-portal .pm-table :is(th, td):first-child, html.lle-next.lle-portal .pm-table :is(th, td):last-child { gap: 12px; padding: 4px var(--lzp-pad); border: 0; text-align: right; }
  html.lle-next.lle-portal .pm-table td[data-l]::before { flex: none; color: var(--lz-ink-4); font-size: var(--lzp-small); text-align: left; }
}

/* P7 ── Activity ───────────────────────────────────────────────────────────── */

/* Month: older, the month, newer */
html.lle-next.lle-portal .ac-bar { gap: 8px; margin-bottom: 12px; }
html.lle-next.lle-portal .ac-nav {
  box-sizing: border-box; min-width: var(--lz-h-btn); min-height: var(--lz-h-btn); border: 0; border-radius: var(--lz-r-icon);
  background: var(--lz-face); color: var(--lz-ink-2); box-shadow: var(--lz-face-lift); font-size: 13px; font-weight: 600;
  transition: background-color .14s ease, transform .08s ease;
}
html.lle-next.lle-portal .ac-nav:hover { background: var(--lz-btn-hover); }
html.lle-next.lle-portal .ac-nav:active { transform: scale(.97); }
html.lle-next.lle-portal .ac-nav[aria-disabled="true"] { background: var(--lz-fill-3); color: var(--lz-ink-faint); box-shadow: none; }
html.lle-next.lle-portal :is(#lzp, body) .op-main .ac-select { min-height: 0; font-weight: 500; }
html.lle-next.lle-portal .ac-link { color: var(--lz-blue-text); font-weight: 500; }
html.lle-next.lle-portal .op-main .ac-bar > .ac-link { display: inline-flex; align-items: center; min-height: var(--lz-h-btn); font-size: var(--lz-t-row) !important; }
html.lle-next.lle-portal :is(.ac-tab, .ac-nav, .ac-select, .ac-link):focus-visible { outline: 0; box-shadow: var(--lz-ring); }

/* Kinds of line: the one switcher (it slides sideways on a phone) */
html.lle-next.lle-portal .ac-tabs {
  display: flex; align-items: center; gap: 2px; box-sizing: border-box; width: fit-content; max-width: 100%;
  height: var(--lz-h-btn); margin: 0 0 var(--lz-gap); padding: 2px; border-radius: var(--lz-r-btn);
  background: var(--lz-fill-3); overflow-x: auto; overflow-y: hidden; scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
html.lle-next.lle-portal .ac-tabs::-webkit-scrollbar { display: none; }
html.lle-next.lle-portal :is(#lzp, body) :is(#lzp, .op-main) .ac-tabs > .ac-tab {
  box-sizing: border-box; flex: none; height: calc(var(--lz-h-btn) - 4px) !important; min-height: 0 !important; padding: 0 13px !important; gap: 6px;
  border: 0 !important; border-radius: 8px !important; background: transparent !important; box-shadow: none !important;
  color: var(--lz-ink-2) !important; font-size: 14px !important; font-weight: 500 !important;
}
html.lle-next.lle-portal :is(#lzp, body) :is(#lzp, .op-main) .ac-tabs > .ac-tab[aria-current="page"] {
  background: var(--lz-seg-face, var(--lz-card)) !important; color: var(--lz-ink) !important; font-weight: 600 !important; box-shadow: var(--lz-seg) !important;
}
html.lle-next.lle-portal .ac-tab > i { display: none; }
html.lle-next.lle-portal :is(#lzp, body) :is(#lzp, .op-main) .ac-tab .n {
  min-width: 0; height: auto; padding: 0 !important; background: none !important; color: var(--lz-ink-4) !important;
  font-size: var(--lzp-small) !important; font-weight: 500 !important;
}

/* The list: a card; inside it a heading per kind, then rows with the amount on the right. */
html.lle-next.lle-portal .ac-card { border: 0; border-radius: var(--lz-r-card); background: var(--lz-card); box-shadow: var(--lz-float-1); }
html.lle-next.lle-portal .ac-head { padding: 18px var(--lzp-pad) 6px; border-bottom: 0; background: transparent; }
html.lle-next.lle-portal .ac-muted { color: var(--lz-ink-4); font-size: var(--lzp-small); }
html.lle-next.lle-portal .ac-sec + .ac-sec { border-top: 1px solid var(--lz-line); }
html.lle-next.lle-portal :is(#lzp, body) .op-main .ac-sec__title {
  margin: 0; padding: 14px var(--lzp-pad) 4px; color: var(--lz-ink) !important;
  font-family: var(--lz-font); font-size: var(--lz-t-row); font-weight: 600; letter-spacing: 0;
}
html.lle-next.lle-portal .ac-sec__title .ac-muted { font-weight: 400; }
html.lle-next.lle-portal .ac-sec__note { padding: 0 var(--lzp-pad) 8px; color: var(--lz-ink-4); font-size: var(--lzp-small); }
html.lle-next.lle-portal .ac-row { gap: 16px; padding: 12px var(--lzp-pad); border-bottom: 1px solid var(--lz-line); }
html.lle-next.lle-portal .ac-sec > .ac-row:last-child, html.lle-next.lle-portal .ac-month > .ac-row:last-child { border-bottom: 0; }
html.lle-next.lle-portal .ac-kind { margin-bottom: 4px !important; }
html.lle-next.lle-portal .ac-title { color: var(--lz-ink); font-size: var(--lz-t-row); font-weight: 600; }
html.lle-next.lle-portal .ac-dates { color: var(--lz-ink-4); font-size: var(--lzp-small); }
html.lle-next.lle-portal .ac-dates b { color: var(--lz-ink-4); font-weight: 500; }
html.lle-next.lle-portal .ac-note, html.lle-next.lle-portal .ac-units__note { color: var(--lz-ink-4); font-size: var(--lzp-small); }
html.lle-next.lle-portal .ac-status { margin-top: 6px !important; }
html.lle-next.lle-portal .ac-pay { color: var(--lz-go); font-size: var(--lzp-small); font-weight: 500; }
html.lle-next.lle-portal .ac-pay__split { color: var(--lz-ink-4); font-weight: 400; }
/* money: green only for rent that came in; everything else is plain ink */
html.lle-next.lle-portal .ac-amt strong { color: var(--lz-ink); font-size: var(--lz-t-row); font-weight: 600; }
html.lle-next.lle-portal .ac-amt--in strong { color: var(--lz-go); }
html.lle-next.lle-portal :is(.ac-amt--out, .ac-amt--neutral, .ac-amt--payout, .ac-amt--awaiting) strong { color: var(--lz-ink); }
html.lle-next.lle-portal .ac-amt span { color: var(--lz-ink-4); font-size: var(--lzp-small); }
html.lle-next.lle-portal .ac-amt .ac-amt__plus, html.lle-next.lle-portal .ac-amt .ac-amt__tax { color: var(--lz-ink-4) !important; font-size: var(--lzp-small) !important; font-weight: 500; }
/* a fee month and its units: quiet boxes, no lilac */
html.lle-next.lle-portal .ac-month { margin: 0 var(--lzp-pad) 12px; border: 0; border-radius: 12px; background: var(--lz-fill-1, var(--lz-fill-2)); }
html.lle-next.lle-portal .ac-month__head { padding: 12px 14px 4px; background: transparent; }
html.lle-next.lle-portal .ac-month__head strong { color: var(--lz-ink); font-weight: 600; }
html.lle-next.lle-portal .ac-month .ac-row, html.lle-next.lle-portal .ac-month .ac-pay { padding-left: 14px; padding-right: 14px; }
html.lle-next.lle-portal .ac-units { margin-top: 8px; padding: 8px 10px; border: 0; border-radius: 10px; background: var(--lz-fill-2); }
html.lle-next.lle-portal .ac-units__list { color: var(--lz-ink-4); font-size: var(--lzp-small); }
html.lle-next.lle-portal .ac-units__list b { color: var(--lz-ink-4); font-weight: 500; }
html.lle-next.lle-portal .ac-unit { border: 0; border-radius: var(--lz-r-chip); background: var(--lz-card); color: var(--lz-ink-2); font-weight: 600; }
html.lle-next.lle-portal .ac-unit--missing, html.lle-next.lle-portal .ac-unit__detail { color: var(--lz-ink-4); }
html.lle-next.lle-portal .ac-empty { padding: 44px var(--lzp-pad); color: var(--lz-ink-4); font-size: var(--lz-t-row); }

/* P9 ── Documents ──────────────────────────────────────────────────────────── */
html.lle-next.lle-portal :is(#lzp, body) .op-main [data-portal-agreement] { padding: 14px var(--lzp-pad); }
html.lle-next.lle-portal .op-main :is([data-portal-doc], [data-portal-agreement]) .truncate { font-size: var(--lz-t-row); }
html.lle-next.lle-portal :is(#lzp, body) .op-main [data-portal-doc] > span > a {
  display: inline-flex; align-items: center; gap: 6px; min-height: 28px; padding: 0 8px; border-radius: var(--lz-r-mini) !important;
  color: var(--lz-blue-text) !important; font-size: 14px; font-weight: 600 !important; text-decoration: none;
}
html.lle-next.lle-portal :is(#lzp, body) .op-main [data-portal-doc] > span > a:hover { background: var(--lz-tint) !important; }
@media (max-width: 767.98px) {
  /* the name gets the whole line; View and Download sit under it, a thumb tall */
  html.lle-next.lle-portal .op-main :is([data-portal-doc], [data-portal-agreement]) { flex-wrap: wrap; row-gap: 4px; }
  html.lle-next.lle-portal .op-main :is([data-portal-doc], [data-portal-agreement]) > div:first-child { flex: 1 1 100%; }
  html.lle-next.lle-portal .op-main [data-portal-doc] > span { width: 100%; gap: 4px; padding-left: 36px; }
  html.lle-next.lle-portal :is(#lzp, body) .op-main [data-portal-doc] > span > a { min-height: 44px; font-size: var(--lz-t-row); }
  html.lle-next.lle-portal .op-main [data-portal-agreement] > div:last-child { width: 100%; }
  html.lle-next.lle-portal .op-main [data-portal-agreement] > div:last-child > a { flex: 1 1 0; }
}
/* contractor quotes shared for review */
html.lle-next.lle-portal :is(#lzp, body) .op-main section[aria-label="Contractor quotes shared with you"] > p { color: var(--lz-ink-4) !important; font-size: var(--lzp-small); }
html.lle-next.lle-portal :is(#lzp, body) .op-main section[aria-label="Contractor quotes shared with you"] > div { border-top: 1px solid var(--lz-line) !important; }
html.lle-next.lle-portal :is(#lzp, body) .op-main section[aria-label="Contractor quotes shared with you"] > div p { margin: 0; color: var(--lz-ink-4) !important; }
html.lle-next.lle-portal :is(#lzp, body) .op-main section[aria-label="Contractor quotes shared with you"] > div p[class~="font-semibold"] { color: var(--lz-ink) !important; font-size: var(--lz-t-row); }

/* P10 ── Messages ──────────────────────────────────────────────────────────────
   Looks like Messages: theirs is grey, yours is blue; who wrote it sits above in small
   grey, the time underneath. (The values are the shared skin's own message tokens.) */
html.lle-next.lle-portal .op-main :is(#owner-msg-list, [data-legal-thread]) { padding: 18px var(--lzp-pad) 14px; }
html.lle-next.lle-portal .op-main #owner-msg-list > * + * { margin-top: 0; }
html.lle-next.lle-portal .op-main #owner-msg-list > [id^="omsg-"] { margin-bottom: 8px !important; }
html.lle-next.lle-portal .op-main #owner-msg-list > [id^="omsg-"][style*="flex-end"] + [id^="omsg-"][style*="flex-start"],
html.lle-next.lle-portal .op-main #owner-msg-list > [id^="omsg-"][style*="flex-start"] + [id^="omsg-"][style*="flex-end"] { margin-top: 6px; }
/* the wrapper the page drew as the bubble is only a column now; the words themselves are the bubble */
html.lle-next.lle-portal :is(#lzp, body) .op-main #owner-msg-list > [id^="omsg-"]:not([data-n4-message]) > div:first-child {
  display: flex; flex-direction: column; box-sizing: border-box; max-width: min(78%, 520px) !important;
  padding: 0 !important; border-radius: 0 !important; background: none !important;
  color: var(--lz-ink) !important; font-size: var(--lz-t-row) !important; line-height: 1.35 !important;
}
html.lle-next.lle-portal .op-main #owner-msg-list > [id^="omsg-"][style*="flex-end"] > div:first-child { align-items: flex-end; }
html.lle-next.lle-portal .op-main #owner-msg-list > [id^="omsg-"][style*="flex-start"] > div:first-child { align-items: flex-start; }
html.lle-next.lle-portal .op-main #owner-msg-list [data-omsg-view] { display: flex; flex-direction: column; align-items: inherit; max-width: 100%; }
html.lle-next.lle-portal :is(#lzp, body) .op-main #owner-msg-list [data-omsg-view] > div[style*="white-space"] {
  position: relative; box-sizing: border-box; max-width: 100%; padding: 7px 12px; border-radius: 18px; word-break: break-word;
}
html.lle-next.lle-portal :is(#lzp, body) .op-main #owner-msg-list > [style*="flex-end"] [data-omsg-view] > div[style*="white-space"] { background: var(--lz-bubble-me, var(--lz-blue)); color: var(--lz-on-blue); }
html.lle-next.lle-portal :is(#lzp, body) .op-main #owner-msg-list > [style*="flex-end"] [data-omsg-view] > div[style*="white-space"] a { color: var(--lz-on-blue) !important; text-decoration: underline; }
html.lle-next.lle-portal :is(#lzp, body) .op-main #owner-msg-list > [style*="flex-start"] [data-omsg-view] > div[style*="white-space"] { background: var(--lz-bubble, var(--lz-fill-2)); color: var(--lz-ink); }
/* the tail, on the last bubble of a run */
html.lle-next.lle-portal .op-main #owner-msg-list [data-omsg-view] > div[style*="white-space"]::before,
html.lle-next.lle-portal .op-main #owner-msg-list [data-omsg-view] > div[style*="white-space"]::after { content: ""; position: absolute; bottom: 0; height: 18px; }
html.lle-next.lle-portal .op-main #owner-msg-list > [style*="flex-end"] [data-omsg-view] > div[style*="white-space"]::before { right: -7px; width: 20px; background: var(--lz-bubble-me-tail, var(--lz-blue)); border-bottom-left-radius: 16px 14px; }
html.lle-next.lle-portal .op-main #owner-msg-list > [style*="flex-end"] [data-omsg-view] > div[style*="white-space"]::after { right: -12px; width: 12px; background: var(--lz-chat-bg, var(--lz-card)); border-bottom-left-radius: 10px; }
html.lle-next.lle-portal .op-main #owner-msg-list > [style*="flex-start"] [data-omsg-view] > div[style*="white-space"]::before { left: -7px; width: 20px; background: var(--lz-bubble, var(--lz-fill-2)); border-bottom-right-radius: 16px 14px; }
html.lle-next.lle-portal .op-main #owner-msg-list > [style*="flex-start"] [data-omsg-view] > div[style*="white-space"]::after { left: -12px; width: 12px; background: var(--lz-chat-bg, var(--lz-card)); border-bottom-right-radius: 10px; }
html.lle-next.lle-portal .op-main #owner-msg-list > [id^="omsg-"][style*="flex-end"].lzx-prun:not(.lz0) [data-omsg-view] > div[style*="white-space"]::before,
html.lle-next.lle-portal .op-main #owner-msg-list > [id^="omsg-"][style*="flex-end"].lzx-prun:not(.lz0) [data-omsg-view] > div[style*="white-space"]::after,
html.lle-next.lle-portal .op-main #owner-msg-list > [id^="omsg-"][style*="flex-start"].lzx-prun:not(.lz0) [data-omsg-view] > div[style*="white-space"]::before,
html.lle-next.lle-portal .op-main #owner-msg-list > [id^="omsg-"][style*="flex-start"].lzx-prun:not(.lz0) [data-omsg-view] > div[style*="white-space"]::after { display: none; }
/* who wrote it (above theirs; said once for a run of messages) */
html.lle-next.lle-portal :is(#lzp, body) .op-main #owner-msg-list > [id^="omsg-"]:not([data-n4-message]) > div:first-child > div:first-child:not([data-omsg-view]),
html.lle-next.lle-portal :is(#lzp, body) .op-main #owner-msg-list > [data-n4-message] > div > div:first-child {
  margin: 0 12px 3px !important; color: var(--lz-ink-4) !important; font-size: var(--lzp-small) !important; font-weight: 500 !important;
}
html.lle-next.lle-portal .op-main #owner-msg-list > [id^="omsg-"][style*="flex-start"] + [id^="omsg-"][style*="flex-start"] > div:first-child > div:first-child:not([data-omsg-view]) { display: none; }
/* the time, "edited", Edit, and Sent / Seen: one grey line under the bubble */
html.lle-next.lle-portal :is(#lzp, body) .op-main #owner-msg-list [data-omsg-view] > div[style*="justify-content"] {
  flex-wrap: wrap; gap: 2px 8px !important; margin: 3px 6px 0 !important; color: var(--lz-ink-4) !important; font-size: var(--lzp-small) !important;
}
html.lle-next.lle-portal :is(#lzp, body) .op-main #owner-msg-list [data-omsg-view] > div[style*="justify-content"] span { color: var(--lz-ink-4) !important; font-weight: 400 !important; }
html.lle-next.lle-portal :is(#lzp, body) .op-main #owner-msg-list [data-omsg-view] > div[style*="justify-content"] button {
  color: var(--lz-blue-text) !important; font-weight: 600 !important; text-decoration: none !important;
}
/* a photo, or a file to open */
html.lle-next.lle-portal .op-main #owner-msg-list [data-omsg-view] img { max-width: min(220px, 100%) !important; border-radius: 16px !important; }
html.lle-next.lle-portal :is(#lzp, body) .op-main #owner-msg-list [data-omsg-view] a[style*="inline-flex"] {
  padding: 8px 12px; border-radius: 12px; background: var(--lz-fill-2); color: var(--lz-blue-text) !important;
  font-size: var(--lzp-small) !important; font-weight: 500 !important; text-decoration: none !important; overflow-wrap: anywhere;
}
/* editing your own message: a field and two ordinary buttons */
html.lle-next.lle-portal :is(#lzp, body) .op-main #owner-msg-list [data-omsg-edit] textarea { min-width: min(260px, 60vw) !important; }
html.lle-next.lle-portal :is(#lzp, body) .op-main #owner-msg-list [data-omsg-edit] button {
  box-sizing: border-box; min-height: 36px; padding: 0 14px !important; border-radius: var(--lz-r-btn) !important;
  font-size: 14px !important; font-weight: 600 !important;
}
html.lle-next.lle-portal :is(#lzp, body) .op-main #owner-msg-list [data-omsg-edit] button[type="button"] { background: var(--lz-face) !important; color: var(--lz-ink) !important; box-shadow: var(--lz-face-lift); }
html.lle-next.lle-portal :is(#lzp, body) .op-main #owner-msg-list [data-omsg-edit] button[type="submit"] { background: var(--lz-tint) !important; color: var(--lz-blue-text) !important; }
/* a link from a message to a notice */
html.lle-next.lle-portal :is(#lzp, body) .op-main [data-n4-update-link] { margin: 0 0 10px !important; font-size: var(--lzp-small) !important; }
html.lle-next.lle-portal :is(#lzp, body) .op-main [data-n4-update-link] > a {
  box-sizing: border-box; min-height: var(--lz-h-btn) !important; padding: 0 14px !important; border-radius: var(--lz-r-btn) !important;
  background: var(--lz-tint) !important; color: var(--lz-blue-text) !important; font-size: 14px; font-weight: 600 !important;
}
html.lle-next.lle-portal :is(#lzp, body) .op-main [data-n4-update-link] > span,
html.lle-next.lle-portal :is(#lzp, body) .op-main #owner-msg-list > [data-n4-message] p { color: var(--lz-ink-4) !important; }
html.lle-next.lle-portal :is(#lzp, body) .op-main #owner-msg-list > [data-n4-message] > div > div[style*="pre-wrap"] { border-radius: 18px !important; background: var(--lz-bubble, var(--lz-fill-2)) !important; color: var(--lz-ink) !important; font-size: var(--lz-t-row) !important; }
html.lle-next.lle-portal .op-main #owner-msg-list article[data-n4-request] { box-shadow: none !important; background: var(--lz-fill-1, var(--lz-fill-2)) !important; margin-bottom: 0; }
/* the "acknowledged" line under a message */
html.lle-next.lle-portal .op-main :is(.lzk-pill, .lzk-badge, .lzk-add) {
  border: 0; border-radius: var(--lz-r-chip); background: var(--lz-fill-2); color: var(--lz-ink-2); box-shadow: none;
  font-size: var(--lzp-small); font-weight: 600;
}
html.lle-next.lle-portal .op-main :is(.lzk-badge, .lzk-pill[aria-pressed="true"]) { background: var(--lz-go-tint); color: var(--lz-go); }
html.lle-next.lle-portal .op-main .lzk-err { background: var(--lz-bad-tint); color: var(--lz-bad); font-size: var(--lzp-small); }

/* Writing: a field, the paperclip line under it, and Send (the page's one blue button). */
html.lle-next.lle-portal .op-main form.lzx-pcompose:not(lz0):not(lz0) { padding: 12px var(--lzp-pad) 14px; border-top: 1px solid var(--lz-line); }
html.lle-next.lle-portal .op-main form.lzx-pcompose:not(lz0):not(lz0) > div { gap: 8px; }
html.lle-next.lle-portal :is(#lzp, body) .op-main form.lzx-pcompose:not(lz0):not(lz0) textarea { min-height: var(--lz-h-field); resize: none; }
html.lle-next.lle-portal :is(#lzp, body) .op-main form.lzx-pcompose:not(lz0):not(lz0) label[class~="cursor-pointer"] {
  display: inline-flex; align-items: center; gap: 6px; min-height: 28px; margin-top: 6px;
  color: var(--lz-blue-text) !important; font-size: 14px; font-weight: 500 !important;
}
html.lle-next.lle-portal :is(#lzp, body) .op-main form.lzx-pcompose:not(lz0):not(lz0) label[class~="cursor-pointer"] [data-fname] { color: var(--lz-ink-4) !important; }
@media (max-width: 767.98px) {
  html.lle-next.lle-portal :is(#lzp, body) .op-main form.lzx-pcompose:not(lz0):not(lz0) label[class~="cursor-pointer"] { min-height: 44px; margin-top: 0; font-size: var(--lz-t-row); }
}
/* notes that stand where the writing box would be (staff preview, replies paused) */
html.lle-next.lle-portal .op-main :is([data-portal-preview-composer], [data-chat-paused]) { padding: 12px var(--lzp-pad) var(--lzp-pad); border-top: 1px solid var(--lz-line); }
html.lle-next.lle-portal :is(#lzp, body) .op-main :is([data-portal-preview-composer] > [role="note"], [data-chat-paused] > p) {
  margin: 0; padding: 12px 14px; border: 0 !important; border-radius: 12px !important;
  background: var(--lz-fill-1, var(--lz-fill-2)) !important; color: var(--lz-ink-4) !important; font-size: var(--lzp-small); font-weight: 400 !important; line-height: 1.45;
}
html.lle-next.lle-portal :is(#lzp, body) .op-main [data-portal-preview-composer] p { color: var(--lz-ink-4) !important; }
html.lle-next.lle-portal :is(#lzp, body) .op-main [data-portal-preview-composer] p[class~="font-bold"] { color: var(--lz-ink-2) !important; font-weight: 600 !important; }
html.lle-next.lle-portal :is(#lzp, body) .op-main [data-portal-preview-composer] a { color: var(--lz-blue-text) !important; font-weight: 500 !important; text-decoration: none !important; }

/* P11 ── Legal matters ─────────────────────────────────────────────────────── */
/* the list: each matter is a card you can open */
html.lle-next.lle-portal .op-main > .space-y-3 > a[class~="rounded-2xl"] { display: block; padding: 14px var(--lzp-pad); text-decoration: none; transition: box-shadow .14s ease, transform .14s cubic-bezier(.2, .8, .2, 1); }
html.lle-next.lle-portal :is(#lzp, body) .op-main > .space-y-3 > a[class~="rounded-2xl"]:hover { box-shadow: var(--lz-float-2) !important; }
html.lle-next.lle-portal .op-main > .space-y-3 > a[class~="rounded-2xl"]:active { transform: scale(.99); }
html.lle-next.lle-portal :is(#lzp, body) .op-main > .space-y-3 > a[class~="rounded-2xl"] .font-extrabold { font-family: var(--lz-font-display); font-size: var(--lz-t-card); font-weight: 600 !important; letter-spacing: -0.015em; }
html.lle-next.lle-portal :is(#lzp, body) .op-main > .space-y-3 > a[class~="rounded-2xl"] .font-extrabold > span { color: var(--lz-ink-4) !important; font-weight: 400 !important; }
/* one matter: the next hearing and "your next step" are quiet boxes inside its card */
html.lle-next.lle-portal :is(#lzp, body) .op-main [class~="rounded-2xl"] > div[class~="rounded-xl"]:is([class~="bg-indigo-50"], [class~="bg-amber-50"]) {
  padding: 14px 16px; border: 0 !important; border-radius: 12px !important;
  background: var(--lz-fill-1, var(--lz-fill-2)) !important; color: var(--lz-ink) !important; font-size: var(--lz-t-row);
}
html.lle-next.lle-portal :is(#lzp, body) .op-main [data-next-action] > div[class~="rounded-lg"] { border-radius: 10px !important; background: var(--lz-card) !important; color: var(--lz-ink) !important; }
html.lle-next.lle-portal :is(#lzp, body) .op-main [data-next-action] li { border: 0 !important; border-top: 1px solid var(--lz-line) !important; border-radius: 0 !important; padding: 10px 0 !important; }
html.lle-next.lle-portal :is(#lzp, body) .op-main [data-next-action] :is(.text-xs, div[class~="text-indigo-700"]) { color: var(--lz-ink-4) !important; }
html.lle-next.lle-portal :is(#lzp, body) .op-main a[data-join-hearing] { background: var(--lz-blue) !important; color: var(--lz-on-blue) !important; }
/* progress: dated notes down a hairline */
html.lle-next.lle-portal .op-main .border-l-2 { border-left: 2px solid var(--lz-line); padding-left: 12px; }
html.lle-next.lle-portal :is(#lzp, body) .op-main .border-l-2 > .text-xs { color: var(--lz-ink-4) !important; font-weight: 500 !important; }
/* questions about the matter: the same conversation look, yours tinted, theirs grey */
html.lle-next.lle-portal :is(#lzp, body) .op-main [data-legal-thread] [data-message] > div {
  max-width: min(82%, 560px) !important; padding: 8px 12px; border-radius: 18px !important;
  background: var(--lz-bubble, var(--lz-fill-2)) !important; color: var(--lz-ink) !important;
}
html.lle-next.lle-portal :is(#lzp, body) .op-main [data-legal-thread] [data-message][class~="justify-end"] > div { background: var(--lz-tint) !important; }
html.lle-next.lle-portal :is(#lzp, body) .op-main [data-legal-thread] [data-message] > div > div:first-child { margin-bottom: 2px; color: var(--lz-ink-4) !important; font-weight: 500 !important; }
html.lle-next.lle-portal :is(#lzp, body) .op-main [data-legal-thread] [data-message] > div > .text-sm { color: var(--lz-ink) !important; line-height: 1.35 !important; }
html.lle-next.lle-portal :is(#lzp, body) .op-main [data-legal-thread] [data-message] :is(a, summary, [data-edited]) { color: var(--lz-blue-text) !important; font-weight: 500 !important; }
html.lle-next.lle-portal :is(#lzp, body) .op-main [data-legal-thread] [data-message] [data-edited] { color: var(--lz-ink-4) !important; }
/* adding documents to a matter */
html.lle-next.lle-portal .op-main #lgu { padding: 14px var(--lzp-pad) var(--lzp-pad); border-top: 1px solid var(--lz-line); }
html.lle-next.lle-portal :is(#lzp, body) .op-main #lgu-drop {
  border: 1px dashed var(--lz-line-strong) !important; border-radius: 12px !important; background: var(--lz-fill-1, var(--lz-fill-2)) !important;
}
html.lle-next.lle-portal :is(#lzp, body) .op-main #lgu-drop > i { color: var(--lz-blue) !important; font-size: 22px !important; }
html.lle-next.lle-portal :is(#lzp, body) .op-main #lgu-drop > span:first-of-type { color: var(--lz-blue-text) !important; font-size: var(--lz-t-row); font-weight: 600 !important; }
html.lle-next.lle-portal :is(#lzp, body) .op-main #lgu-retry { color: var(--lz-blue-text) !important; font-weight: 600 !important; text-decoration: none !important; }
html.lle-next.lle-portal .op-main #lgu-list li { color: var(--lz-ink-2) !important; }

/* P12 ── Access history ────────────────────────────────────────────────────── */
html.lle-next.lle-portal .ah-stats { gap: 12px; margin-bottom: var(--lz-gap); }
html.lle-next.lle-portal .ah-stat { padding: 14px 16px 16px; border: 0; border-radius: var(--lz-r-card); background: var(--lz-card); box-shadow: var(--lz-float-1); }
html.lle-next.lle-portal .ah-stat b { color: var(--lz-ink); font-family: var(--lz-font-display); font-size: 24px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; }
html.lle-next.lle-portal .ah-stat span { display: block; margin-top: 2px; color: var(--lz-ink-4); font-size: var(--lzp-small); }
html.lle-next.lle-portal .ah-card { margin-bottom: var(--lz-gap); border: 0; border-radius: var(--lz-r-card); background: var(--lz-card); box-shadow: var(--lz-float-1); }
html.lle-next.lle-portal .ah-head { padding: 18px var(--lzp-pad) 6px; border-bottom: 0; background: transparent; }
html.lle-next.lle-portal .ah-muted, html.lle-next.lle-portal .ah-note { color: var(--lz-ink-4); font-size: var(--lzp-small); }
html.lle-next.lle-portal .ah-row { padding: 12px var(--lzp-pad); border-bottom: 1px solid var(--lz-line); font-size: var(--lz-t-row); }
html.lle-next.lle-portal .ah-kind { margin-right: 8px !important; }
html.lle-next.lle-portal .ah-when { color: var(--lz-ink-4); font-weight: 400; }
html.lle-next.lle-portal .ah-empty { padding: 36px var(--lzp-pad); color: var(--lz-ink-4); font-size: var(--lz-t-row); line-height: 1.45; }
html.lle-next.lle-portal .ah-note { padding: 0 4px; }
html.lle-next.lle-portal .ah-note ul { margin: 8px 0 0; padding-left: 20px; line-height: 1.45; }
html.lle-next.lle-portal .ah-note li + li { margin-top: 6px; }
html.lle-next.lle-portal .ah-note strong { color: var(--lz-ink-2); font-weight: 600; }

/* P13 ── Signing in: the small pages with no menu ──────────────────────────── */
html.lle-next.lle-portal .lezy-tw > main[class~="max-w-md"] { max-width: 440px; padding: 48px 16px 64px; }
html.lle-next.lle-portal :is(#lzp, body) main[class~="max-w-md"] > div[class~="rounded-2xl"] {
  padding: 28px 24px; border: 0 !important; border-radius: var(--lz-r-sheet) !important;
  background: var(--lz-card) !important; box-shadow: var(--lz-float-1) !important;
}
html.lle-next.lle-portal main[class~="max-w-md"] h1 {
  margin: 0; color: var(--lz-ink) !important;
  font-family: var(--lz-font-display); font-size: 22px; font-weight: 700 !important; letter-spacing: -0.022em; line-height: 1.2;
}
html.lle-next.lle-portal :is(#lzp, body) main[class~="max-w-md"] p { color: var(--lz-ink-4) !important; font-size: var(--lz-t-row); line-height: 1.45; }
html.lle-next.lle-portal :is(#lzp, body) main[class~="max-w-md"] p[class~="text-xs"] { font-size: var(--lzp-small); }
/* the picture above the title: a rounded tile, tinted */
html.lle-next.lle-portal :is(#lzp, body) main[class~="max-w-md"] div[class~="h-14"][class~="w-14"] {
  width: 48px; height: 48px; border-radius: 12px !important; background: var(--lz-tint) !important; color: var(--lz-blue-text) !important;
}
html.lle-next.lle-portal main[class~="max-w-md"] div[class~="h-14"][class~="w-14"] > i { font-size: 18px; }
html.lle-next.lle-portal :is(#lzp, body) main[class~="max-w-md"] label { display: block; margin-bottom: 6px; color: var(--lz-ink) !important; font-size: 14px; font-weight: 500 !important; }
html.lle-next.lle-portal :is(#lzp, body) main[class~="max-w-md"] input:is([type="email"], [type="text"]) {
  box-sizing: border-box; width: 100%; height: 44px; padding: 0 12px;
  border: 1px solid var(--lz-field-line) !important; border-radius: var(--lz-r-field) !important;
  background: var(--lz-card) !important; color: var(--lz-ink) !important; box-shadow: none !important; font-family: var(--lz-font); font-size: 16px;
}
html.lle-next.lle-portal :is(#lzp, body) main[class~="max-w-md"] input:is([type="email"], [type="text"]):focus { border-color: var(--lz-blue) !important; box-shadow: var(--lz-ring) !important; outline: 0; }
html.lle-next.lle-portal :is(#lzp, body) main[class~="max-w-md"] button[type="submit"][class~="bg-brand"] {
  box-sizing: border-box; min-height: 44px; padding: 0 16px; border: 0; border-radius: var(--lz-r-btn) !important;
  background: var(--lz-blue) !important; color: var(--lz-on-blue) !important; box-shadow: var(--lz-face-blue-lift) !important;
  font-family: var(--lz-font); font-size: var(--lz-t-row); font-weight: 600 !important; cursor: pointer;
  transition: background-color .14s ease, transform .08s ease;
}
html.lle-next.lle-portal :is(#lzp, body) main[class~="max-w-md"] button[type="submit"][class~="bg-brand"]:hover { background: var(--lz-blue-press) !important; }
html.lle-next.lle-portal main[class~="max-w-md"] button[type="submit"]:active { transform: scale(.97); }
/* choosing between portals: each is a row you can press */
html.lle-next.lle-portal .op-choices { gap: 8px; }
html.lle-next.lle-portal .op-choice {
  min-height: 60px; padding: 12px 14px; border: 0; border-radius: 12px; background: var(--lz-fill-1, var(--lz-fill-2));
  transition: background-color .14s ease, transform .08s ease;
}
html.lle-next.lle-portal .op-choice:hover { border-color: transparent; background: var(--lz-tint); }
html.lle-next.lle-portal .op-choice:active { transform: scale(.99); }
html.lle-next.lle-portal .op-choice:focus-visible { outline: 0; box-shadow: var(--lz-ring); }
html.lle-next.lle-portal .op-choice__icon { color: var(--lz-blue); }
html.lle-next.lle-portal .op-choice__title { color: var(--lz-ink); font-size: var(--lz-t-row); font-weight: 600; }
html.lle-next.lle-portal .op-choice__sub { color: var(--lz-ink-4); font-size: var(--lzp-small); }
html.lle-next.lle-portal .op-choice__go { color: var(--lz-ink-faint); }
/* "too many tries": a plain card, not an amber one */
html.lle-next.lle-portal :is(#lzp, body) main [data-card-throttled] {
  border: 0 !important; border-radius: var(--lz-r-sheet) !important; padding: 24px !important;
  background: var(--lz-card) !important; color: var(--lz-ink) !important; box-shadow: var(--lz-float-1);
}
html.lle-next.lle-portal :is(#lzp, body) main [data-card-throttled] a { color: var(--lz-blue-text) !important; font-weight: 500 !important; text-decoration: none; }

/* Round 7: dark. The page you are on, in the portal's menu, is light words on the raised grey
   (blue words on that grey could not be read). */
html.lle-next.lle-dark.lle-portal .op-nav a.active,
html.lle-next.lle-dark.lle-portal .op-nav a.active :is(span, i) { color: var(--lz-ink) !important; }

/* Round 7c: the side card's "Message Management Team" button keeps its words on one line inside
   the pill (they broke onto two lines, the second running against the pill's edge). The column
   is narrow, so the words are 13px and the paper-plane icon steps aside. */
html.lle-next.lle-portal :is(#lzp, body) .op-side > div[class~="rounded-2xl"] > a[class~="bg-brand"][href$="/messages"] { white-space: nowrap; font-size: 13px; padding: 0 10px; }
html.lle-next.lle-portal :is(#lzp, body) .op-side > div[class~="rounded-2xl"] > a[class~="bg-brand"][href$="/messages"] > i { display: none; }

/* P14 ── Round 16 (Nov 21, 2026): the portal on an iPhone, and Messages ─────────────────────
   The portal has no pill and no drawer of ours; its own header and page switcher stay as they are. Here:
   - nothing under the status bar: the first bar on the page (the owner's header, or the staff preview strip
     above it) starts below the clock, and once the page scrolls a frosted strip the exact height of the status
     bar keeps words from running under it (no taps, nothing in it);
   - on Messages, the manager card's "Message management team" would only lead to the page you are on: put away
     (the floating copy already is, P1).
   TO GO BACK: delete this block. */
html.lle-next.lle-portal body > div.lezy-tw:first-child .op-header-inner { padding-top: calc(8px + env(safe-area-inset-top, 0px)); }
html.lle-next.lle-portal :is(#lzp, body) > [data-portal-preview] { padding-top: calc(8px + env(safe-area-inset-top, 0px)) !important; }
html.lle-next.lle-portal body::before {
  content: ""; position: fixed; z-index: 1300; top: 0; left: 0; right: 0; height: env(safe-area-inset-top, 0px);
  background: var(--lz-bar); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  pointer-events: none;
}
html.lle-next.lle-portal.lzx-pmsgs :is(#lzp, body) .op-side > div[class~="rounded-2xl"] > a[class~="bg-brand"][href$="/messages"] { display: none !important; }

/* P15 ── Round 17 (Nov 21, 2026): the top of a phone, one recipe with the app (landlordezy-next.css "Round 17").
   In real iPhone Safari the space behind the clock is outside the page (env(safe-area-inset-top) is 0 there), so
   P14's strip had no height and words ran under the clock. The strip now starts above the screen's top edge and
   reaches the installed app's status bar plus a 14px soft fade; the page colour as glass; invisible at the top of
   the page, there once it scrolls (html.lzx-scrolled, set by landlordezy-next.js). TO GO BACK: delete this block. */
@media (max-width: 767.98px) {
  html.lle-next.lle-portal body::before {
    top: -96px; height: calc(96px + env(safe-area-inset-top, 0px) + 14px);
    background: color-mix(in srgb, var(--lz-page) 72%, transparent);
    -webkit-backdrop-filter: saturate(180%) blur(16px); backdrop-filter: saturate(180%) blur(16px);
    -webkit-mask-image: linear-gradient(180deg, #000 calc(100% - 14px), transparent);
    mask-image: linear-gradient(180deg, #000 calc(100% - 14px), transparent);
    opacity: 0; transition: opacity .18s cubic-bezier(.4, 0, .9, .6);
  }
  html.lle-next.lle-portal.lzx-scrolled body::before { opacity: 1; transition: opacity .22s cubic-bezier(.2, .8, .2, 1); }
  @supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
    html.lle-next.lle-portal body::before { background: var(--lz-page); }
  }
}
@media (prefers-reduced-motion: reduce) { html.lle-next.lle-portal body::before { transition: none !important; } }

/* P16 ── Round 16b (Nov 21, 2026): on a phone the page switcher shows Messages second, after Overview, so an
   owner sees it without sliding the strip (its order in the page, and on a computer, is unchanged; the bar at the
   foot stays). TO GO BACK: delete this block. */
@media (max-width: 860px) {
  html.lle-next.lle-portal .op-nav > a:first-child { order: -2; }
  html.lle-next.lle-portal .op-nav > a[href$="/messages"] { order: -1; }
}

/* "Your team" in the property-manager card (2026-11-24), in the system's tokens. */
html.lle-next.lle-portal .op-team { border-top-color: var(--lz-line); }
html.lle-next.lle-portal .op-team-label { color: var(--lz-ink-4); }
html.lle-next.lle-portal .op-team-ava { background: var(--lz-tint); color: var(--lz-blue-text); }
html.lle-next.lle-portal .op-team-name { color: var(--lz-ink); font-weight: 500; }
html.lle-next.lle-portal .op-team-title { color: var(--lz-ink-4); }
html.lle-next.lle-portal .op-logo-img { width: auto; height: auto; flex-shrink: 0; background: transparent; border: 0; border-radius: 0; box-shadow: none; padding: 0; object-fit: contain; }
