/* The landlord shape and the tenant's own screens (account-types slice 7; mockups 02, 03, 03b, 04, 04b). White only,
   Avenir Next for words and DIN Condensed for figures, as the rest of look v2. Phone first at 390 px, then 768, 1024 and
   1440. Every target is at least 44 px. */

/* ------------------------------------------------------------------ landlord */
.ll { padding: 16px 16px 120px; max-width: 980px; margin: 0 auto; }
.ll-narrow { max-width: 620px; }
.ll-date { margin: 4px 0 2px; color: var(--steel); font-size: 15px; }
.ll-head { margin: 0 0 24px; font-size: 26px; line-height: 32px; font-weight: 600; letter-spacing: -.01em; }
.ll-head-2 { color: #8A929B; }
.ll-fine { margin: 6px 0 0; color: var(--steel); font-size: 14px; line-height: 20px; }
.ll-card { margin: 0 0 var(--sec-gap); padding: 16px; border-radius: var(--r-card); background: var(--quiet-tint); }
.ll-card-t { margin: 0 0 6px; font-size: 17px; line-height: 24px; font-weight: 600; }
.ll-card .v-btn { margin-top: 12px; }
.ll-reqs { display: grid; gap: 0; border-top: 1px solid var(--line); }
.ll-req { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.ll-req-tap { cursor: pointer; }       /* the whole row opens a waiting request (slice BA) */
.ll-req-e .ll-req-s { color: var(--stop); font-weight: 500; }
.ll-thumb { width: 56px; height: 56px; border-radius: 10px; object-fit: cover; background: var(--concrete); }
.ll-thumb-none { display: block; }
.ll-req-k { display: flex; justify-content: space-between; gap: 8px; color: var(--steel); font-size: 14px; line-height: 20px; }
.ll-req-k span:last-child { flex: none; white-space: nowrap; }
.ll-req-t { margin: 2px 0; font-size: 17px; line-height: 23px; font-weight: 600; overflow-wrap: anywhere; }
.ll-req-s { color: var(--steel); font-size: 14px; line-height: 20px; }
.ll-req .v-btn { margin-top: 10px; min-height: 44px; }
.ll-req-st { margin-top: 8px; }
.ll-table { border-top: 1px solid var(--ink); }
.ll-tr { position: relative; display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(64px, .7fr) minmax(84px, .9fr); gap: 8px; align-items: center;
  min-height: 56px; padding: 10px 0; border-bottom: 1px solid var(--line); color: inherit; text-decoration: none; }
.ll-tr span:nth-child(n+2) { text-align: right; font: 600 18px/22px var(--num); }
.ll-tr strong { display: block; font-weight: 600; }
.ll-tr small { display: block; color: var(--steel); font-size: 14px; }
.ll-th { min-height: 0; padding: 8px 0; color: var(--steel); font-size: 14px; }
.ll-th span:nth-child(n+2) { font-family: inherit; font-size: 14px; font-weight: 400; line-height: 20px; }
.ll-tr-a { color: inherit; text-decoration: none; }
.ll-tr-a::after { content: ""; position: absolute; inset: 0; }        /* the link covers its row (Codex A1) */
.ll-tr:hover .ll-tr-a strong { text-decoration: underline; }
.ll-tr-a:focus-visible { outline: none; }
.ll-tr:has(.ll-tr-a:focus-visible) { outline: 2px solid var(--ink); outline-offset: 2px; }
.ll-unit { padding: 14px 0; border-bottom: 1px solid var(--line); }
.ll-unit-h { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 6px; }
.ll-unit .v-btn { margin-top: 10px; }
.ll-acts { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0 var(--sec-gap); }
.ll-facts { display: grid; gap: 0 16px; }
.ll-facts .v-btn { justify-self: start; margin-top: 8px; }
.ll-doc-add { margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--line); }
.ll-doc-add .v-btn { margin-top: 12px; }
.ll-sh-k { margin: 0 0 4px; color: var(--steel); font-size: 14px; line-height: 20px; }
.ll-sh-t { margin: 0 0 6px; font-size: 22px; line-height: 28px; font-weight: 600; }
.ll-sh-s { margin: 8px 0 0; color: var(--steel); font-size: 14px; }
.ll-sh-h { margin: 20px 0 10px; padding-bottom: 8px; border-bottom: 1px solid var(--ink); font-size: 16px; font-weight: 600; }
.ll-photos { display: flex; gap: 8px; margin: 10px 0 0; overflow-x: auto; }
.ll-ph { flex: none; display: grid; place-items: center; width: 72px; height: 72px; border-radius: 10px; overflow: hidden; background: var(--concrete); color: var(--ink); text-decoration: none; }
.ll-ph img { width: 100%; height: 100%; object-fit: cover; }
.ll-ph-v { gap: 2px; }
.ll-forms { margin-top: 16px; }
.ll-sw { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 48px; margin-top: 8px; font-weight: 500; }
.ll-sh-foot { display: grid; gap: 8px; }
.ll-sh-foot .ll-fine { text-align: center; margin: 0; }
.ll-warn { color: var(--you); font-weight: 500; }
.ll-pre { margin: 4px 0 12px; padding: 12px 14px; border-left: 3px solid var(--orange); background: var(--quiet-tint); border-radius: 0 10px 10px 0; font-size: 15px; line-height: 22px; }
.ll-check { display: flex; gap: 10px; align-items: center; min-height: 44px; margin-bottom: 12px; font-weight: 500; }
.ll-check input { width: 22px; height: 22px; accent-color: var(--ink); }
.ll-now { margin: 12px 0 16px; font-size: 15px; line-height: 26px; }
.ll-now .v-st { margin-right: 6px; vertical-align: 1px; }
.ll-hint { margin-top: 4px; }
.ll .field { margin-bottom: 16px; }
.ll-unit .link { margin-top: 4px; }
.ll-save { margin-top: 20px; }
.ll .v-seg { margin-bottom: 16px; }
@media (min-width: 768px) {
  .ll { padding: 24px 32px 64px; }
  .ll-head { font-size: 30px; line-height: 36px; }
  .ll-facts { grid-template-columns: 1fr 1fr; }
  .ll-facts .v-btn { grid-column: 1 / -1; }
}
@media (min-width: 1024px) {
  .ll { padding: 32px 40px 64px; }
  .ll-reqs { grid-template-columns: 1fr 1fr; gap: 0 32px; }
}

/* ------------------------------------------------------------------ tenant */
.tn { min-height: 100dvh; display: flex; flex-direction: column; background: var(--white); }
.tn-top { position: sticky; top: 0; z-index: 2; display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: calc(env(safe-area-inset-top) + 12px) 16px 12px; background: var(--white); }
.tn-name { font-size: 17px; font-weight: 600; line-height: 22px; }
.tn-place { color: var(--steel); font-size: 14px; line-height: 20px; }
.tn-av { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--quiet-tint); color: var(--ink); }
.tn-body { flex: 1; width: 100%; max-width: 620px; margin: 0 auto; padding: 8px 16px calc(env(safe-area-inset-bottom) + 112px); }
.tn-head { margin: 8px 0 20px; font-size: 26px; line-height: 32px; font-weight: 600; letter-spacing: -.01em; }
.tn-head.tn-head-s { margin-bottom: 4px; }
.tn-sub { margin: 0 0 20px; font-size: 16px; line-height: 24px; font-weight: 500; color: var(--v-mute, #5F6770); }
.tn-h2 { margin: 24px 0 12px; padding-bottom: 8px; border-bottom: 1px solid var(--ink); font-size: 16px; line-height: 22px; font-weight: 600; }
.tn-h2 label { font: inherit; }
.tn-where { margin: 0; color: var(--steel); font-size: 14px; }
.tn-lede { margin-top: -10px; color: var(--steel); }
.tn-card { display: block; color: inherit; text-decoration: none; }
.tn-card-t { padding-bottom: 8px; border-bottom: 1px solid var(--ink); font-size: 16px; font-weight: 600; }
.tn-card-s { margin: 8px 0 0; color: var(--steel); font-size: 15px; line-height: 22px; overflow-wrap: anywhere; }
.tn-steps { position: relative; margin: 16px 0 0; padding: 0; list-style: none; }
.tn-step { position: relative; display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 14px; padding: 0 0 20px; }
.tn-step:not(:last-child)::before { content: ""; position: absolute; left: 10px; top: 22px; bottom: 0; width: 2px; background: var(--concrete); }
.tn-dot { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--field); background: var(--white); }
.tn-done .tn-dot { background: var(--ink); border-color: var(--ink); }
.tn-now .tn-dot { border: 6px solid var(--orange); }
.tn-step-t { font-size: 16px; line-height: 22px; font-weight: 600; }
.tn-next .tn-step-t { font-weight: 500; }
.tn-step-s { color: var(--steel); font-size: 14px; line-height: 20px; }
.tn-list { border-top: 1px solid var(--line); }
.tn-row { display: block; width: 100%; padding: 14px 0; border: 0; border-bottom: 1px solid var(--line); background: none; text-align: left;
  color: inherit; text-decoration: none; font: inherit; cursor: pointer; }
.tn-row-k { color: var(--go); font-size: 14px; font-weight: 500; }
.tn-row-t { font-size: 16px; font-weight: 600; line-height: 22px; }
.tn-row-s { color: var(--steel); font-size: 14px; }
.tn-emerg { margin: 28px 0 0; color: var(--steel); font-size: 15px; }
.tn-emerg p { margin: 0; }
.tn-emerg .tn-emerg-911 { margin-bottom: 4px; color: var(--ink); font-weight: 600; }      /* the fixed line, above the number */
.tn-emerg a { color: var(--ink); font-weight: 600; white-space: nowrap; }
.tn-ebox { margin: 0 0 8px; padding: 14px 16px; border: 1.5px solid var(--stop); border-radius: var(--r-card); }
.tn-ebox-t { margin: 0 0 4px; color: var(--stop); font-weight: 600; font-size: 16px; line-height: 22px; }
.tn-ebox-s { margin: 0; font-size: 15px; line-height: 21px; }
.tn-ebox-911 { margin: 0 0 6px; font-weight: 600; }      /* the fixed line, above the number or the error */
.tn-cats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.tn-cat { position: relative; display: flex; align-items: center; justify-content: center; min-height: 56px; padding: 10px;
  border: 1px solid var(--field); border-radius: var(--r-ctl); background: var(--white);
  color: var(--ink); font: 500 15px/20px inherit; font-family: inherit; text-align: center; cursor: pointer; }
/* a native radio under each tile (Codex A2): the arrow keys move between them, the tile shows the pick and the focus */
.tn-cat-in { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.tn-cat:has(.tn-cat-in:checked) { border: 2px solid var(--ink); font-weight: 600; }
.tn-cat:has(.tn-cat-in:focus-visible) { outline: 2px solid var(--ink); outline-offset: 2px; }
.tn-discard { display: block; margin: 12px auto 0; min-height: 44px; }
.tn-retry { min-height: 44px; font-weight: 600; }
.tn-ebox-old { margin-top: 4px; color: var(--steel); font-size: 14px; }
.tn-text { width: 100%; min-height: 112px; resize: vertical; }
.tn-add { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; margin-top: 8px; padding: 0 16px; border: 1px solid var(--field);
  border-radius: var(--r-ctl); background: var(--white); color: var(--ink); font: 500 15px/20px inherit; font-family: inherit; cursor: pointer; }
.tn-fine { margin: 8px 0 0; color: var(--steel); font-size: 14px; line-height: 20px; }
.tn-form .error { margin: 12px 0 0; }
.tn-send { position: sticky; bottom: calc(env(safe-area-inset-bottom) + 76px); margin-top: 24px; padding: 12px 0; background: var(--white); text-align: center; }
.tn-acts { display: grid; gap: 10px; margin: 24px 0 0; }
.tn-withdraw { justify-self: center; color: var(--steel); }
.tn-photos { display: flex; gap: 8px; margin: 12px 0; overflow-x: auto; }
.tn-photo { width: 88px; height: 88px; border-radius: 10px; object-fit: cover; }
.tn-vid { position: relative; display: inline-grid; place-items: center; }
.tn-vid > svg { position: absolute; color: var(--white); }
.tn-note { margin: 12px 0; padding: 12px 14px; border-radius: 10px; background: var(--quiet-tint); font-size: 15px; }
.tn-back { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; color: var(--ink); text-decoration: none; font-weight: 500; }
.tn-tabs { position: fixed; left: 0; right: 0; bottom: 0; z-index: 3; display: grid; grid-template-columns: 1fr 1fr;
  padding: 6px 0 calc(env(safe-area-inset-bottom) + 6px); border-top: 1px solid var(--line); background: var(--white); }
.tn-tab { display: grid; justify-items: center; gap: 2px; min-height: 52px; padding-top: 4px; color: #8A929B; text-decoration: none; }
.tn-tab.on { color: var(--ink); }
.tn-tab-plus { display: grid; place-items: center; width: 44px; height: 32px; border-radius: 10px; background: var(--orange); color: var(--v-on-orange); }
.tn-invite { max-width: 460px; margin: 0 auto; padding: calc(env(safe-area-inset-top) + 32px) 16px 48px; }
.tn-logo { display: block; margin-bottom: 32px; }
.tn-invite .v-t-title { margin: 0 0 12px; }
.tn-label { display: block; margin: 24px 0 6px; font-weight: 600; }
.tn-invite .input { width: 100%; }
.tn-invite .v-btn { margin-top: 16px; }
@media (min-width: 768px) {
  .tn-top { padding-left: max(16px, calc((100% - 620px) / 2 + 16px)); padding-right: max(16px, calc((100% - 620px) / 2 + 16px)); }
  .tn-cats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tn-head { font-size: 30px; line-height: 36px; }
  .tn-tabs { left: 50%; right: auto; width: 360px; transform: translateX(-50%); bottom: 16px; border: 1px solid var(--line); border-radius: 18px;
    box-shadow: var(--shadow-sheet); padding-bottom: 6px; }
}

/* ------------------------------------------------------------------ messages (slice 7 follow up) */
.tn-msgs { display: grid; gap: 10px; margin: 0 0 16px; padding: 0; list-style: none; }
.tn-msg { max-width: 85%; justify-self: start; }
.tn-msg-me { justify-self: end; text-align: right; }
.tn-msg-b { margin: 0; padding: 10px 14px; border-radius: 16px 16px 16px 4px; background: var(--quiet-tint); font-size: 16px;
  line-height: 22px; white-space: pre-wrap; overflow-wrap: anywhere; text-align: left; }
.tn-msg-me .tn-msg-b { border-radius: 16px 16px 4px 16px; background: var(--ink); color: var(--white); }
.tn-msg-t { margin: 4px 4px 0; color: var(--steel); font-size: 13px; }
.tn-msg-form .v-btn { margin-top: 10px; }
.tn-tabs { grid-template-columns: 1fr 1fr 1fr; }
.tn-tab { position: relative; }
.tn-badge { position: absolute; top: 0; left: calc(50% + 8px); min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px;
  background: var(--orange); color: var(--v-on-orange); font: 600 12px/18px var(--num); text-align: center; }
.ll-thread { margin: 12px 0; }
@media (min-width: 768px) { .tn-tabs { width: 420px; } }

/* ------------------------------------------------------------------ My home (slice 7 follow up) */
.ll-home { margin: 0 0 var(--sec-gap); padding: 16px; border: 1px solid var(--line); border-radius: var(--r-card); }
.ll-home .v-btn { margin-top: 12px; }
.ll-home-a { margin: 0 0 6px; font-size: 17px; font-weight: 600; }
.ll-home .ll-acts { margin: 12px 0 0; align-items: center; }
