/* ============================================================
   Housing Direct — page-specific rules
   One-page rules, plus the minority side of every drifted definition.
   Every rule here is scoped with :where(body.p-<page>) so the file is safe
   to load on all portal pages; :where() contributes no specificity, so each
   rule matches exactly what it matched inline.
   
   Grouped by page. During the Rails port these become per-view stylesheets;
   the scope selector maps to the controller/action body class.
   ============================================================ */

/* ---------- la/booking-request.html ---------- */
:where(body.p-la-booking-request,body.p-la-lease-offer) .stepno{font-size:11px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--teal-700)}
:where(body.p-la-booking-request,body.p-la-lease-offer) .prop-sum{display:flex;gap:14px;align-items:center;border:1px solid var(--line);border-radius:14px;padding:12px 16px 12px 12px}
:where(body.p-la-booking-request,body.p-la-lease-offer) .prop-sum img{width:86px;height:64px;border-radius:10px;object-fit:cover;flex-shrink:0}
:where(body.p-la-booking-request,body.p-la-lease-offer) .prop-sum .grow{flex:1}
:where(body.p-la-booking-request,body.p-la-lease-offer) .prop-sum .ph{width:86px;height:64px;border-radius:10px;background:var(--tint-stone);color:var(--ink-4);display:grid;place-items:center;font-size:18px;flex-shrink:0}
:where(body.p-la-booking-request,body.p-la-lease-offer) .hh-pick{border:1px solid var(--line);border-radius:14px;padding:14px 16px;display:flex;gap:13px;align-items:flex-start;cursor:pointer;transition:border-color .15s,background .15s;margin-bottom:10px}
:where(body.p-la-booking-request,body.p-la-lease-offer) .hh-pick:hover{border-color:#d7dbdf}
:where(body.p-la-booking-request,body.p-la-lease-offer) .hh-pick:has(input:checked){border-color:var(--teal);background:var(--teal-50)}
:where(body.p-la-booking-request,body.p-la-lease-offer) .hh-pick input{width:16px;height:16px;accent-color:var(--teal);margin-top:2px;flex-shrink:0}
:where(body.p-la-booking-request,body.p-la-lease-offer) .hh-pick .grow{flex:1}
:where(body.p-la-booking-request,body.p-la-lease-offer) .hh-pick .ht{font-size:14.5px;font-weight:600}
:where(body.p-la-booking-request,body.p-la-lease-offer) .hh-pick .hs{font-size:12.5px;color:var(--ink-3);margin-top:2px}
:where(body.p-la-booking-request,body.p-la-lease-offer) .attach{display:flex;gap:8px;align-items:flex-start;padding:11px 13px;background:var(--tint-mint);border-radius:11px;font-size:12.5px;color:#2b7d55;line-height:1.5;margin-top:12px}
/* variant of the shared rule — differs from the version in portal-components.css */
:where(body.p-la-booking-request,body.p-la-lease-offer) .kv{display:flex;justify-content:space-between;gap:12px;font-size:13.5px;padding:7px 0;border-top:1px solid var(--line-2)}
:where(body.p-la-booking-request,body.p-la-lease-offer) .side-label{font-size:11px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--ink-4);margin-bottom:8px}
:where(body.p-la-booking-request,body.p-la-lease-offer) .nextl{list-style:none;padding:0;margin:0;font-size:13px;color:var(--ink-2)}
:where(body.p-la-booking-request,body.p-la-lease-offer) .nextl li{display:flex;gap:10px;padding:5px 0;line-height:1.45}
:where(body.p-la-booking-request,body.p-la-lease-offer) .nextl li::before{content:'';width:6px;height:6px;border-radius:50%;background:var(--teal);flex-shrink:0;margin-top:7px}
:where(body.p-la-booking-request,body.p-la-lease-offer) .formfoot{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:16px 24px;border-top:1px solid var(--line-2)}

/* ---------- la/booking.html ---------- */
/* variant of the shared rule — differs from the version in portal-components.css */
:where(body.p-la-booking) .kv{display:flex;justify-content:space-between;gap:14px;font-size:13.5px;padding:8px 0;border-top:1px solid var(--line-2)}
/* variant of the shared rule — differs from the version in portal-components.css */
:where(body.p-la-booking) .gallery{display:grid;grid-template-columns:2fr 1fr 1fr;gap:10px;margin-bottom:20px;height:300px}
/* variant of the shared rule — differs from the version in portal-components.css */
:where(body.p-la-booking) .gallery img:first-child{grid-row:span 2;height:300px}
/* variant of the shared rule — differs from the version in portal-components.css */
:where(body.p-la-booking) .gallery .g-side{height:145px}
:where(body.p-la-booking) .bk-tabs{display:flex;gap:2px;border-bottom:1px solid var(--line);margin-bottom:20px;flex-wrap:wrap}
:where(body.p-la-booking) .bk-tab{font-size:14px;font-weight:500;padding:12px 16px;color:var(--ink-3);border:none;background:none;cursor:pointer;font-family:inherit;border-bottom:2px solid transparent;margin-bottom:-1px;display:inline-flex;align-items:center;gap:8px}
:where(body.p-la-booking) .bk-tab:hover{color:var(--ink)}
:where(body.p-la-booking) .bk-tab.active{color:var(--ink);font-weight:600;border-bottom-color:var(--teal)}
:where(body.p-la-booking) .pane{display:none}
:where(body.p-la-booking) .pane.on{display:block}
/* variant of the shared rule — differs from the version in portal-components.css */
:where(body.p-la-booking) .kgrid{display:grid;grid-template-columns:1fr 1fr;gap:0 32px}
:where(body.p-la-booking) .kgrid .kv:nth-child(2){border-top:none}
/* variant of the shared rule — differs from the version in portal-components.css */
:where(body.p-la-booking) .conv-body{padding:4px 24px 8px;display:flex;flex-direction:column;gap:10px}
/* variant of the shared rule — differs from the version in portal-components.css */
:where(body.p-la-booking) .day-sep{align-self:center;font-size:11.5px;color:var(--ink-4);font-weight:600;letter-spacing:.06em;text-transform:uppercase;margin:8px 0 2px}
/* variant of the shared rule — differs from the version in portal-components.css */
:where(body.p-la-booking) .conv-foot{padding:10px 24px 22px}
/* variant of the shared rule — differs from the version in portal-components.css */
:where(body.p-la-booking) .doc-row{display:flex;align-items:center;gap:13px;padding:13px 24px;border-top:1px solid var(--line-2);font-size:14px}
/* variant of the shared rule — differs from the version in portal-components.css */
:where(body.p-la-booking) .crow{display:flex;align-items:center;gap:14px;padding:13px 24px;border-top:1px solid var(--line-2)}
:where(body.p-la-booking) .comp-row:first-of-type{border-top:none}
:where(body.p-la-booking) .comp-row i.ci{width:30px;height:30px;border-radius:9px;background:var(--tint-mint);color:#2b7d55;display:grid;place-items:center;font-size:13px;flex-shrink:0}
/* variant of the shared rule — differs from the version in portal-components.css */
:where(body.p-la-booking) .rent-big{font-size:30px;font-weight:700;letter-spacing:-.02em}
:where(body.p-la-booking) .mapwrap{border-radius:12px;overflow:hidden;border:1px solid var(--line-2);margin:0 24px 14px}
:where(body.p-la-booking) .mapwrap iframe{display:block;width:100%;height:190px;border:none}
:where(body.p-la-booking) .stagebar{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:10px 16px;border:1px dashed var(--line);border-radius:12px;margin-bottom:20px;background:#fff}
:where(body.p-la-booking) .stagebar .sl{font-size:11px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--ink-4);margin-right:4px}

/* ---------- la/property.html ---------- */
/* variant of the shared rule — differs from the version in portal-components.css */
:where(body.p-la-property) .kv{display:flex;justify-content:space-between;font-size:13.5px;padding:8px 0;border-top:1px solid var(--line-2)}
/* variant of the shared rule — differs from the version in portal-components.css */
:where(body.p-la-property) .kv .v{font-weight:600}
/* variant of the shared rule — differs from the version in portal-components.css */
:where(body.p-la-property) .gallery{display:grid;grid-template-columns:2fr 1fr;gap:10px;border-radius:20px;overflow:hidden;margin-bottom:20px}
/* variant of the shared rule — differs from the version in portal-components.css */
:where(body.p-la-property) .gallery img{width:100%;height:100%;object-fit:cover;display:block;min-height:0}
/* variant of the shared rule — differs from the version in portal-components.css */
:where(body.p-la-property) .gallery .g-side{display:grid;grid-template-rows:minmax(0,1fr) minmax(0,1fr);gap:10px;height:340px}
/* variant of the shared rule — differs from the version in portal-components.css */
:where(body.p-la-property) .mapwrap{border-radius:14px;overflow:hidden;border:1px solid var(--line-2);margin:0 24px 20px}
/* variant of the shared rule — differs from the version in portal-components.css */
:where(body.p-la-property) .mapwrap iframe{display:block;width:100%;height:280px;border:none}
/* variant of the shared rule — differs from the version in portal-components.css */
:where(body.p-la-property) .dsec{padding:16px 24px;border-top:1px solid var(--line-2)}
:where(body.p-la-property) .gallery .g-main{height:340px;position:relative;cursor:pointer}
:where(body.p-la-property) .gallery .g-side>div{position:relative;cursor:pointer;overflow:hidden;min-height:0}
:where(body.p-la-property) .viewall{position:absolute;left:14px;bottom:14px;display:inline-flex;align-items:center;gap:8px;background:rgba(255,255,255,.92);backdrop-filter:blur(4px);border:none;border-radius:999px;padding:9px 16px;font-family:var(--font);font-size:13px;font-weight:600;color:var(--ink);cursor:pointer}
:where(body.p-la-property) .viewall:hover{background:#fff}
:where(body.p-la-property) .morelay{position:absolute;inset:0;background:rgba(10,16,22,.45);color:#fff;display:grid;place-items:center;font-size:15px;font-weight:600;pointer-events:none}
:where(body.p-la-property) .lb{position:fixed;inset:0;background:rgba(10,15,20,.93);z-index:100;display:flex;flex-direction:column}
:where(body.p-la-property) .lb[hidden]{display:none}
:where(body.p-la-property) .lb-top{display:flex;align-items:center;gap:14px;padding:16px 22px;color:#cfd8de;font-size:13px}
:where(body.p-la-property) .lb-count{font-weight:700;font-variant-numeric:tabular-nums;color:#fff}
:where(body.p-la-property) .lb-x{margin-left:auto;width:38px;height:38px;border-radius:50%;border:1px solid rgba(255,255,255,.25);background:transparent;color:#fff;cursor:pointer;font-size:15px}
:where(body.p-la-property) .lb-x:hover{background:rgba(255,255,255,.12)}
:where(body.p-la-property) .lb-stage{flex:1;display:flex;align-items:center;justify-content:center;gap:18px;min-height:0;padding:0 22px}
:where(body.p-la-property) .lb-stage img{max-width:min(1020px,80vw);max-height:100%;border-radius:12px;object-fit:contain}
:where(body.p-la-property) .lb-nav{width:44px;height:44px;border-radius:50%;border:none;background:rgba(255,255,255,.14);color:#fff;cursor:pointer;font-size:15px;flex-shrink:0}
:where(body.p-la-property) .lb-nav:hover{background:rgba(255,255,255,.28)}
:where(body.p-la-property) .lb-thumbs{display:flex;gap:8px;justify-content:center;padding:16px 22px 20px;overflow-x:auto}
:where(body.p-la-property) .lb-thumbs img{width:76px;height:54px;object-fit:cover;border-radius:8px;opacity:.5;cursor:pointer;border:2px solid transparent}
:where(body.p-la-property) .lb-thumbs img.on{opacity:1;border-color:var(--teal)}
:where(body.p-la-property) .spec-bar{display:grid;grid-template-columns:repeat(5,1fr);gap:1px;background:var(--line);border:1px solid var(--line);border-radius:16px;overflow:hidden;margin-bottom:20px}
:where(body.p-la-property) .spec-bar>div{background:#fff;padding:13px 18px}
:where(body.p-la-property) .spec-bar .sl{font-size:10.5px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--ink-4)}
:where(body.p-la-property) .spec-bar .sv{font-size:15px;font-weight:600;margin-top:3px}
:where(body.p-la-property) .spec-bar .sv .per{font-size:12px;color:var(--ink-3);font-weight:400}
:where(body.p-la-property) .dsec:first-of-type{border-top:none}
:where(body.p-la-property) .dsec h3{font-size:14.5px;font-weight:600;margin-bottom:12px}
:where(body.p-la-property) .spec-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:13px}
:where(body.p-la-property) .spec .sl{font-size:12px;color:var(--ink-3)}
:where(body.p-la-property) .spec .sv{font-size:14px;font-weight:600;margin-top:1px}
:where(body.p-la-property) .featg{display:grid;grid-template-columns:repeat(3,1fr);gap:9px 16px;font-size:13.5px;color:var(--ink-2)}
:where(body.p-la-property) .featg span i{color:var(--teal-700);font-size:12px;margin-right:8px}
:where(body.p-la-property) .pillrow{display:flex;gap:7px;flex-wrap:wrap;margin-top:6px}
:where(body.p-la-property) .comp-row i{width:30px;height:30px;border-radius:9px;background:var(--tint-mint);color:#2b7d55;display:grid;place-items:center;font-size:13px}
:where(body.p-la-property) .epc{display:flex;align-items:center;gap:20px;padding:6px 24px 20px}
:where(body.p-la-property) .epc .band{width:56px;height:56px;border-radius:14px;background:#3f9d6e;color:#fff;display:grid;place-items:center;font-size:26px;font-weight:700}
:where(body.p-la-property) .epc .el{font-size:10.5px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--ink-4)}
:where(body.p-la-property) .epc .ev{font-size:14px;font-weight:600;margin-top:2px}
:where(body.p-la-property) .price-line{display:flex;align-items:baseline;gap:6px;padding:22px 24px 2px}
:where(body.p-la-property) .price-line .p{font-size:30px;font-weight:700;letter-spacing:-.02em}
:where(body.p-la-property) .price-line .per{font-size:14px;color:var(--ink-3)}
:where(body.p-la-property) .rate-rows{padding:12px 24px 0}
:where(body.p-la-property) .kv:first-child{border-top:none}
:where(body.p-la-property) .lord{display:flex;align-items:center;gap:13px;padding:16px 24px}
:where(body.p-la-property) .note{padding:14px 16px;border:1px solid var(--line-2);border-radius:12px;margin-bottom:10px}
:where(body.p-la-property) .note .nh{display:flex;justify-content:space-between;font-size:12.5px;margin-bottom:5px}
:where(body.p-la-property) .note .nh b{color:var(--ink)}
:where(body.p-la-property) .note .nh span{color:var(--ink-4)}
:where(body.p-la-property) .note .nb{font-size:13.5px;color:var(--ink-2);line-height:1.5}
:where(body.p-la-property) .note .na{display:flex;gap:12px;margin-top:7px;font-size:12.5px}
:where(body.p-la-property) .note .na a{color:var(--teal-700);font-weight:600}

/* ---------- la/household-edit.html ---------- */
/* variant of the shared rule — differs from the version in portal-components.css */
:where(body.p-la-household-edit) .formfoot{display:flex;justify-content:flex-end;gap:10px;margin-top:20px}
/* variant of the shared rule — differs from the version in portal-components.css */
:where(body.p-la-household-edit) .doc-row{display:flex;align-items:center;gap:13px;padding:13px 0;border-top:1px solid var(--line-2);font-size:14px}
:where(body.p-la-household-edit) .srow3{display:grid;grid-template-columns:1fr 1fr 1fr;gap:14px}
:where(body.p-la-household-edit) .ckgrid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
:where(body.p-la-household-edit) label.ck{display:flex;align-items:center;gap:11px;border:1px solid var(--line);border-radius:11px;padding:11px 13px;font-size:14px;font-weight:500;margin-bottom:0;cursor:pointer;transition:border-color .15s,background .15s}
:where(body.p-la-household-edit) label.ck input{width:16px;height:16px;accent-color:var(--teal);flex-shrink:0}
:where(body.p-la-household-edit) label.ck:has(input:checked){border-color:var(--teal);background:var(--teal-50)}

/* ---------- lah/property-detail.html + ll/property-detail.html ---------- */
/* variant of the shared rule — differs from the version in portal-components.css */
:where(body.p-lah-property-detail,body.p-ll-property-detail) .gallery{display:grid;grid-template-columns:2fr 1fr 1fr;gap:10px;margin-bottom:20px;height:320px}
/* variant of the shared rule — differs from the version in portal-components.css */
:where(body.p-lah-property-detail,body.p-ll-property-detail) .gallery img:first-child{grid-row:span 2;height:320px}
/* variant of the shared rule — differs from the version in portal-components.css */
:where(body.p-lah-property-detail,body.p-ll-property-detail) .gallery .g-side{height:155px}
/* variant of the shared rule — differs from the version in portal-components.css */
:where(body.p-lah-property-detail,body.p-ll-property-detail) .bd-head{display:flex;align-items:flex-start;gap:20px;flex-wrap:wrap;margin-bottom:22px}

/* ---------- lah/booking-detail.html + ll/booking-detail.html ---------- */
/* variant of the shared rule — differs from the version in portal-components.css */
:where(body.p-lah-booking-detail,body.p-ll-booking-detail) .gallery img{width:100%;height:100%;object-fit:cover;border-radius:14px}
/* variant of the shared rule — differs from the version in portal-components.css */
:where(body.p-lah-booking-detail,body.p-ll-booking-detail) .sec-card-hd{padding:16px 22px;border-bottom:1px solid var(--line-2);font-size:15px;font-weight:600}

/* ---------- lah/occupant-detail.html + ll/occupant-detail.html ---------- */
/* variant of the shared rule — differs from the version in portal-components.css */
:where(body.p-lah-occupant-detail,body.p-ll-occupant-detail) .doc-row{display:flex;align-items:center;gap:14px;padding:13px 0;border-top:1px solid var(--line-2)}

/* ---------- la/household.html ---------- */
/* variant of the shared rule — differs from the version in portal-components.css */
:where(body.p-la-household) .doc-row{display:flex;align-items:center;gap:13px;padding:12px 0;border-top:1px solid var(--line-2);font-size:14px}
:where(body.p-la-household) .need{display:flex;align-items:center;gap:12px;padding:11px 0;border-top:1px solid var(--line-2);font-size:14px}
:where(body.p-la-household) .need:first-child{border-top:none}
:where(body.p-la-household) .need i{width:32px;height:32px;border-radius:9px;background:var(--teal-50);color:var(--teal-700);display:grid;place-items:center;font-size:13px;flex-shrink:0}
:where(body.p-la-household) .need .nl{color:var(--ink-3);font-size:12.5px}
:where(body.p-la-household) .need .nv{font-weight:600}
:where(body.p-la-household) .orow{display:flex;align-items:flex-start;gap:14px;padding:13px 24px;border-top:1px solid var(--line-2)}
:where(body.p-la-household) .orow:first-of-type{border-top:none}
:where(body.p-la-household) .oic{width:38px;height:38px;border-radius:10px;display:grid;place-items:center;font-size:15px;flex-shrink:0}
:where(body.p-la-household) .oic.adult{background:var(--teal-50);color:var(--teal-700)}
:where(body.p-la-household) .oic.child{background:var(--tint-sand);color:#c8921f}
:where(body.p-la-household) .ot{font-size:14px;font-weight:600}
:where(body.p-la-household) .os{font-size:12.5px;color:var(--ink-3);margin-top:1px}
:where(body.p-la-household) .orow .grow{flex:1;min-width:0}
:where(body.p-la-household) .orow .oacts{display:flex;gap:7px}
:where(body.p-la-household) .opills{display:flex;gap:6px;flex-wrap:wrap;margin-top:7px}
:where(body.p-la-household) .opills .pill{font-size:10.5px;padding:3px 9px}
:where(body.p-la-household) .oform{background:#fff}
:where(body.p-la-household) .of-sec{font-size:11px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--ink-4);margin:16px 0 10px}
:where(body.p-la-household) .of-sec:first-child{margin-top:0}
:where(body.p-la-household) .of-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
:where(body.p-la-household) .oform label{display:block;font-size:12.5px;font-weight:600;color:var(--ink-2);margin-bottom:5px}
:where(body.p-la-household) .oform input[type=text],:where(body.p-la-household) .oform input[type=date],:where(body.p-la-household) .oform input[type=email],:where(body.p-la-household) .oform input[type=tel],:where(body.p-la-household) .oform select,:where(body.p-la-household) .oform textarea{width:100%;font-family:inherit;font-size:13.5px;color:var(--ink);border:1px solid var(--line);border-radius:9px;padding:9px 11px;outline:none;background:#fff;box-sizing:border-box}
:where(body.p-la-household) .oform textarea{min-height:66px;resize:vertical;line-height:1.5}
:where(body.p-la-household) .oform input:focus,:where(body.p-la-household) .oform select:focus,:where(body.p-la-household) .oform textarea:focus{border-color:var(--teal);box-shadow:0 0 0 3px var(--teal-50)}
:where(body.p-la-household) .of-file{display:flex;align-items:center;gap:10px;border:1px dashed var(--line);border-radius:9px;padding:7px 11px;background:#fff;margin-top:8px;font-size:12.5px;color:var(--ink-3)}
:where(body.p-la-household) .of-file input[type=file]{font-size:12px;color:var(--ink-3);flex:1;min-width:0}
:where(body.p-la-household) .of-lead{display:flex;align-items:center;gap:9px;font-size:13.5px;color:var(--ink-2);margin-top:16px;font-weight:500}
:where(body.p-la-household) .of-lead input{width:15px;height:15px;accent-color:var(--teal);margin:0}
:where(body.p-la-household) .of-btns{display:flex;gap:8px;margin-top:18px;padding-top:16px;border-top:1px solid var(--line-2)}
/* variant of the shared rule — differs from the version in portal-components.css */
:where(body.p-la-household) .omodal{background:#fff;border-radius:18px;width:100%;max-width:660px;box-shadow:0 30px 70px -30px rgba(15,22,28,.55);display:flex;flex-direction:column;max-height:88vh}

/* ---------- lah/settings-visibility.html ---------- */
/* variant of the shared rule — differs from the version in portal-components.css */
:where(body.p-lah-settings-visibility) .crow{display:flex;align-items:center;gap:14px;padding:14px 24px;border-top:1px solid var(--line-2)}
:where(body.p-lah-settings-visibility) .owning{display:flex;gap:12px;align-items:flex-start;background:var(--tint-mint);border-radius:14px;padding:15px 18px;font-size:14px;color:#215c40;line-height:1.5;margin-bottom:20px}
:where(body.p-lah-settings-visibility) .owning i{margin-top:2px}
:where(body.p-lah-settings-visibility) .grant{display:flex;gap:10px;padding:6px 24px 22px}
:where(body.p-lah-settings-visibility) .grant .select{flex:1}

/* ---------- la/bookings.html ---------- */
:where(body.p-la-bookings) .dhead{padding:20px 24px 14px;border-bottom:1px solid var(--line-2)}
:where(body.p-la-bookings) .dhead .r{font-size:12px;color:var(--ink-3)}
:where(body.p-la-bookings) .dhead h2{font-size:19px;letter-spacing:-.01em;margin:3px 0 2px}
:where(body.p-la-bookings) .dhead .s{font-size:13px;color:var(--ink-3)}
:where(body.p-la-bookings) .dbody{padding:18px 24px 22px}
:where(body.p-la-bookings) .dsec{font-size:12px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--ink-4);margin:18px 0 10px}
:where(body.p-la-bookings) .dsec:first-child{margin-top:0}

/* ---------- la/compliance.html ---------- */
:where(body.p-la-compliance) .ctable{width:100%;border-collapse:collapse}
:where(body.p-la-compliance) .ctable th{font-size:11.5px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--ink-4);text-align:left;padding:12px 24px;border-bottom:1px solid var(--line-2)}
:where(body.p-la-compliance) .ctable td{padding:14px 24px;border-top:1px solid var(--line-2);font-size:14px;vertical-align:middle}
:where(body.p-la-compliance) .ctable tr:first-child td{border-top:none}
:where(body.p-la-compliance) .doc-dots{display:flex;gap:6px}
:where(body.p-la-compliance) .doc-dot{width:26px;height:26px;border-radius:8px;display:grid;place-items:center;font-size:11px}
:where(body.p-la-compliance) .doc-dot.ok{background:var(--tint-mint);color:#2b7d55}
:where(body.p-la-compliance) .doc-dot.warn{background:var(--tint-sand);color:#966f11}

/* ---------- lah/properties-empty.html ---------- */
/* variant of the shared rule — differs from the version in portal-components.css */
:where(body.p-lah-properties-empty) .mt{text-align:center;padding:72px 24px 80px}
/* variant of the shared rule — differs from the version in portal-components.css */
:where(body.p-lah-properties-empty) .mt .ic{width:64px;height:64px;border-radius:19px;background:var(--teal-50);color:var(--teal-700);display:grid;place-items:center;font-size:24px;margin:0 auto 18px}
/* variant of the shared rule — differs from the version in portal-components.css */
:where(body.p-lah-properties-empty) .mt .s{font-size:14.5px;color:var(--ink-2);margin:8px auto 22px;max-width:46ch;line-height:1.55}
:where(body.p-lah-properties-empty) .mt h2{font-size:21px;letter-spacing:-.02em}

/* ---------- la/dashboard.html ---------- */
:where(body.p-la-dashboard) .rates{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;padding:6px 24px 22px}
:where(body.p-la-dashboard) .rates .l{font-size:11px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--ink-4)}
:where(body.p-la-dashboard) .rates .v{font-size:15.5px;font-weight:700;margin-top:3px}
:where(body.p-la-dashboard) .rates .s{font-size:12.5px;color:var(--ink-3);margin-top:1px}
:where(body.p-la-dashboard) .pipe{display:grid;grid-template-columns:1fr 1.1fr auto auto;gap:18px;align-items:center;padding:15px 24px;border-top:1px solid var(--line-2)}
:where(body.p-la-dashboard) .pipe:first-of-type{border-top:none}
:where(body.p-la-dashboard) .pipe .pt{font-size:14.5px;font-weight:600}
:where(body.p-la-dashboard) .pipe .ps{font-size:12.5px;color:var(--ink-3);margin-top:2px}
:where(body.p-la-dashboard) .ptrack{position:relative;height:5px;border-radius:3px;background:var(--line-2)}
:where(body.p-la-dashboard) .ptrack .fill{position:absolute;left:0;top:0;bottom:0;border-radius:3px;background:var(--teal)}
:where(body.p-la-dashboard) .plabels{display:flex;justify-content:space-between;font-size:10.5px;color:var(--ink-4);margin-top:6px;font-weight:600}
:where(body.p-la-dashboard) .plabels .on{color:var(--teal-700)}
:where(body.p-la-dashboard) .chart{padding:10px 24px 6px;display:flex;align-items:flex-end;gap:8px;height:170px;position:relative}
:where(body.p-la-dashboard) .chart .m{flex:1;display:flex;flex-direction:column;align-items:center;gap:6px;height:100%;justify-content:flex-end}
:where(body.p-la-dashboard) .chart .b{width:100%;max-width:38px;border-radius:6px 6px 2px 2px;background:#bfe4e8}
:where(body.p-la-dashboard) .chart .b.now{background:var(--teal)}
:where(body.p-la-dashboard) .chart .b.fut{background:#ecdfc3}
:where(body.p-la-dashboard) .chart .ml{font-size:10.5px;color:var(--ink-4);font-weight:600}
:where(body.p-la-dashboard) .chart .today{position:absolute;top:0;bottom:26px;left:50%;border-left:1.5px dashed var(--ink-4)}
:where(body.p-la-dashboard) .chart .today span{position:absolute;top:-2px;left:6px;font-size:9.5px;font-weight:700;letter-spacing:.1em;color:var(--ink-4)}
:where(body.p-la-dashboard) .ftotals{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;padding:16px 24px 22px;border-top:1px solid var(--line-2);margin-top:12px}
:where(body.p-la-dashboard) .ftotals .l{font-size:11px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--ink-4)}
:where(body.p-la-dashboard) .ftotals .v{font-size:19px;font-weight:700;margin-top:2px}
:where(body.p-la-dashboard) .ftotals .s{font-size:12px;color:var(--ink-3)}
:where(body.p-la-dashboard) .chc{display:flex;align-items:center;gap:22px;padding:6px 24px 20px}
:where(body.p-la-dashboard) .donut{width:104px;height:104px;border-radius:50%;background:conic-gradient(#3f9d6e 0 76%,#d9a441 76% 87%,#c4574c 87% 100%);display:grid;place-items:center;flex-shrink:0}
:where(body.p-la-dashboard) .donut .in{width:72px;height:72px;border-radius:50%;background:#fff;display:grid;place-items:center;font-size:17px;font-weight:700}

/* ---------- ll/dashboard.html ---------- */
/* variant of the shared rule — differs from the version in portal-components.css */
:where(body.p-ll-dashboard) .chc{display:flex;align-items:center;gap:22px;padding:6px 24px 16px}
/* variant of the shared rule — differs from the version in portal-components.css */
:where(body.p-ll-dashboard) .donut{width:104px;height:104px;border-radius:50%;background:conic-gradient(#3f9d6e 0 62%,#d9a441 62% 74%,#c4574c 74% 100%);display:grid;place-items:center;flex-shrink:0}
/* variant of the shared rule — differs from the version in portal-components.css */
:where(body.p-ll-dashboard) .donut .in{width:72px;height:72px;border-radius:50%;background:#fff;display:grid;place-items:center;font-size:15px;font-weight:700;text-align:center;line-height:1.1}
:where(body.p-ll-dashboard) .stat-num .of{font-size:16px;color:var(--ink-4);font-weight:600}
:where(body.p-ll-dashboard) .fin{padding:14px 24px 4px;position:relative}
:where(body.p-ll-dashboard) .fin svg{width:100%;height:180px;display:block}
:where(body.p-ll-dashboard) .fin .yl{position:absolute;left:26px;font-size:10.5px;font-weight:600;color:var(--ink-4);background:rgba(255,255,255,.85);padding:0 3px;border-radius:4px}
:where(body.p-ll-dashboard) .xmon{display:flex;justify-content:space-between;padding:4px 24px 10px 60px;font-size:10.5px;font-weight:600;color:var(--ink-4)}
:where(body.p-ll-dashboard) .xmon .now{color:var(--teal-700)}
:where(body.p-ll-dashboard) .finleg{display:flex;gap:18px;font-size:12px;color:var(--ink-3);padding:0 24px 18px}
:where(body.p-ll-dashboard) .finleg span{display:flex;align-items:center;gap:7px}
:where(body.p-ll-dashboard) .finleg .l1{width:16px;height:2.5px;background:var(--teal);border-radius:2px}
:where(body.p-ll-dashboard) .finleg .l2{width:16px;height:0;border-top:2.5px dashed #9fb3bf}
:where(body.p-ll-dashboard) .rl{display:flex;align-items:center;gap:14px;padding:13px 24px;border-top:1px solid var(--line-2)}
:where(body.p-ll-dashboard) .rl:first-of-type{border-top:none}
:where(body.p-ll-dashboard) .rl .th{width:56px;height:42px;border-radius:9px;overflow:hidden;background:var(--tint-stone);display:grid;place-items:center;color:var(--ink-4);flex-shrink:0}
:where(body.p-ll-dashboard) .rl .th img{width:100%;height:100%;object-fit:cover}
:where(body.p-ll-dashboard) .rl .when{width:74px;font-size:11.5px;color:var(--ink-4);flex-shrink:0}
:where(body.p-ll-dashboard) .rl .grow{flex:1}
:where(body.p-ll-dashboard) .rl .rt{font-size:14px;font-weight:600}
:where(body.p-ll-dashboard) .rl .rs{font-size:12.5px;color:var(--ink-3);margin-top:1px}
:where(body.p-ll-dashboard) .donut .in small{display:block;font-size:9.5px;font-weight:600;color:var(--ink-4)}
:where(body.p-ll-dashboard) .exp{display:flex;align-items:center;gap:13px;padding:12px 24px;border-top:1px solid var(--line-2);font-size:14px}
:where(body.p-ll-dashboard) .exp:first-of-type{border-top:none}
:where(body.p-ll-dashboard) .exp .ic{width:34px;height:34px;border-radius:10px;display:grid;place-items:center;font-size:13px;flex-shrink:0}
:where(body.p-ll-dashboard) .exp .ic.gas{background:#fbeae8;color:#c4574c}
:where(body.p-ll-dashboard) .exp .ic.el{background:var(--tint-sand);color:#966f11}
:where(body.p-ll-dashboard) .exp .ic.ins{background:#e7edf3;color:#31506b}
:where(body.p-ll-dashboard) .exp .grow{flex:1}
:where(body.p-ll-dashboard) .exp .es{font-size:12.5px;color:var(--ink-3);margin-top:1px}
:where(body.p-ll-dashboard) .pri{display:flex;gap:13px;align-items:flex-start;padding:13px 24px;border-top:1px solid var(--line-2)}
:where(body.p-ll-dashboard) .pri:first-of-type{border-top:none}
:where(body.p-ll-dashboard) .pri .grow{flex:1}
:where(body.p-ll-dashboard) .pri .pt{font-size:14px;font-weight:600;line-height:1.4}
:where(body.p-ll-dashboard) .pri .ps{font-size:12.5px;color:var(--ink-3);margin-top:2px}

/* ---------- ll/new-listing-step-7.html ---------- */
/* variant of the shared rule — differs from the version in portal-components.css */
:where(body.p-lah-new-listing-step-7,body.p-ll-new-listing-step-7) .omodal{background:#fff;border-radius:18px;width:100%;max-width:560px;box-shadow:0 30px 70px -30px rgba(15,22,28,.55);display:flex;flex-direction:column;max-height:88vh}
:where(body.p-lah-new-listing-step-7,body.p-ll-new-listing-step-7) .dm-cur[hidden]{display:none}

/* ---------- ll/settings.html + ll/verification.html ---------- */
/* variant of the shared rule — differs from the version in portal-components.css */
:where(body.p-ll-settings,body.p-ll-verification) .om-bd{padding:18px 24px 6px;overflow-y:auto}

/* ---------- la/households.html ---------- */
:where(body.p-la-households) .htable{width:100%;border-collapse:collapse}
:where(body.p-la-households) .htable th{font-size:11.5px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--ink-4);text-align:left;padding:12px 24px;border-bottom:1px solid var(--line-2)}
:where(body.p-la-households) .htable td{padding:14px 24px;border-top:1px solid var(--line-2);font-size:14px;vertical-align:middle}
:where(body.p-la-households) .htable tr:first-child td{border-top:none}
:where(body.p-la-households) .htable tbody tr{cursor:pointer}
:where(body.p-la-households) .htable tbody tr:hover{background:var(--tint-stone)}
:where(body.p-la-households) .hh-ref{font-weight:600;font-size:13px;font-variant-numeric:tabular-nums}
:where(body.p-la-households) .hh-sub{font-size:12.5px;color:var(--ink-3);margin-top:2px}
:where(body.p-la-households) .hh-wait{font-variant-numeric:tabular-nums}

/* ---------- lah/notifications.html ---------- */
/* variant of the shared rule — differs from the version in portal-components.css */
:where(body.p-lah-notifications) .nsep{font-size:11.5px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--ink-4);padding:18px 22px 8px}
:where(body.p-lah-notifications) .nwrap{max-width:760px;margin:0 auto}
:where(body.p-lah-notifications) .nrow:first-of-type{border-top:none}
:where(body.p-lah-notifications) .nrow.unread{background:var(--teal-50)}
:where(body.p-lah-notifications) .nrow.unread .ic.booking{background:#fff}

/* ---------- la/rates-leasing.html ---------- */
:where(body.p-la-rates-leasing) .bands{display:grid;grid-template-columns:repeat(5,1fr);gap:12px;margin-bottom:12px}
:where(body.p-la-rates-leasing) .bands label{display:block;font-size:12.5px;font-weight:600;margin-bottom:6px}
:where(body.p-la-rates-leasing) .gbp{display:flex;align-items:center;border:1px solid var(--line);border-radius:11px;background:#fff;transition:border-color .15s,box-shadow .15s}
:where(body.p-la-rates-leasing) .gbp:focus-within{border-color:var(--teal);box-shadow:0 0 0 3px var(--teal-50)}
:where(body.p-la-rates-leasing) .gbp span{padding-left:12px;color:var(--ink-4);font-size:14px}
:where(body.p-la-rates-leasing) .gbp input{border:none;outline:none;width:100%;padding:11px 12px 11px 7px;font-family:inherit;font-size:14.5px;color:var(--ink);background:transparent;border-radius:11px}
:where(body.p-la-rates-leasing) label.lha{display:flex;align-items:center;gap:11px;border:1px solid var(--teal);background:var(--teal-50);border-radius:11px;padding:12px 14px;font-size:14px;font-weight:500;margin-bottom:0;cursor:pointer}
:where(body.p-la-rates-leasing) label.lha input{width:16px;height:16px;accent-color:var(--teal);flex-shrink:0}
:where(body.p-la-rates-leasing) .inc-row{display:grid;grid-template-columns:1.2fr 1fr 1fr auto;gap:16px;align-items:center;padding:14px 0;border-bottom:1px solid var(--line-2);font-size:14px}
:where(body.p-la-rates-leasing) .inc-row .il{font-size:11px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--ink-4);margin-bottom:3px}
:where(body.p-la-rates-leasing) .inc-add{border:1px solid var(--line);border-radius:14px;padding:18px;margin-top:16px;background:var(--tint-stone)}
:where(body.p-la-rates-leasing) .inc-add .sfld input,:where(body.p-la-rates-leasing) .inc-add .sfld select,:where(body.p-la-rates-leasing) .inc-add .sfld textarea{background-color:#fff}

/* ---------- la/search.html ---------- */
:where(body.p-la-search) .sgrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:18px}
:where(body.p-la-search) .sgrid .rcard-img{height:160px}
:where(body.p-la-search) .save-btn{position:absolute;top:10px;right:10px;width:32px;height:32px;border-radius:50%;border:none;background:rgba(255,255,255,.92);color:var(--ink-2);display:grid;place-items:center;font-size:14px;cursor:pointer;z-index:1}
:where(body.p-la-search) .save-btn.on{color:#c4574c}
:where(body.p-la-search) .results-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}
:where(body.p-la-search) .results-head .n{font-size:14px;color:var(--ink-2)}
:where(body.p-la-search) .results-head .n b{color:var(--ink)}
:where(body.p-la-search) .slay{display:grid;grid-template-columns:250px 1fr;gap:20px;align-items:start}
:where(body.p-la-search) .slay.hidef{grid-template-columns:1fr}
:where(body.p-la-search) .slay.hidef .fpanel{display:none}
:where(body.p-la-search) .fpanel{background:#fff;border:1px solid var(--line);border-radius:16px;padding:6px 18px 18px;position:sticky;top:86px;max-height:calc(100vh - 110px);overflow-y:auto;scrollbar-width:thin}
:where(body.p-la-search) .fgroup{padding:15px 0;border-top:1px solid var(--line-2)}
:where(body.p-la-search) .fgroup:first-child{border-top:none}
:where(body.p-la-search) details.fgroup{padding:0}
:where(body.p-la-search) summary.flabel{display:flex;align-items:center;gap:6px;padding:14px 0;margin:0;cursor:pointer;list-style:none;user-select:none}
:where(body.p-la-search) summary.flabel::-webkit-details-marker{display:none}
:where(body.p-la-search) summary.flabel:hover{color:var(--ink-2)}
:where(body.p-la-search) .flabel .cnt{display:inline-grid;place-items:center;min-width:17px;height:17px;padding:0 4px;border-radius:999px;background:var(--teal-50);color:var(--teal-700);font-size:10.5px;letter-spacing:0}
:where(body.p-la-search) .flabel .cv-c,:where(body.p-la-search) .flabel .cv-o{margin-left:auto;font-size:9.5px;color:var(--ink-4)}
:where(body.p-la-search) .flabel .cv-o,:where(body.p-la-search) details[open] .flabel .cv-c{display:none}
:where(body.p-la-search) details[open] .flabel .cv-o{display:inline}
:where(body.p-la-search) .fbody{padding:0 0 15px}
:where(body.p-la-search) .flabel{font-size:11px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--ink-4)}
:where(body.p-la-search) label.fck{display:flex;align-items:center;gap:9px;padding:4px 0;font-size:13.5px;color:var(--ink-2);cursor:pointer;font-weight:500}
:where(body.p-la-search) label.fck input{width:15px;height:15px;accent-color:var(--teal);flex-shrink:0;margin:0}
:where(body.p-la-search) label.fck .n{margin-left:auto;font-size:12px;color:var(--ink-4)}
:where(body.p-la-search) .fprice{display:flex;align-items:center;gap:8px}
:where(body.p-la-search) .fprice input{width:100%;min-width:0;font-family:inherit;font-size:13.5px;color:var(--ink);border:1px solid var(--line);border-radius:9px;padding:8px 10px;outline:none}
:where(body.p-la-search) .fprice input:focus{border-color:var(--teal);box-shadow:0 0 0 3px var(--teal-50)}
:where(body.p-la-search) .fbeds{display:flex;gap:6px;flex-wrap:wrap}
:where(body.p-la-search) .fhint{font-size:11.5px;color:var(--ink-4);margin-top:8px;line-height:1.45}

/* ---------- la/shortlist.html ---------- */
:where(body.p-la-shortlist) .slrow{display:grid;grid-template-columns:120px 1fr auto auto auto;gap:18px;align-items:center;padding:16px 24px;border-top:1px solid var(--line-2)}
:where(body.p-la-shortlist) .slrow:first-of-type{border-top:none}
:where(body.p-la-shortlist) .slrow.gone{opacity:.55}
:where(body.p-la-shortlist) .sl-img{width:120px;height:78px;border-radius:12px;overflow:hidden}
:where(body.p-la-shortlist) .sl-img img{width:100%;height:100%;object-fit:cover}
:where(body.p-la-shortlist) .sl-addr{font-size:15px;font-weight:600}
:where(body.p-la-shortlist) .sl-sub{font-size:13px;color:var(--ink-3);margin-top:3px}
:where(body.p-la-shortlist) .sl-price{font-size:16px;font-weight:700;white-space:nowrap}
:where(body.p-la-shortlist) .sl-price .per{font-size:12px;color:var(--ink-3);font-weight:500}
:where(body.p-la-shortlist) .sl-actions{display:flex;gap:8px}

/* ---------- la/team-invite.html ---------- */
:where(body.p-la-team-invite) .role{display:flex;gap:14px;align-items:flex-start;padding:14px 16px;border:1.5px solid var(--line);border-radius:13px;cursor:pointer;margin-bottom:10px;transition:border-color .15s,background .15s}
:where(body.p-la-team-invite) .role:hover{border-color:#cfd4d8}
:where(body.p-la-team-invite) .role.on{border-color:var(--teal);background:var(--teal-50)}
:where(body.p-la-team-invite) .role input{accent-color:var(--teal);width:17px;height:17px;margin-top:2px;flex-shrink:0}
:where(body.p-la-team-invite) .role .rt{font-size:14.5px;font-weight:600}
:where(body.p-la-team-invite) .role .rs{font-size:12.5px;color:var(--ink-3);margin-top:2px;line-height:1.45}

/* ---------- la/team.html ---------- */
:where(body.p-la-team) .trow{display:grid;grid-template-columns:auto 1fr auto auto auto;gap:16px;align-items:center;padding:15px 24px;border-top:1px solid var(--line-2)}
:where(body.p-la-team) .trow:first-of-type{border-top:none}
:where(body.p-la-team) .trow .email{font-size:13.5px;color:var(--ink-3)}

/* ---------- lah/edit-listing.html + lah/new-listing.html + ll/edit-listing.html + ll/new-listing.html ---------- */
/* variant of the shared rule — differs from the version in portal-components.css */
:where(body.p-lah-edit-listing,body.p-lah-new-listing,body.p-ll-edit-listing,body.p-ll-new-listing) .side-card{background:#fff;border:1px solid var(--line);border-radius:16px;padding:20px 22px;margin-bottom:16px}
/* variant of the shared rule — differs from the version in portal-components.css */
:where(body.p-lah-edit-listing,body.p-lah-new-listing,body.p-ll-edit-listing,body.p-ll-new-listing) .side-card h4{font-size:12px;letter-spacing:.12em;text-transform:uppercase;color:var(--ink-4);margin:0 0 12px}

/* ---------- login.html ---------- */
/* variant of the shared rule — differs from the version in portal-components.css */
:where(body.p-login) .field{margin-bottom:16px}
:where(body.p-login) .login-aside>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.45}
:where(body.p-login) .la-brand{display:flex;align-items:center;gap:11px;font-weight:700;font-size:19px}
:where(body.p-login) .la-brand .mk{width:34px;height:34px;border-radius:9px;background:var(--teal);display:grid;place-items:center;font-size:17px;font-weight:700;color:#fff}
:where(body.p-login) .la-quote{font-size:27px;font-weight:600;letter-spacing:-.02em;line-height:1.32;max-width:19ch}
:where(body.p-login) .la-by{margin-top:18px;font-size:14px;color:rgba(255,255,255,.75);display:flex;align-items:center;gap:10px}
:where(body.p-login) .la-av{width:34px;height:34px;border-radius:50%;background:rgba(255,255,255,.16);display:grid;place-items:center;font-size:12px;font-weight:600;color:#fff}
:where(body.p-login) .la-stats{display:flex;gap:34px;margin-top:2px}
:where(body.p-login) .la-stat .n{font-size:26px;font-weight:700;letter-spacing:-.02em}
:where(body.p-login) .la-stat .l{font-size:12.5px;color:rgba(255,255,255,.7);margin-top:2px}
:where(body.p-login) .login-card{width:100%;max-width:388px}
:where(body.p-login) .login-card>img{height:26px;margin-bottom:30px}
:where(body.p-login) .login-card h1{font-size:28px;letter-spacing:-.02em;margin:0 0 6px}
:where(body.p-login) .login-sub{font-size:14.5px;color:var(--ink-3);margin-bottom:28px}
:where(body.p-login) .field input{flex:1;font-family:inherit;font-size:15px;padding:12px 0;border:none;outline:none;background:transparent;color:var(--ink)}
:where(body.p-login) .row-between{display:flex;align-items:center;justify-content:space-between;margin:4px 0 22px;font-size:13.5px}
:where(body.p-login) .remember{display:flex;align-items:center;gap:8px;color:var(--ink-2);cursor:pointer}
:where(body.p-login) .remember input{accent-color:var(--teal);width:15px;height:15px}
:where(body.p-login) .divider{display:flex;align-items:center;gap:14px;color:var(--ink-4);font-size:12.5px;margin:22px 0}
:where(body.p-login) .divider::before,:where(body.p-login) .divider::after{content:'';flex:1;height:1px;background:var(--line)}
:where(body.p-login) .login-foot{text-align:center;font-size:13.5px;color:var(--ink-3);margin-top:28px}

/* ---------- signup.html ---------- */
/* variant of the shared rule — differs from the version in portal-components.css */
:where(body.p-signup) .field{margin-bottom:15px}
/* variant of the shared rule — differs from the version in portal-components.css */
:where(body.p-signup) .field-hint{font-size:12px;color:var(--ink-4);margin-top:6px}
/* variant of the shared rule — differs from the version in portal-components.css */
:where(body.p-signup) .login-aside>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.42}
/* variant of the shared rule — differs from the version in portal-components.css */
:where(body.p-signup) .la-quote{font-size:26px;font-weight:600;letter-spacing:-.02em;line-height:1.32;max-width:20ch}
/* variant of the shared rule — differs from the version in portal-components.css */
:where(body.p-signup) .login-card{width:100%;max-width:412px}
/* variant of the shared rule — differs from the version in portal-components.css */
:where(body.p-signup) .login-card>img{height:26px;margin-bottom:26px}
/* variant of the shared rule — differs from the version in portal-components.css */
:where(body.p-signup) .login-card h1{font-size:27px;letter-spacing:-.02em;margin:0 0 6px}
/* variant of the shared rule — differs from the version in portal-components.css */
:where(body.p-signup) .login-sub{font-size:14.5px;color:var(--ink-3);margin-bottom:24px}
/* variant of the shared rule — differs from the version in portal-components.css */
:where(body.p-signup) .field input{flex:1;font-family:inherit;font-size:15px;padding:12px 0;border:none;outline:none;background:transparent;color:var(--ink);min-width:0}
/* variant of the shared rule — differs from the version in portal-components.css */
:where(body.p-signup) .login-foot{text-align:center;font-size:13.5px;color:var(--ink-3);margin-top:22px}
:where(body.p-signup) .la-onb{list-style:none;margin:26px 0 0;padding:0;display:flex;flex-direction:column;gap:16px}
:where(body.p-signup) .la-onb li{display:flex;gap:13px;align-items:flex-start}
:where(body.p-signup) .la-onb .num{width:26px;height:26px;border-radius:50%;background:rgba(255,255,255,.16);display:grid;place-items:center;font-size:12.5px;font-weight:600;flex-shrink:0}
:where(body.p-signup) .la-onb .num.on{background:var(--teal);color:#fff}
:where(body.p-signup) .la-onb .t{font-size:14.5px;font-weight:500}
:where(body.p-signup) .la-onb .s{font-size:12.5px;color:rgba(255,255,255,.7);margin-top:1px}
:where(body.p-signup) .la-foot{margin-top:28px;font-size:13px;color:rgba(255,255,255,.75);position:relative;z-index:1}
:where(body.p-signup) .login-eyebrow{font-size:12px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--teal);margin-bottom:12px}
:where(body.p-signup) .name-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}
:where(body.p-signup) .field label .opt{color:var(--ink-4);font-weight:400}
:where(body.p-signup) .field select{width:100%;font-family:inherit;font-size:15px;padding:12px 14px;border:1px solid var(--line);border-radius:11px;background:#fff;color:var(--ink);outline:none;cursor:pointer}
:where(body.p-signup) .field select:focus{border-color:var(--teal);box-shadow:0 0 0 3px var(--teal-50)}
:where(body.p-signup) .field .mono{font-variant-numeric:tabular-nums;letter-spacing:.12em;text-transform:uppercase}
:where(body.p-signup) .affix-btn{background:none;border:none;color:var(--ink-4);cursor:pointer;font-size:15px;padding:4px}
:where(body.p-signup) .pw{margin-top:10px}
:where(body.p-signup) .pw-bar{height:5px;border-radius:999px;background:var(--line);overflow:hidden}
:where(body.p-signup) .pw-bar span{display:block;height:100%;border-radius:999px}
:where(body.p-signup) .pw-lbl{font-size:12px;margin-top:8px;color:var(--ink-3);display:flex;align-items:center;gap:8px}
:where(body.p-signup) .sec-hd{font-size:12px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--ink-4);margin:24px 0 15px;padding-top:22px;border-top:1px solid var(--line-2)}
:where(body.p-signup) .check{display:flex;align-items:flex-start;gap:10px;font-size:13px;color:var(--ink-2);line-height:1.5;margin:12px 0;cursor:pointer}
:where(body.p-signup) .check input{accent-color:var(--teal);width:16px;height:16px;margin-top:2px;flex-shrink:0}
:where(body.p-signup) .check .sub{font-weight:400;color:var(--ink-4);display:block;margin-top:2px}
:where(body.p-signup) .la-card{display:flex;align-items:center;gap:14px;padding:14px 16px;border:1px solid var(--line);border-radius:12px;margin-top:16px;text-decoration:none;color:inherit;transition:border-color .15s}
:where(body.p-signup) .la-card:hover{border-color:#d7dbdf}
:where(body.p-signup) .la-card .ic{width:40px;height:40px;border-radius:10px;background:var(--teal-50);color:var(--teal-700);display:grid;place-items:center;font-size:16px;flex-shrink:0}
:where(body.p-signup) .la-card .t{font-size:13.5px;font-weight:600}
:where(body.p-signup) .la-card .s{font-size:12px;color:var(--ink-3);margin-top:2px}
:where(body.p-signup) .hidden{display:none}
:where(body.p-signup) .form-alert{display:flex;gap:11px;align-items:flex-start;padding:13px 15px;border-radius:12px;background:var(--tint-blush);border:1px solid #f2d3ce;color:#8f3a31;font-size:13px;line-height:1.45;margin-bottom:20px}
:where(body.p-signup) .form-alert i{margin-top:1px;font-size:14px}
:where(body.p-signup) .field.err .inp{border-color:#c4574c;box-shadow:0 0 0 3px rgba(196,87,76,.14)}
:where(body.p-signup) .field.err .inp i{color:#c4574c}
:where(body.p-signup) .field.err label{color:#a1443a}
:where(body.p-signup) .field-err{color:#a1443a;font-size:12px;margin-top:6px;display:flex;align-items:center;gap:6px}
:where(body.p-signup) .pill-blush{background:var(--tint-blush);color:#a1443a}

/* ---------- lah/new-listing-step.html + ll/new-listing-step.html ---------- */
/* variant of the shared rule — differs from the version in portal-components.css */
:where(body.p-lah-new-listing-step,body.p-ll-new-listing-step) .input{width:100%;font-family:inherit;font-size:15px;padding:12px 14px;border:1px solid var(--line);border-radius:11px;outline:none;color:var(--ink);margin-bottom:8px}

/* ---------- switch-account.html ---------- */
/* variant of the shared rule — differs from the version in portal-components.css */
:where(body.p-switch-account) .sw{max-width:620px;margin:64px auto 80px;padding:0 24px}
:where(body.p-switch-account) .kick{display:flex;align-items:center;gap:12px;font-size:12px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--ink-3)}
:where(body.p-switch-account) .kick::before{content:'';width:34px;height:2px;background:var(--teal)}
:where(body.p-switch-account) .sw h1{font-size:36px;letter-spacing:-.03em;margin:12px 0 8px}
:where(body.p-switch-account) .sw .sub{font-size:15.5px;color:var(--ink-2);margin-bottom:34px}
:where(body.p-switch-account) .grp{display:flex;align-items:center;gap:10px;font-size:11.5px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--ink-3);margin:26px 0 12px}
:where(body.p-switch-account) .grp::after{content:'';flex:1;height:1px;background:var(--line)}
:where(body.p-switch-account) .grp .n{font-weight:500;text-transform:none;letter-spacing:0;font-size:12.5px;color:var(--ink-4)}
:where(body.p-switch-account) .acct{display:flex;align-items:center;gap:16px;background:#fff;border:1px solid var(--line);border-radius:16px;padding:18px 20px;cursor:pointer;transition:border-color .15s,box-shadow .15s;text-align:left;width:100%}
:where(body.p-switch-account) .acct:hover{border-color:var(--teal);box-shadow:0 10px 28px -20px rgba(20,27,36,.35)}
:where(body.p-switch-account) .acct.on{border-color:var(--teal)}
:where(body.p-switch-account) .acct .tile{width:52px;height:52px;border-radius:14px;background:linear-gradient(150deg,var(--teal),var(--teal-700));color:#fff;display:grid;place-items:center;font-size:17px;font-weight:700;flex-shrink:0}
:where(body.p-switch-account) .acct .nm{font-size:16.5px;font-weight:700}
:where(body.p-switch-account) .acct .nm .role{font-size:10.5px;font-weight:700;letter-spacing:.1em;color:var(--ink-4);margin-left:8px;vertical-align:1px}
:where(body.p-switch-account) .acct .kind{font-size:13.5px;color:var(--ink-2);margin-top:1px}
:where(body.p-switch-account) .acct .meta{display:flex;gap:16px;font-size:12.5px;color:var(--ink-3);margin-top:7px}
:where(body.p-switch-account) .acct .meta i{margin-right:5px}
:where(body.p-switch-account) .acct .go{margin-left:auto;color:var(--ink-3);font-size:16px;display:flex;flex-direction:column;align-items:flex-end;gap:10px}

/* ---------- ll/verification.html ---------- */
/* variant of the shared rule — differs from the version in portal-components.css */
:where(body.p-ll-verification) .dropzone{border:2px dashed var(--line);border-radius:14px;padding:30px;text-align:center;color:var(--ink-3);background:var(--tint-stone);cursor:pointer;font-size:13px;margin-bottom:16px}
:where(body.p-ll-verification) .chk-row{display:grid;grid-template-columns:auto 1fr auto auto;gap:14px;align-items:center;padding:14px 24px;border-top:1px solid var(--line-2)}
:where(body.p-ll-verification) .chk-row:first-child{border-top:none}
:where(body.p-ll-verification) .chk-ic{width:40px;height:40px;border-radius:11px;display:grid;place-items:center;font-size:15px;flex-shrink:0;background:var(--tint-mint);color:#2b7d55}
:where(body.p-ll-verification) .chk-t{font-size:14px;font-weight:600}
:where(body.p-ll-verification) .chk-s{font-size:12px;color:var(--ink-3);margin-top:2px}
:where(body.p-ll-verification) .chk-doc{font-size:12px;color:var(--ink-3);margin-top:3px}
:where(body.p-ll-verification) .chk-doc b{color:var(--ink-2);font-weight:500}
:where(body.p-ll-verification) .chk-wrap{container-type:inline-size}
:where(body.p-ll-verification) .chk-acts{display:flex;gap:6px}

/* ---------- ll/new-listing-step-1.html + lah/new-listing-step-1.html ---------- */
:where(body.p-ll-new-listing-step-1,body.p-lah-new-listing-step-1) .addr-fields{display:flex;flex-direction:column;gap:12px;margin-top:14px}

/* ---------- ll/properties.html ---------- */
:where(body.p-lah-properties,body.p-ll-properties) .pgrid{grid-template-columns:repeat(auto-fill,minmax(250px,1fr))}
:where(body.p-lah-properties,body.p-ll-properties) .pcard-img{height:160px}

/* ---------- ll/settings.html ---------- */
:where(body.p-ll-settings) .scard-ft{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 24px;border-top:1px solid var(--line-2)}
:where(body.p-ll-settings) .ft-hint{font-size:12.5px;color:var(--ink-4)}
:where(body.p-ll-settings) .ft-hint.dirty{color:#c8921f;font-weight:500}
:where(body.p-ll-settings) .pay-acc{display:flex;align-items:center;gap:12px;border:1px solid var(--line);border-radius:11px;padding:8px 12px;background:var(--tint-stone)}
:where(body.p-ll-settings) .pay-acc .grow{flex:1;min-width:0}
:where(body.p-ll-settings) .pa-ic{width:36px;height:36px;border-radius:9px;background:#fff;border:1px solid var(--line-2);display:grid;place-items:center;color:var(--teal-700);font-size:14px;flex-shrink:0}
:where(body.p-ll-settings) .pa-t{font-size:13.5px;font-weight:600}
:where(body.p-ll-settings) .pa-s{font-size:11.5px;color:var(--ink-3);margin-top:1px}

/* ---------- ll/visibility.html ---------- */
:where(body.p-ll-visibility) .v-list-row{display:grid;grid-template-columns:auto 1fr auto auto;gap:14px;align-items:center;padding:12px 24px;border-top:1px solid var(--line-2)}
:where(body.p-ll-visibility) .v-list-row:first-child{border-top:none}
:where(body.p-ll-visibility) .v-count{font-size:12.5px;color:var(--ink-2);font-weight:600;text-align:right;white-space:nowrap}
:where(body.p-ll-visibility) .v-count .s{display:block;font-weight:400;color:var(--ink-4);font-size:11.5px;margin-top:1px}
:where(body.p-ll-visibility) .v-tag{font-size:11px;font-weight:600;color:var(--teal-700);background:var(--teal-50);border-radius:999px;padding:2px 8px;margin-left:6px;vertical-align:1px}

/* ---------- accept-invite.html + forgot-password.html + reset-password.html + verify-email.html ---------- */
body:where(.p-accept-invite,.p-forgot-password,.p-reset-password,.p-verify-email){min-height:100vh;display:grid;place-items:center;padding:32px}

/* ---------- error-404.html ---------- */
/* variant of the shared rule — differs from the version in portal-components.css */
body:where(.p-error-404){min-height:100vh;display:grid;place-items:center;padding:32px;text-align:center}
:where(body.p-error-404) .e h1{font-size:88px;letter-spacing:-.04em;color:var(--teal);line-height:1}
:where(body.p-error-404) .e h2{font-size:24px;letter-spacing:-.02em;margin:10px 0 8px}
:where(body.p-error-404) .e p{font-size:15px;color:var(--ink-2);max-width:44ch;margin:0 auto 24px;line-height:1.55}
:where(body.p-error-404) .e .logo{height:22px;margin:0 auto 34px;display:block}
:where(body.p-error-404) .e .row{display:flex;gap:10px;justify-content:center}

/* ---------- accept-invite.html ---------- */
/* variant of the shared rule — differs from the version in portal-components.css */
:where(body.p-accept-invite) .auth{width:100%;max-width:440px}
:where(body.p-accept-invite) .who{display:flex;align-items:center;gap:12px;background:var(--teal-50);border-radius:12px;padding:12px 14px;margin-bottom:20px;font-size:13.5px}
:where(body.p-accept-invite) .who .avatar{width:36px;height:36px;border-radius:50%;background:#fff;color:var(--teal-700);display:grid;place-items:center;font-weight:700;font-size:13px}

/* ---------- verify-email.html ---------- */
/* variant of the shared rule — differs from the version in portal-components.css */
:where(body.p-verify-email) .auth{width:100%;max-width:440px;text-align:center}
/* variant of the shared rule — differs from the version in portal-components.css */
:where(body.p-verify-email) .auth .card{padding:36px 32px}
/* variant of the shared rule — differs from the version in portal-components.css */
:where(body.p-verify-email) .auth h1{font-size:23px;letter-spacing:-.02em;margin-bottom:8px}
/* variant of the shared rule — differs from the version in portal-components.css */
:where(body.p-verify-email) .auth .foot{font-size:13.5px;color:var(--ink-3);margin-top:18px}
:where(body.p-verify-email) .auth .big{width:60px;height:60px;border-radius:18px;background:var(--teal-50);color:var(--teal-700);display:grid;place-items:center;font-size:24px;margin:0 auto 18px}

/* ---------- forgot-password.html + reset-password.html ---------- */
/* variant of the shared rule — differs from the version in portal-components.css */
:where(body.p-forgot-password,body.p-reset-password) .auth .sub{font-size:14px;color:var(--ink-2);line-height:1.5;margin-bottom:20px}

/* ---------- reset-password.html ---------- */
:where(body.p-reset-password) .rule{font-size:12.5px;color:var(--ink-3);margin:-6px 0 16px}
