/* ==========================================================================
   LandlordEzy public site, new look (beta): the STANDALONE public pages
   --------------------------------------------------------------------------
   Linked only by resources/views/front/next/partials/solo.blade.php, which prints
   only when the switch is on (App\Support\NewLook::onPublic). These pages have no
   site layout of their own (signing, paying, approving and unsubscribe links, the
   SIREG sign-up, booking pages, the tenant and owner entry pages), each with its
   own small <style> or inline styles, so this file speaks in elements and in the
   marks the companion script (public/js/landlordezy-next-solo.js) puts on the
   page's own buttons and cards. It never hides, moves or adds anything.

   Same language as the new site (tailwind.next-site.config.js): system type,
   ink #1d1d1f on a pale cool ground #f6f9fc, white cards on a soft shadow,
   pill buttons (one blue Primary, white Neutral), 48px fields with 16px text so
   iOS does not zoom, a blue focus ring. Light only, like the rest of the site.

   Weight: every rule starts with :root:not(#_) (one id), so it outranks the
   pages' own class rules; !important only where pages write inline styles.
   Performance rules (see the top of landlordezy-next.css): no :has(), no
   universal-subject attribute rules, nothing keyed on html or body classes that
   change after load.
   ========================================================================== */

:root:not(#_) {
  color-scheme: light;
  --nxs-ink: #1d1d1f;
  --nxs-ink-2: #424245;
  --nxs-ink-3: #636368;
  --nxs-line: #d3dbe7;
  --nxs-line-soft: #e3e9f1;
  --nxs-ground: #f6f9fc;
  --nxs-blue: #096ef9;
  --nxs-blue-hover: #0661e0;
  --nxs-blue-text: #0659d6;
  --nxs-red: #d70015;
  --nxs-font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI Variable Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --nxs-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI Variable Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --nxs-ring: 0 0 0 4px rgba(9, 110, 249, .18);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

/* ---- ground and type ---------------------------------------------------- */
:root:not(#_) body {
  background: var(--nxs-ground) !important;
  color: var(--nxs-ink);
  font-family: var(--nxs-font) !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-wrap: break-word;
}
:root:not(#_) :is(button, input, select, textarea) { font-family: var(--nxs-font) !important; }
:root:not(#_) h1 {
  font-family: var(--nxs-display) !important;
  font-size: clamp(1.5rem, 1.15rem + 1.5vw, 2rem) !important;
  line-height: 1.15 !important;
  font-weight: 700 !important;
  letter-spacing: -0.02em !important;
  color: var(--nxs-ink) !important;
  text-wrap: balance;
}
:root:not(#_) h2 {
  font-family: var(--nxs-display) !important;
  font-size: 1.25rem !important;
  line-height: 1.25 !important;
  font-weight: 600 !important;
  letter-spacing: -0.01em !important;
  color: var(--nxs-ink) !important;
}
:root:not(#_) h3 { font-family: var(--nxs-display) !important; font-weight: 600 !important; letter-spacing: -0.005em; color: var(--nxs-ink) !important; }
:root:not(#_) :is(h1, h2, h3).nxs-ondark { color: #fff !important; }
:root:not(#_) :is(p, li) { line-height: 1.55; text-wrap: pretty; }
:root:not(#_) a:not(.nxs-btn) { color: var(--nxs-blue-text); text-underline-offset: .18em; }
:root:not(#_) hr { border: 0; border-top: 1px solid var(--nxs-line-soft); }
:root:not(#_) ::selection { background: rgba(9, 110, 249, .2); }

/* ---- cards (marked by the script: a white panel on the page ground) ------ */
:root:not(#_) .nxs-card {
  background: #fff !important;
  border: 0 !important;
  border-radius: 24px !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 8px 24px rgba(0, 0, 0, .06) !important;
}
/* a card inside a card is a quiet inset, not a second floating card */
:root:not(#_) .nxs-card .nxs-inset {
  background: var(--nxs-ground) !important;
  border: 0 !important;
  border-radius: 16px !important;
  box-shadow: none !important;
}

/* ---- buttons (marked by the script) --------------------------------------- */
:root:not(#_) .nxs-btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-height: 44px !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  padding-left: max(1.25rem, var(--nxs-px, 0px)) !important;
  padding-right: max(1.25rem, var(--nxs-px, 0px)) !important;
  border-radius: 9999px !important;
  font-size: 1.0625rem !important;
  font-weight: 500 !important;
  line-height: 1.2 !important;
  letter-spacing: -0.01em !important;
  text-transform: none !important;
  text-decoration: none !important;
  text-align: center;
  box-shadow: none !important;
  background-image: none !important;
  transition: background-color .2s cubic-bezier(.28, .11, .32, 1), border-color .2s, color .2s;
  cursor: pointer;
}
:root:not(#_) .nxs-btn.nxs-block { display: flex !important; width: 100%; }
:root:not(#_) .nxs-btn.nxs-small { min-height: 36px !important; font-size: .9375rem !important; padding-left: 1rem !important; padding-right: 1rem !important; }
:root:not(#_) .nxs-pri { background-color: var(--nxs-blue) !important; color: #fff !important; border: 0 !important; }
:root:not(#_) .nxs-pri:hover { background-color: var(--nxs-blue-hover) !important; }
:root:not(#_) .nxs-pri :is(i, svg, span) { color: inherit !important; }
:root:not(#_) .nxs-neu { background-color: #fff !important; color: var(--nxs-ink) !important; border: 1px solid var(--nxs-line) !important; }
:root:not(#_) .nxs-neu:hover { background-color: var(--nxs-ground) !important; }
:root:not(#_) .nxs-tint { background-color: #eaf2ff !important; color: var(--nxs-blue-text) !important; border: 0 !important; }
:root:not(#_) .nxs-tint:hover { background-color: #dceaff !important; }
:root:not(#_) .nxs-bad { background-color: #fff !important; color: var(--nxs-red) !important; border: 1px solid #ee9aa4 !important; }
:root:not(#_) .nxs-bad:hover { background-color: #fdecee !important; }
:root:not(#_) .nxs-bad.nxs-bad-fill { background-color: var(--nxs-red) !important; color: #fff !important; border: 0 !important; }
:root:not(#_) .nxs-bad.nxs-bad-fill:hover { background-color: #b80012 !important; }
:root:not(#_) .nxs-bad :is(i, svg, span) { color: inherit !important; }
:root:not(#_) .nxs-btn:disabled, :root:not(#_) .nxs-btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; }
:root:not(#_) :is(a, button, input, select, textarea, summary, [tabindex]):focus-visible { outline: 3px solid rgba(9, 110, 249, .6) !important; outline-offset: 2px; }

/* ---- fields ----------------------------------------------------------------- */
:root:not(#_) :is(input:not([type="checkbox"]):not([type="radio"]):not([type="file"]):not([type="hidden"]):not([type="range"]):not([type="submit"]):not([type="button"]):not([type="color"]), select, textarea) {
  font-size: 16px !important;              /* 16px or iOS zooms the page on focus */
  color: var(--nxs-ink) !important;
  background-color: #fff !important;
  border: 1px solid var(--nxs-line) !important;
  border-radius: 12px !important;
  box-shadow: none;
  max-width: 100%;
}
:root:not(#_) :is(input:not([type="checkbox"]):not([type="radio"]):not([type="file"]):not([type="hidden"]):not([type="range"]):not([type="submit"]):not([type="button"]):not([type="color"]), select) {
  min-height: 48px !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  padding-left: 14px !important;
  padding-right: 14px !important;
}
:root:not(#_) select { padding-right: 36px !important; }
:root:not(#_) textarea { padding: 12px 14px !important; line-height: 1.5 !important; }
:root:not(#_) :is(input, select, textarea)::placeholder { color: #8e8e93; opacity: 1; }
:root:not(#_) :is(input:not([type="checkbox"]):not([type="radio"]):not([type="file"]), select, textarea):focus {
  outline: none !important;
  border-color: var(--nxs-blue) !important;
  box-shadow: var(--nxs-ring) !important;
}
:root:not(#_) input[type="file"] { font-size: 15px !important; border-radius: 12px !important; max-width: 100%; }
:root:not(#_) :is(input[type="checkbox"], input[type="radio"]) { accent-color: var(--nxs-blue); width: 20px; height: 20px; }
:root:not(#_) label { color: var(--nxs-ink-2); }

/* ---- the SIREG sign-up's step row (front/sireg_join_layout) ----------------- */
:root:not(#_) .steps .step { border-radius: 9999px !important; text-transform: none !important; letter-spacing: 0 !important; font-size: 13px !important; font-weight: 600 !important; text-align: center; }
:root:not(#_) .steps .step.on { background: #050c3b !important; color: #fff !important; }
:root:not(#_) .steps .step.done { background: #ecf8e1 !important; color: #1f7a16 !important; border-color: transparent !important; }

/* ---- phone ------------------------------------------------------------------ */
@media (max-width: 600px) {
  :root:not(#_) .nxs-card { border-radius: 20px !important; }
  :root:not(#_) .nxs-card.nxs-edge { margin-left: 16px !important; margin-right: 16px !important; width: auto !important; }
  :root:not(#_) body { padding-bottom: env(safe-area-inset-bottom); }
  :root:not(#_) :is(table) { max-width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  :root:not(#_) .nxs-btn { transition: none; }
}

@media print {
  :root:not(#_) body { background: #fff !important; }
  :root:not(#_) .nxs-card { box-shadow: none !important; border: 1px solid #ddd !important; }
}

/* ── Round 11: uploads ──
   Same box as in landlordezy-next.css, drawn with this file's own colours. */
/* The upload helper (public/js/landlordezy-next-upload.js): a drop box under a photo field with a
   thumbnail strip, a count, a Take Photo button on a touch screen, and a polite progress line.
   Tokens only. The way back: delete this block and the script tag. */
:root:not(#_) {
  --lz-field-line: var(--nxs-line); --lz-fill-1: var(--nxs-ground); --lz-fill-2: var(--nxs-line-soft);
  --lz-blue: var(--nxs-blue); --lz-ink: var(--nxs-ink); --lz-ink-2: var(--nxs-ink-2); --lz-ink-4: var(--nxs-ink-3);
  --lz-font: var(--nxs-font); --lz-ring: var(--nxs-ring); --lz-r-field: 12px; --lz-r-btn: 999px; --lz-r-round: 999px;
  --lz-tint: #eaf2ff; --lz-btn: #ffffff; --lz-btn-hover: #f4f4f6; --lz-deep: #050c3b; --lz-on-ink: #ffffff;
  --lz-warn: #9a4f00; --lz-warn-tint: #fff3e0;
  --lz-face-lift: inset 0 0 0 1px rgba(5, 12, 59, .14), 0 1px 1px rgba(5, 12, 59, .03);
}
:root:not(#_) .lzu {
  box-sizing: border-box; display: block; max-width: 100%; margin: 8px 0 4px; padding: 12px;
  border: 1.5px dashed var(--lz-field-line); border-radius: var(--lz-r-field);
  background: var(--lz-fill-1); color: var(--lz-ink); font: 400 14px/1.4 var(--lz-font);
  text-align: left;
}
:root:not(#_) .lzu:focus-visible { outline: 0; border-color: var(--lz-blue); box-shadow: var(--lz-ring); }
:root:not(#_) .lzu.lzu-drop { border-style: solid; border-color: var(--lz-blue); background: var(--lz-tint); }
:root:not(#_) .lzu-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
:root:not(#_) .lzu-hint { flex: 1 1 200px; min-width: 0; margin: 0; color: var(--lz-ink-4); font-size: 13px; }
:root:not(#_) .lzu-btn {
  box-sizing: border-box; min-height: 44px; padding: 0 20px; border: 0; border-radius: var(--lz-r-btn);
  background: var(--lz-btn); color: var(--lz-ink); box-shadow: var(--lz-face-lift);
  font: 600 14px/1 var(--lz-font); cursor: pointer; -webkit-tap-highlight-color: transparent;
}
:root:not(#_) .lzu-btn:hover { background: var(--lz-btn-hover); }
:root:not(#_) .lzu-btn:focus-visible, :root:not(#_) .lzu-rm:focus-visible { outline: 0; box-shadow: var(--lz-ring); }
:root:not(#_) .lzu-list { display: flex; flex-wrap: wrap; gap: 10px; margin: 12px 0 0; padding: 0; list-style: none; }
:root:not(#_) .lzu-item { position: relative; box-sizing: border-box; margin: 0; padding: 0; border-radius: 12px; background: var(--lz-fill-2); overflow: hidden; }
:root:not(#_) .lzu-photo { width: 96px; height: 96px; }
:root:not(#_) .lzu-photo img { display: block; width: 96px; height: 96px; object-fit: cover; }
:root:not(#_) .lzu-chip { display: flex; align-items: center; gap: 8px; min-height: 44px; max-width: 100%; padding: 0 0 0 12px; }
:root:not(#_) .lzu-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; font-weight: 500; }
:root:not(#_) .lzu-size { flex: none; color: var(--lz-ink-4); font-size: 13px; }
:root:not(#_) .lzu-rm {
  position: absolute; top: 0; right: 0; width: 44px; height: 44px; margin: 0; padding: 4px;
  display: grid; place-items: start end; border: 0; background: transparent; cursor: pointer; -webkit-tap-highlight-color: transparent;
}
:root:not(#_) .lzu-chip .lzu-rm { position: static; flex: none; place-items: center; }
:root:not(#_) .lzu-x {
  display: grid; place-items: center; width: 24px; height: 24px; border-radius: var(--lz-r-round);
  background: var(--lz-deep); color: var(--lz-on-ink); font: 600 16px/1 var(--lz-font);
}
:root:not(#_) .lzu-sum { margin: 10px 0 0; color: var(--lz-ink-2); font-size: 13px; font-weight: 600; }
:root:not(#_) .lzu-note { margin: 10px 0 0; padding: 8px 12px; border-radius: 12px; background: var(--lz-warn-tint); color: var(--lz-warn); font-size: 13px; }
:root:not(#_) .lzu-live { margin: 6px 0 0; min-height: 0; color: var(--lz-ink-4); font-size: 13px; }
:root:not(#_) .lzu-live:empty { display: none; }
:root:not(#_) .lzu[hidden], :root:not(#_) .lzu-list[hidden], :root:not(#_) .lzu-sum[hidden], :root:not(#_) .lzu-note[hidden] { display: none; }
@media (hover: none) {
  :root:not(#_) .lzu-hint { display: none; }
}
@media (max-width: 767.98px) {
  :root:not(#_) .lzu { padding: 10px; }
  :root:not(#_) .lzu-list { gap: 8px; }
}
:root:not(#_) .lzu-lite { display: block; margin: 4px 0; }
:root:not(#_) .lzu-lite .lzu-note, :root:not(#_) .lzu-lite .lzu-live { margin-top: 6px; font: 400 13px/1.4 var(--lz-font); }
