/* The listing details box (owner, 20 Nov 2026; views/inc/listing-details.inc.php): /list, staff list on behalf, the edit form.
   Design rule: Inter, #1A1F24 text, #4A5560 secondary, sentence case, teal brand, 8px grid, 44px+ taps, 16px inputs. */
.ld-box { margin: 0 0 16px; }
.ld-card { background: #fff; border: 1px solid #e3eaed; border-radius: 12px; padding: 16px; margin: 0 0 16px; }
.ld-h { font-size: 18px; font-weight: 700; letter-spacing: -0.01em; color: #1A1F24; margin: 0 0 8px; }
.ld-hint { font-size: 14px; line-height: 1.5; color: #4A5560; margin: 4px 0 8px; }
.ld-field { border: 0; padding: 0; margin: 0 0 16px; min-width: 0; }
.ld-label { display: block; font-size: 15px; font-weight: 600; color: #1A1F24; margin: 0 0 8px; padding: 0; }
.ld-req { font-size: 13px; font-weight: 500; color: #4A5560; margin-left: 4px; }
.ld-input { display: block; width: 100%; box-sizing: border-box; min-height: 48px; padding: 8px 12px; font-size: 16px; color: #1A1F24; background: #fff; border: 1.5px solid #cbd8de; border-radius: 10px; }
textarea.ld-input { min-height: 144px; line-height: 1.5; resize: vertical; }
.ld-input[aria-invalid="true"], .ld-chips[aria-invalid="true"] span { border-color: #b3261e; }
.ld-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px 16px; }
.ld-row > .ld-field { margin-bottom: 16px; }
.ld-chips, .ld-ticks { display: flex; flex-wrap: wrap; gap: 8px; }
.ld-chips label, .ld-ticks label { margin: 0; flex: 0 1 auto; }
.ld-chips input, .ld-ticks input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.ld-chips span, .ld-ticks span { display: flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 16px; border: 1.5px solid #cbd8de; border-radius: 22px; font-size: 15px; font-weight: 500; color: #1A1F24; background: #fff; cursor: pointer; text-align: center; }
.ld-chips input:checked + span, .ld-ticks input:checked + span { background: #177b85; border-color: #177b85; color: #fff; }
.ld-ticks input:checked + span::before { content: "\2713\00a0"; }
.ld-chips input:focus-visible + span, .ld-ticks input:focus-visible + span { box-shadow: 0 0 0 3px rgba(23,123,133,.35); }
.ld-err { font-size: 14px; color: #b3261e; margin: 4px 0 0; }
.ld-err:empty { display: none; }
.ld-desc-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin-top: 8px; }
.ld-count { font-size: 14px; color: #4A5560; }
.ld-count.is-ok { color: #1d6b3a; }
.ld-btn { min-height: 44px; padding: 0 16px; border: 1.5px solid #177b85; border-radius: 22px; background: #fff; color: #177b85; font-size: 15px; font-weight: 600; cursor: pointer; }
.ld-strength { background: #f3f8f9; border-radius: 10px; padding: 12px; margin: 0 0 16px; }
.ld-strength-row { display: flex; justify-content: space-between; align-items: baseline; font-size: 15px; color: #1A1F24; }
.ld-strength-row strong { font-size: 20px; font-variant-numeric: tabular-nums; }
.ld-meter { height: 8px; border-radius: 4px; background: #dfe9ec; overflow: hidden; margin-top: 8px; }
.ld-meter span { display: block; height: 100%; background: #177b85; transition: width .2s; }
.ld-box[data-kind="land"] [data-ld-notland] { display: none; }
.ld-box:not([data-kind="land"]) [data-ld-landreq] { display: none; }
@media (max-width: 400px) { .ld-row { grid-template-columns: minmax(0, 1fr); gap: 0; } }
.ld-box[data-kind="land"] [data-ld-rooms] { display: none; }
/* a block of flats (26 Nov 2026): no single bathroom, toilet or bedroom count */
.ld-box[data-kind="block"] [data-ld-rooms], .ld-box[data-kind="block"] [data-ld-notblock] { display: none; }
section.mu-box.ld-box.ld-card { margin: 0 0 16px; padding: 16px; }   /* the account pages strip section padding */
.mu-box .ld-field, .mu-box .ld-row { margin-bottom: 16px; }
.mu-box .ld-row .ld-field { margin-bottom: 0; }
.mu-box[hidden] { display: none; }
.mu-mix { border: 0; padding: 0; }
.mu-row { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 8em); gap: 8px; align-items: center; margin: 0 0 8px; }
.mu-row[hidden] { display: none; }
.ld-box[data-kind="commercial"] [data-ld-rooms] > .ld-field:first-child .ld-req { display: none; }
.ld-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ld-req { color: #b3261e; font-weight: 700; margin-left: 2px; }
.ld-opt { font-size: 13px; font-weight: 500; color: #4A5560; margin-left: 4px; }
.ld-missing { border-color: #b3261e !important; box-shadow: 0 0 0 2px rgba(179,38,30,.15); }
.ld-err-live { font-size: 14px; color: #b3261e; margin: 4px 0 0; font-weight: 600; }
.ldr-thumbs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 8px; width: 100%; }
.ldr-thumbs img { width: 56px; height: 56px; object-fit: cover; border-radius: 6px; background: #eef2f4; }
