/* Shared customer workspace styles. */
body.landlord-dashboard-shell:is([data-page="wallet"], [data-page="investments"], [data-page="earnings"], [data-page="history"], [data-page="property"], [data-page="referral"], [data-page="profile"], [data-page="bank"]) {
    --sidebar-width: 248px;
    --ld-ink: #091a3a;
    --ld-muted: #51688c;
    --ld-line: #d5e3f7;
    background: linear-gradient(90deg, #021231 0, #021231 var(--sidebar-width), #eef4ff var(--sidebar-width), #eef4ff 100%);
}
body.landlord-dashboard-shell:is([data-page="wallet"], [data-page="investments"], [data-page="earnings"], [data-page="history"], [data-page="property"], [data-page="referral"], [data-page="profile"], [data-page="bank"]) main {
    padding: 22px 28px 24px;
    min-height: calc(100dvh - 68px);
    background: radial-gradient(ellipse at 92% 0%, #dbeaff 0%, transparent 48%), radial-gradient(ellipse at 12% 35%, #f6f9ff 0%, #eef4ff 68%, #e6efff 100%);
}
body.landlord-dashboard-shell:is([data-page="wallet"], [data-page="investments"], [data-page="earnings"], [data-page="history"], [data-page="property"], [data-page="referral"], [data-page="profile"], [data-page="bank"]) .sidebar {
    overflow-y: auto;
    min-height: 100dvh;
    background: radial-gradient(ellipse at 105% 60%, #06387875 0%, transparent 62%), linear-gradient(160deg, #010e30 4%, #002052 60%, #021637 100%);
    border-right: 1px solid #123865;
    box-shadow: 6px 0 24px #010e3014;
}
body.landlord-dashboard-shell:is([data-page="wallet"], [data-page="investments"], [data-page="earnings"], [data-page="history"], [data-page="property"], [data-page="referral"], [data-page="profile"], [data-page="bank"]) .sidebar::after { display: none; }
body.landlord-dashboard-shell:is([data-page="wallet"], [data-page="investments"], [data-page="earnings"], [data-page="history"], [data-page="property"], [data-page="referral"], [data-page="profile"], [data-page="bank"]) .sidebar .brand {
    padding: 18px 18px 19px;
    height: 76px;
    font-size: 18.5px;
    font-weight: 720;
    letter-spacing: -.5px;
    color: #ffffff;
    border-bottom: 1px solid #153b69;
}
body.landlord-dashboard-shell:is([data-page="wallet"], [data-page="investments"], [data-page="earnings"], [data-page="history"], [data-page="property"], [data-page="referral"], [data-page="profile"], [data-page="bank"]) .sidebar .brand-mark { width: 42px; height: 45px; object-fit: contain; }
body.landlord-dashboard-shell:is([data-page="wallet"], [data-page="investments"], [data-page="earnings"], [data-page="history"], [data-page="property"], [data-page="referral"], [data-page="profile"], [data-page="bank"]) .sidebar nav { gap: 5px; margin-top: 18px; padding-top: 0; }
body.landlord-dashboard-shell:is([data-page="wallet"], [data-page="investments"], [data-page="earnings"], [data-page="history"], [data-page="property"], [data-page="referral"], [data-page="profile"], [data-page="bank"]) .sidebar nav button {
    min-height: 46px;
    height: auto;
    margin: 0;
    padding: 11px 15px;
    gap: 12px;
    border: 1px solid transparent;
    border-radius: 11px;
    color: #bfd3ef;
    background: transparent;
    box-shadow: none;
    font-size: 12.5px;
    font-weight: 560;
    transition: background .15s ease, color .15s ease, border-color .15s ease;
}
body.landlord-dashboard-shell:is([data-page="wallet"], [data-page="investments"], [data-page="earnings"], [data-page="history"], [data-page="property"], [data-page="referral"], [data-page="profile"], [data-page="bank"]) .sidebar nav button svg { width: 19px; height: 19px; flex-shrink: 0; }
body.landlord-dashboard-shell:is([data-page="wallet"], [data-page="investments"], [data-page="earnings"], [data-page="history"], [data-page="property"], [data-page="referral"], [data-page="profile"], [data-page="bank"]) .sidebar nav button:hover { background: #0c31637a; border-color: #1c4c85; color: #ffffff; }
body.landlord-dashboard-shell:is([data-page="wallet"], [data-page="investments"], [data-page="earnings"], [data-page="history"], [data-page="property"], [data-page="referral"], [data-page="profile"], [data-page="bank"]) .sidebar nav button.active {
    background: linear-gradient(110deg, #075fff, #0042f5);
    border-color: #3d84ff;
    box-shadow: 0 5px 15px #075fff33, inset 0 1px 0 #ffffff29;
    color: #ffffff;
    font-weight: 650;
}
body.landlord-dashboard-shell:is([data-page="wallet"], [data-page="investments"], [data-page="earnings"], [data-page="history"], [data-page="property"], [data-page="referral"], [data-page="profile"], [data-page="bank"]) :is(.fintech-sidebar-promo, .reference-sidebar-promo) { display: none !important; }
body.landlord-dashboard-shell:is([data-page="wallet"], [data-page="investments"], [data-page="earnings"], [data-page="history"], [data-page="property"], [data-page="referral"], [data-page="profile"], [data-page="bank"]) .sidebar .support-card {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: auto 6px 6px;
    padding: 13px 14px;
    min-height: 58px;
    border: 1px solid #1a4b7c;
    border-radius: 12px;
    color: #eaf4ff;
    background: linear-gradient(125deg, #062b59bf, #041d42d9);
    box-shadow: inset 0 1px 0 #ffffff14;
}
body.landlord-dashboard-shell:is([data-page="wallet"], [data-page="investments"], [data-page="earnings"], [data-page="history"], [data-page="property"], [data-page="referral"], [data-page="profile"], [data-page="bank"]) .support-card > svg { width: 20px; height: 20px; flex-shrink: 0; color: #05d3f1; }
body.landlord-dashboard-shell:is([data-page="wallet"], [data-page="investments"], [data-page="earnings"], [data-page="history"], [data-page="property"], [data-page="referral"], [data-page="profile"], [data-page="bank"]) .support-card b { color: #f4f8ff; font-size: 12px; font-weight: 650; }
body.landlord-dashboard-shell:is([data-page="wallet"], [data-page="investments"], [data-page="earnings"], [data-page="history"], [data-page="property"], [data-page="referral"], [data-page="profile"], [data-page="bank"]) .support-card small { display: none; }

body.landlord-dashboard-shell:is([data-page="wallet"], [data-page="investments"], [data-page="earnings"], [data-page="history"], [data-page="property"], [data-page="referral"], [data-page="profile"], [data-page="bank"]) .topbar {
    height: 68px;
    min-height: 68px;
    padding: 0 28px;
    gap: 16px;
    background: #ffffffeb;
    backdrop-filter: blur(12px);
    border-bottom: 1px solid #d6e3f7;
    box-shadow: 0 2px 12px #0b255905;
}
body.landlord-dashboard-shell:is([data-page="wallet"], [data-page="investments"], [data-page="earnings"], [data-page="history"], [data-page="property"], [data-page="referral"], [data-page="profile"], [data-page="bank"]) .breadcrumb { color: #566d92; font-size: 12px; font-weight: 500; }
body.landlord-dashboard-shell:is([data-page="wallet"], [data-page="investments"], [data-page="earnings"], [data-page="history"], [data-page="property"], [data-page="referral"], [data-page="profile"], [data-page="bank"]) #breadcrumb { padding: 0; border-radius: 0; background: transparent; color: #091a3a; font-weight: 700; letter-spacing: -.2px; }
body.landlord-dashboard-shell:is([data-page="wallet"], [data-page="investments"], [data-page="earnings"], [data-page="history"], [data-page="property"], [data-page="referral"], [data-page="profile"], [data-page="bank"]) .topbar .search {
    min-width: 0;
    max-width: 380px;
    height: 40px;
    padding: 0 11px 0 13px;
    border-radius: 10px;
    background: #f3f7ff;
    border: 1px solid #ceddf5;
    box-shadow: inset 0 1px 2px #091e4205;
}
body.landlord-dashboard-shell:is([data-page="wallet"], [data-page="investments"], [data-page="earnings"], [data-page="history"], [data-page="property"], [data-page="referral"], [data-page="profile"], [data-page="bank"]) .topbar .search:focus-within {
    border-color: #0b5fff;
    background: #ffffff;
    box-shadow: 0 0 0 3px #0b5fff14;
}
body.landlord-dashboard-shell:is([data-page="wallet"], [data-page="investments"], [data-page="earnings"], [data-page="history"], [data-page="property"], [data-page="referral"], [data-page="profile"], [data-page="bank"]) .topbar .search input { color: #0b1938; font-size: 12px; }
body.landlord-dashboard-shell:is([data-page="wallet"], [data-page="investments"], [data-page="earnings"], [data-page="history"], [data-page="property"], [data-page="referral"], [data-page="profile"], [data-page="bank"]) .topbar .search input::placeholder { color: #6e83a6; }
body.landlord-dashboard-shell:is([data-page="wallet"], [data-page="investments"], [data-page="earnings"], [data-page="history"], [data-page="property"], [data-page="referral"], [data-page="profile"], [data-page="bank"]) .topbar .search kbd {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    white-space: nowrap;
    height: 22px;
    padding: 0 7px;
    border-radius: 5px;
    border: 1px solid #cadef8;
    background: #ffffff;
    color: #365482;
    font-family: inherit;
    font-size: 10px;
    font-weight: 650;
    line-height: 1;
    box-shadow: 0 1px 2px #091e4208;
}
body.landlord-dashboard-shell:is([data-page="wallet"], [data-page="investments"], [data-page="earnings"], [data-page="history"], [data-page="property"], [data-page="referral"], [data-page="profile"], [data-page="bank"]) .shell-environment {
    padding: 5px 10px;
    color: #1f4882;
    background: #eaf2ff;
    border: 1px solid #cadef8;
    border-radius: 7px;
    font-size: 10.5px;
    font-weight: 650;
    white-space: nowrap;
}
body.landlord-dashboard-shell:is([data-page="wallet"], [data-page="investments"], [data-page="earnings"], [data-page="history"], [data-page="property"], [data-page="referral"], [data-page="profile"], [data-page="bank"]) .topbar .icon-button {
    border: 1px solid #d4e2f7;
    background: #f5f9ff;
    color: #1b3a68;
    border-radius: 10px;
}
body.landlord-dashboard-shell:is([data-page="wallet"], [data-page="investments"], [data-page="earnings"], [data-page="history"], [data-page="property"], [data-page="referral"], [data-page="profile"], [data-page="bank"]) .topbar .icon-button:hover {
    background: #e8f1ff;
    border-color: #a9c6f5;
    color: #075fff;
}
body.landlord-dashboard-shell:is([data-page="wallet"], [data-page="investments"], [data-page="earnings"], [data-page="history"], [data-page="property"], [data-page="referral"], [data-page="profile"], [data-page="bank"]) .topbar .user-button {
    border: 1px solid #d4e2f7;
    background: #f7faff;
    border-radius: 11px;
    padding: 4px 11px 4px 5px;
}
body.landlord-dashboard-shell:is([data-page="wallet"], [data-page="investments"], [data-page="earnings"], [data-page="history"], [data-page="property"], [data-page="referral"], [data-page="profile"], [data-page="bank"]) .topbar .user-button:hover {
    background: #edf4ff;
    border-color: #adc9f7;
}
body.landlord-dashboard-shell:is([data-page="wallet"], [data-page="investments"], [data-page="earnings"], [data-page="history"], [data-page="property"], [data-page="referral"], [data-page="profile"], [data-page="bank"]) .avatar {
    background: linear-gradient(135deg, #075fff, #0042f5);
    color: #ffffff;
    font-weight: 700;
}
body.landlord-dashboard-shell:is([data-page="wallet"], [data-page="investments"], [data-page="earnings"], [data-page="history"], [data-page="property"], [data-page="referral"], [data-page="profile"], [data-page="bank"]) .main-footer {
    color: #546b8f;
    border-top-color: #d5e3f7;
    background: #f6f9ff;
}
body.landlord-dashboard-shell:is([data-page="wallet"], [data-page="investments"], [data-page="earnings"], [data-page="history"], [data-page="property"], [data-page="referral"], [data-page="profile"], [data-page="bank"]) :is(button,a,input,select):focus-visible { outline: 3px solid #35c3f3; outline-offset: 2px; }

.landlord-dashboard-modern { max-width: 1540px; min-width: 0; margin: 0 auto; }

/* Compact, minimal, informative workspace header bar (no large decorative artwork) */
.landlord-dashboard-modern .ld-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px 24px;
    padding: 16px 22px;
    margin-bottom: 18px;
    border: 1px solid #113d73;
    border-radius: 16px;
    background: linear-gradient(125deg, #010e30 0%, #002052 62%, #02173a 100%);
    color: #ffffff;
    box-shadow: 0 8px 22px #02133812, inset 0 1px 0 #ffffff14;
}
.landlord-dashboard-modern .ld-hero::before,
.landlord-dashboard-modern .ld-hero::after { display: none; }
.landlord-dashboard-modern .ld-hero-copy {
    min-width: 0;
    flex: 1 1 320px;
}
.landlord-dashboard-modern .ld-hero-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 4px;
}
.landlord-dashboard-modern .ld-hero .eyebrow {
    display: inline-flex;
    align-items: center;
    color: #16e4ff;
    font-size: 9.5px;
    line-height: 1.3;
    font-weight: 750;
    letter-spacing: 1.4px;
    text-transform: uppercase;
}
.landlord-dashboard-modern .ld-hero-status {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 2px 8px;
    border-radius: 999px;
    border: 1px solid #155e75;
    background: #04354c99;
    color: #9ef3e6;
    font-size: 10px;
    font-weight: 600;
    line-height: 1.35;
}
.landlord-dashboard-modern .ld-hero-status[data-status="pending"] {
    border-color: #7c5816;
    background: #46300899;
    color: #ffd98a;
}
.landlord-dashboard-modern .ld-status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #19e6c1;
    box-shadow: 0 0 6px #19e6c1;
}
.landlord-dashboard-modern .ld-hero-status[data-status="pending"] .ld-status-dot {
    background: #fbbf24;
    box-shadow: 0 0 6px #fbbf24;
}
.landlord-dashboard-modern .ld-hero h1 {
    margin: 0 0 3px;
    color: #f8fbff;
    font-size: clamp(18px, 1.45vw, 22px);
    line-height: 1.25;
    letter-spacing: -.5px;
    font-weight: 730;
}
.landlord-dashboard-modern .ld-hero h1 > span {
    display: inline;
    color: #05d3f1;
}
.landlord-dashboard-modern .ld-hero p {
    margin: 0;
    color: #b8ceea;
    font-size: 12px;
    line-height: 1.45;
    overflow-wrap: anywhere;
}
.landlord-dashboard-modern .ld-hero-bar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px 20px;
    margin-left: auto;
}
.landlord-dashboard-modern .ld-hero-metrics {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0;
    margin: 0;
    padding: 6px 14px;
    border: 1px solid #164378;
    border-radius: 12px;
    background: #041d44b3;
}
.landlord-dashboard-modern .ld-hero-stat {
    display: flex;
    flex-direction: column;
    gap: 1px;
    padding: 2px 14px;
    min-width: 112px;
}
.landlord-dashboard-modern .ld-hero-stat:first-child { padding-left: 2px; }
.landlord-dashboard-modern .ld-hero-stat:last-child { padding-right: 2px; }
.landlord-dashboard-modern .ld-hero-stat + .ld-hero-stat {
    border-left: 1px solid #163f70;
}
.landlord-dashboard-modern .ld-hero-stat dt {
    color: #8ab0dc;
    font-size: 9.5px;
    font-weight: 650;
    letter-spacing: .4px;
    text-transform: uppercase;
    line-height: 1.3;
}
.landlord-dashboard-modern .ld-hero-stat dd {
    margin: 0;
    color: #ffffff;
    font-size: 13px;
    font-weight: 720;
    letter-spacing: -.2px;
    font-variant-numeric: tabular-nums;
    line-height: 1.35;
    white-space: nowrap;
}
.landlord-dashboard-modern .ld-hero-stat small {
    color: #88add8;
    font-size: 9.5px;
    line-height: 1.3;
    white-space: nowrap;
}
.landlord-dashboard-modern .ld-hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
}
.landlord-dashboard-modern .ld-hero-actions .button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 40px;
    padding: 8px 14px;
    border-radius: 10px;
    background: #072856bf;
    border: 1px solid #25578f;
    color: #eaf3ff;
    font-size: 12px;
    font-weight: 650;
    white-space: nowrap;
    transition: background .15s ease, border-color .15s ease;
}
.landlord-dashboard-modern .ld-hero-actions .button:hover { background: #0c356ed9; border-color: #4a85c5; }
.landlord-dashboard-modern .ld-hero-actions .primary {
    background: linear-gradient(110deg, #075fff, #0042f5);
    color: #ffffff;
    border-color: #3d84ff;
    box-shadow: 0 4px 12px #075fff30, inset 0 1px 0 #ffffff26;
}
.landlord-dashboard-modern .ld-hero-actions .primary:hover {
    background: linear-gradient(110deg, #1668ff, #0549ff);
    border-color: #5b98ff;
}
.landlord-dashboard-modern .ld-hero-actions svg { width: 15px; height: 15px; }

.landlord-dashboard-modern .ld-section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}
.landlord-dashboard-modern .ld-section-heading h2 {
    margin: 0;
    color: #081a3a;
    font-size: 18px;
    line-height: 1.28;
    letter-spacing: -.4px;
    font-weight: 740;
}
.landlord-dashboard-modern .ld-section-heading p {
    margin: 0;
    color: #36527d;
    font-size: 11px;
    line-height: 1.4;
    font-weight: 600;
}
.landlord-dashboard-modern .ld-section-heading .ld-section-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 11px;
    border-radius: 999px;
    border: 1px solid #c9ddf8;
    background: linear-gradient(180deg, #ffffff 0%, #f1f7ff 100%);
    box-shadow: 0 2px 6px #08235908;
}
.landlord-dashboard-modern .ld-pill-dots {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.landlord-dashboard-modern .ld-pill-dots i {
    width: 6.5px;
    height: 6.5px;
    border-radius: 50%;
    background: #075fff;
}
.landlord-dashboard-modern .ld-pill-dots i:nth-child(2) { background: #00a3e0; }
.landlord-dashboard-modern .ld-pill-dots i:nth-child(3) { background: #0d9488; }
.landlord-dashboard-modern .ld-section-heading .eyebrow {
    display: block;
    margin-bottom: 2px;
    color: #075fff;
    font-size: 9.5px;
    font-weight: 760;
    letter-spacing: 1.3px;
}

body.landlord-dashboard-shell[data-page="wallet"] .landlord-dashboard-modern .flow-accounts { gap: 16px; margin: 0 0 18px; padding: 0; }
body.landlord-dashboard-shell[data-page="wallet"] .landlord-dashboard-modern .flow-card { height: 222px; min-height: 222px; border-radius: 16px; box-shadow: none; }
body.landlord-dashboard-shell[data-page="wallet"] .landlord-dashboard-modern :is(.flow-card-slot,.flow-card,.flow-icon) { animation: none !important; translate: none !important; }
body.landlord-dashboard-shell[data-page="wallet"] .landlord-dashboard-modern :is(.flow-connector,.flow-orbit,.flow-ribbon,.flow-card-body::after) { display: none !important; }
body.landlord-dashboard-shell[data-page="wallet"] .landlord-dashboard-modern .fintech-card-art {
    display: grid !important;
    place-items: center;
    position: absolute;
    right: 16px;
    top: 54px;
    width: 68px;
    height: 68px;
    color: #075fff;
    opacity: .07;
    pointer-events: none;
    z-index: 0;
}
body.landlord-dashboard-shell[data-page="wallet"] .landlord-dashboard-modern .fintech-card-art svg { width: 100%; height: 100%; }
body.landlord-dashboard-shell[data-page="wallet"] .landlord-dashboard-modern .flow-wallet .fintech-card-art { color: #5ce1ff; opacity: .11; }
body.landlord-dashboard-shell[data-page="wallet"] .landlord-dashboard-modern .flow-earnings .fintech-card-art { color: #0891b2; opacity: .08; }

body.landlord-dashboard-shell[data-page="wallet"] .landlord-dashboard-modern .flow-accounts .flow-card .flow-card-body {
    position: relative;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    min-height: 222px;
    padding: 18px 20px !important;
    border-radius: 16px;
    overflow: hidden;
    transform: none !important;
    transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}
body.landlord-dashboard-shell[data-page="wallet"] .landlord-dashboard-modern .flow-accounts .flow-card .flow-card-body::before {
    content: "" !important;
    display: block !important;
    position: absolute;
    inset: 0 0 auto 0;
    width: 100%;
    height: 3.5px;
    background: linear-gradient(90deg, #05d3f1 0%, #3898ff 55%, #075fff 100%);
    opacity: .95;
    z-index: 2;
    pointer-events: none;
}

/* Card 1: Flagship Samruddhi Logo Deep Navy & Electric Cobalt */
body.landlord-dashboard-shell[data-page="wallet"] .landlord-dashboard-modern .flow-accounts .flow-wallet .flow-card-body {
    border: 1px solid #164fa8;
    background: radial-gradient(125% 110% at 96% 4%, #05d3f138 0%, transparent 52%), linear-gradient(135deg, #02163b 0%, #063175 54%, #0752d4 100%);
    color: #ffffff;
    box-shadow: 0 10px 24px #031a4521, inset 0 1px 0 #66d9ff2e;
}
body.landlord-dashboard-shell[data-page="wallet"] .landlord-dashboard-modern .flow-accounts .flow-wallet:hover .flow-card-body,
body.landlord-dashboard-shell[data-page="wallet"] .landlord-dashboard-modern .flow-accounts .flow-wallet[data-selected="true"] .flow-card-body {
    border-color: #2c7dff;
    box-shadow: 0 0 0 1px #2c7dff, 0 12px 26px #0421582b;
}

/* Card 2: Samruddhi Electric Blue & Cobalt Tinted Surface */
body.landlord-dashboard-shell[data-page="wallet"] .landlord-dashboard-modern .flow-accounts .flow-investment .flow-card-body {
    border: 1px solid #b8d2fa;
    background: radial-gradient(115% 95% at 100% 0%, #075fff1c 0%, transparent 56%), linear-gradient(160deg, #ffffff 0%, #f1f7ff 54%, #e3eeff 100%);
    color: #071a3e;
    box-shadow: 0 8px 20px #075fff0c, inset 0 1px 0 #ffffff;
}
body.landlord-dashboard-shell[data-page="wallet"] .landlord-dashboard-modern .flow-accounts .flow-investment .flow-card-body::before {
    background: linear-gradient(90deg, #03256c 0%, #075fff 55%, #05d3f1 100%);
}
body.landlord-dashboard-shell[data-page="wallet"] .landlord-dashboard-modern .flow-accounts .flow-investment:hover .flow-card-body,
body.landlord-dashboard-shell[data-page="wallet"] .landlord-dashboard-modern .flow-accounts .flow-investment[data-selected="true"] .flow-card-body {
    border-color: #075fff;
    box-shadow: 0 0 0 1px #075fff, 0 10px 24px #075fff17;
}

/* Card 3: Samruddhi Logo Cyan-Aqua & Teal Tinted Surface */
body.landlord-dashboard-shell[data-page="wallet"] .landlord-dashboard-modern .flow-accounts .flow-earnings .flow-card-body {
    border: 1px solid #a6deea;
    background: radial-gradient(115% 95% at 100% 0%, #05d3f128 0%, transparent 56%), linear-gradient(160deg, #ffffff 0%, #eefbfd 54%, #dff5f8 100%);
    color: #06253a;
    box-shadow: 0 8px 20px #0891b20d, inset 0 1px 0 #ffffff;
}
body.landlord-dashboard-shell[data-page="wallet"] .landlord-dashboard-modern .flow-accounts .flow-earnings .flow-card-body::before {
    background: linear-gradient(90deg, #05d3f1 0%, #0891b2 52%, #0e9f6e 100%);
}
body.landlord-dashboard-shell[data-page="wallet"] .landlord-dashboard-modern .flow-accounts .flow-earnings:hover .flow-card-body,
body.landlord-dashboard-shell[data-page="wallet"] .landlord-dashboard-modern .flow-accounts .flow-earnings[data-selected="true"] .flow-card-body {
    border-color: #0891b2;
    box-shadow: 0 0 0 1px #0891b2, 0 10px 24px #0891b21a;
}

body.landlord-dashboard-shell[data-page="wallet"] .landlord-dashboard-modern .flow-card-heading {
    gap: 11px;
    align-items: center;
    position: relative;
    z-index: 1;
}
body.landlord-dashboard-shell[data-page="wallet"] .landlord-dashboard-modern .flow-card .flow-icon {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 11px;
    flex-shrink: 0;
}
body.landlord-dashboard-shell[data-page="wallet"] .landlord-dashboard-modern .flow-card .flow-icon svg { width: 20px; height: 20px; filter: none; }
body.landlord-dashboard-shell[data-page="wallet"] .landlord-dashboard-modern .flow-wallet .flow-icon {
    background: linear-gradient(135deg, #05d3f130 0%, #3b82f62b 100%);
    border: 1px solid #5ce1ff59;
    color: #67e8f9;
    box-shadow: inset 0 1px 0 #ffffff2e, 0 4px 10px #02102b38;
}
body.landlord-dashboard-shell[data-page="wallet"] .landlord-dashboard-modern .flow-investment .flow-icon {
    background: linear-gradient(135deg, #075fff 0%, #033aa6 100%);
    border: 1px solid #2977ff;
    color: #ffffff;
    box-shadow: 0 5px 12px #075fff2b, inset 0 1px 0 #ffffff38;
}
body.landlord-dashboard-shell[data-page="wallet"] .landlord-dashboard-modern .flow-earnings .flow-icon {
    background: linear-gradient(135deg, #00b4d8 0%, #0c8577 100%);
    border: 1px solid #1bc2db;
    color: #ffffff;
    box-shadow: 0 5px 12px #0891b22b, inset 0 1px 0 #ffffff38;
}
body.landlord-dashboard-shell[data-page="wallet"] .landlord-dashboard-modern .flow-card .flow-step {
    display: block;
    font-size: 8.5px;
    font-weight: 760;
    letter-spacing: 1.1px;
    line-height: 1.2;
    margin-bottom: 2px;
    color: #075fff;
}
body.landlord-dashboard-shell[data-page="wallet"] .landlord-dashboard-modern .flow-wallet .flow-step { color: #67e8f9; }
body.landlord-dashboard-shell[data-page="wallet"] .landlord-dashboard-modern .flow-earnings .flow-step { color: #07748c; }
body.landlord-dashboard-shell[data-page="wallet"] .landlord-dashboard-modern .flow-card :is(h2,.flow-card-select) {
    color: #081c42 !important;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.25;
    margin: 0;
    white-space: normal;
}
body.landlord-dashboard-shell[data-page="wallet"] .landlord-dashboard-modern .flow-wallet :is(h2,.flow-card-select) { color: #ffffff !important; }
body.landlord-dashboard-shell[data-page="wallet"] .landlord-dashboard-modern .flow-earnings :is(h2,.flow-card-select) { color: #07283b !important; }
body.landlord-dashboard-shell[data-page="wallet"] .landlord-dashboard-modern .flow-card-select { min-height: 24px; }
body.landlord-dashboard-shell[data-page="wallet"] .landlord-dashboard-modern .flow-card .flow-currency {
    display: inline-flex;
    align-items: center;
    margin-left: auto;
    padding: 3px 8px;
    border-radius: 6px;
    border: 1px solid #b7d1fb;
    background: #ddeaff;
    color: #0645b8;
    font-size: 9.5px;
    font-weight: 740;
    letter-spacing: .5px;
}
body.landlord-dashboard-shell[data-page="wallet"] .landlord-dashboard-modern .flow-wallet .flow-currency {
    background: #05d3f121;
    border-color: #5ce1ff4d;
    color: #a5f3fc;
}
body.landlord-dashboard-shell[data-page="wallet"] .landlord-dashboard-modern .flow-earnings .flow-currency {
    background: #d3f2f7;
    border-color: #9ddde9;
    color: #066075;
}
body.landlord-dashboard-shell[data-page="wallet"] .landlord-dashboard-modern .flow-accounts .flow-card .flow-value {
    width: 100%;
    max-width: 100%;
    margin-top: 12px;
    font-size: clamp(23px, 1.9vw, 29px);
    line-height: 1.15;
    font-weight: 760;
    letter-spacing: -.8px;
    color: #061a3e;
    font-variant-numeric: tabular-nums;
    white-space: normal;
    overflow-wrap: anywhere;
    position: relative;
    z-index: 1;
}
body.landlord-dashboard-shell[data-page="wallet"] .landlord-dashboard-modern .flow-accounts .flow-wallet .flow-value {
    color: #ffffff;
    text-shadow: 0 2px 10px #02102b33;
}
body.landlord-dashboard-shell[data-page="wallet"] .landlord-dashboard-modern .flow-accounts .flow-earnings .flow-value {
    color: #052c42;
}
body.landlord-dashboard-shell[data-page="wallet"] .landlord-dashboard-modern .flow-accounts .flow-card .flow-value-note {
    width: 100%;
    max-width: 100%;
    margin-top: 4px;
    color: #435d85;
    font-size: 10.5px;
    line-height: 1.4;
    font-weight: 520;
    position: relative;
    z-index: 1;
}
body.landlord-dashboard-shell[data-page="wallet"] .landlord-dashboard-modern .flow-accounts .flow-wallet .flow-value-note { color: #bad5f7; }
body.landlord-dashboard-shell[data-page="wallet"] .landlord-dashboard-modern .flow-accounts .flow-earnings .flow-value-note { color: #365f73; }

body.landlord-dashboard-shell[data-page="wallet"] .landlord-dashboard-modern .flow-accounts .flow-card .flow-card-actions {
    display: flex;
    flex-direction: row;
    padding-top: 12px;
    margin-top: auto;
    border-top: 1px solid #cfe0fa;
    gap: 8px;
    position: relative;
    z-index: 1;
}
body.landlord-dashboard-shell[data-page="wallet"] .landlord-dashboard-modern .flow-accounts .flow-wallet .flow-card-actions {
    border-top-color: #ffffff21;
}
body.landlord-dashboard-shell[data-page="wallet"] .landlord-dashboard-modern .flow-accounts .flow-earnings .flow-card-actions {
    border-top-color: #bce6ee;
}
body.landlord-dashboard-shell[data-page="wallet"] .landlord-dashboard-modern .flow-accounts .flow-card .flow-card-actions .button {
    min-height: 40px;
    padding: 8px 11px;
    border-radius: 9px;
    border: 1px solid #075fff !important;
    background: linear-gradient(110deg, #075fff 0%, #0040d9 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px #075fff24;
    font-size: 11.5px;
    font-weight: 670;
    white-space: normal;
}
body.landlord-dashboard-shell[data-page="wallet"] .landlord-dashboard-modern .flow-accounts .flow-wallet .flow-card-actions .button {
    border-color: #ffffff !important;
    background: linear-gradient(180deg, #ffffff 0%, #edf5ff 100%) !important;
    color: #03225c !important;
    box-shadow: 0 4px 12px #010d2638;
    font-weight: 710;
}
body.landlord-dashboard-shell[data-page="wallet"] .landlord-dashboard-modern .flow-accounts .flow-wallet .flow-card-actions .button.outline {
    border-color: #66abff66 !important;
    background: #041d4d8c !important;
    color: #f0f7ff !important;
    box-shadow: inset 0 1px 0 #ffffff1a;
}
body.landlord-dashboard-shell[data-page="wallet"] .landlord-dashboard-modern .flow-accounts .flow-investment .flow-card-actions .flow-secondary {
    border-color: #b0cbf5 !important;
    background: #ffffff !important;
    color: #0645b8 !important;
    box-shadow: 0 2px 5px #075fff0a;
}
body.landlord-dashboard-shell[data-page="wallet"] .landlord-dashboard-modern .flow-accounts .flow-earnings .flow-card-actions .flow-earnings-button {
    border-color: #066782 !important;
    background: linear-gradient(110deg, #042863 0%, #066986 54%, #0b8a78 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px #06698626;
}
body.landlord-dashboard-shell[data-page="wallet"] .landlord-dashboard-modern .flow-accounts .flow-card .flow-card-actions .button:hover { filter: brightness(.97); }
body.landlord-dashboard-shell[data-page="wallet"] .landlord-dashboard-modern .flow-accounts .flow-card .flow-card-actions svg { width: 15px; height: 15px; }

body.landlord-dashboard-shell[data-page="wallet"] .landlord-dashboard-modern .flow-quick {
    position: relative;
    overflow: hidden;
    align-items: center;
    gap: 20px;
    margin: 0 0 18px;
    padding: 15px 20px;
    border: 1px solid #c3daf7;
    border-radius: 16px;
    background: radial-gradient(70% 120% at 0% 50%, #e1eeff 0%, transparent 55%), linear-gradient(180deg, #ffffff 0%, #f4f9ff 100%);
    box-shadow: 0 8px 20px #08255908, inset 0 1px 0 #ffffff;
    backdrop-filter: none;
}
.landlord-dashboard-modern .flow-quick::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    background: linear-gradient(180deg, #05d3f1 0%, #075fff 55%, #03225c 100%);
}
.landlord-dashboard-modern .flow-quick .widget-heading {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    flex-basis: 162px;
    gap: 2px;
    margin: 0;
    padding-left: 4px;
}
.landlord-dashboard-modern .flow-quick .widget-heading .eyebrow {
    display: block;
    color: #075fff;
    font-size: 8.5px;
    font-weight: 760;
    letter-spacing: 1.2px;
}
.landlord-dashboard-modern .flow-quick .widget-heading h2 {
    font-size: 15.5px;
    line-height: 1.25;
    color: #081a3a;
    letter-spacing: -.3px;
    font-weight: 730;
    margin: 0;
}
.landlord-dashboard-modern .flow-quick .widget-tag {
    display: block;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #4b648a;
    font-size: 10.5px;
    font-weight: 520;
    line-height: 1.35;
    white-space: normal;
    text-align: left;
}
.landlord-dashboard-modern .flow-quick .fintech-bolt { display: none; }
.landlord-dashboard-modern .dashboard-actions {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    padding: 0;
    gap: 10px;
    min-width: 0;
}
body.landlord-dashboard-shell[data-page="wallet"] .landlord-dashboard-modern .dashboard-actions .action-pill {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr);
    align-items: center;
    text-align: left;
    min-width: 0;
    min-height: 64px;
    gap: 2px 10px;
    padding: 10px 12px;
    border: 1px solid #cce0fa;
    border-radius: 12px;
    background: linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
    color: #091a3a;
    box-shadow: 0 3px 8px #07235706;
    transition: background .15s ease, border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
body.landlord-dashboard-shell[data-page="wallet"] .landlord-dashboard-modern .dashboard-actions .action-pill:hover {
    background: linear-gradient(180deg, #ffffff 0%, #edf4ff 100%);
    border-color: #075fff;
    box-shadow: 0 6px 14px #075fff14;
}
body.landlord-dashboard-shell[data-page="wallet"] .landlord-dashboard-modern .dashboard-actions .action-pill .quick-symbol {
    grid-row: 1 / 3;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    border: 1px solid #2b78ff;
    color: #ffffff;
    background: linear-gradient(135deg, #075fff 0%, #0040c9 100%);
    box-shadow: 0 4px 10px #075fff26, inset 0 1px 0 #ffffff33;
}
body.landlord-dashboard-shell[data-page="wallet"] .landlord-dashboard-modern .dashboard-actions .action-pill:nth-child(2) .quick-symbol {
    background: linear-gradient(135deg, #042564 0%, #0752d4 100%);
    border-color: #1c5bc7;
    box-shadow: 0 4px 10px #04256426, inset 0 1px 0 #ffffff2e;
}
body.landlord-dashboard-shell[data-page="wallet"] .landlord-dashboard-modern .dashboard-actions .action-pill:nth-child(3) .quick-symbol {
    background: linear-gradient(135deg, #00a3e0 0%, #0267b5 100%);
    border-color: #19b3eb;
    box-shadow: 0 4px 10px #0096c726, inset 0 1px 0 #ffffff33;
}
body.landlord-dashboard-shell[data-page="wallet"] .landlord-dashboard-modern .dashboard-actions .action-pill:nth-child(4) .quick-symbol {
    background: linear-gradient(135deg, #0f2957 0%, #1c4482 100%);
    border-color: #2c5ba1;
    color: #67e8f9;
    box-shadow: 0 4px 10px #0f295724, inset 0 1px 0 #ffffff26;
}
body.landlord-dashboard-shell[data-page="wallet"] .landlord-dashboard-modern .dashboard-actions .action-pill:nth-child(5) .quick-symbol {
    background: linear-gradient(135deg, #0891b2 0%, #0d9488 100%);
    border-color: #14b8a6;
    box-shadow: 0 4px 10px #0891b226, inset 0 1px 0 #ffffff33;
}
body.landlord-dashboard-shell[data-page="wallet"] .landlord-dashboard-modern .dashboard-actions .action-pill .quick-symbol svg {
    width: 18px;
    height: 18px;
    color: currentColor !important;
}
body.landlord-dashboard-shell[data-page="wallet"] .landlord-dashboard-modern .dashboard-actions .action-pill b {
    grid-column: 2;
    font-size: 11.5px;
    font-weight: 700;
    color: #081a3a;
    line-height: 1.25;
}
body.landlord-dashboard-shell[data-page="wallet"] .landlord-dashboard-modern .dashboard-actions .action-pill small {
    grid-column: 2;
    display: block;
    max-width: 100%;
    color: #4b648a;
    font-size: 9.5px;
    line-height: 1.3;
    overflow-wrap: anywhere;
}

.landlord-dashboard-modern .ld-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, .96fr) minmax(0, 1.04fr);
    gap: 18px;
    align-items: stretch;
    margin: 0 0 18px;
}
.landlord-dashboard-modern .ld-detail-grid > :only-child {
    grid-column: 1 / -1;
}
.landlord-dashboard-modern .ld-panel {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-width: 0;
    border: 1px solid #c3daf7;
    border-radius: 16px;
    background: radial-gradient(95% 75% at 100% 0%, #075fff12 0%, transparent 56%), linear-gradient(180deg, #ffffff 0%, #f6faff 100%);
    box-shadow: 0 8px 20px #08255908, inset 0 1px 0 #ffffff;
    padding: 20px 22px;
}
.landlord-dashboard-modern .ld-panel.ld-activity {
    background: radial-gradient(95% 75% at 100% 0%, #05d3f118 0%, transparent 56%), linear-gradient(180deg, #ffffff 0%, #f6faff 100%);
}
.landlord-dashboard-modern .ld-panel::before,
.landlord-dashboard-modern :is(.wallet-overview,.fintech-growth)::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 3.5px;
    background: linear-gradient(90deg, #03225c 0%, #075fff 55%, #05d3f1 100%);
    z-index: 2;
    pointer-events: none;
}
.landlord-dashboard-modern .ld-panel.ld-activity::before {
    background: linear-gradient(90deg, #075fff 0%, #00a3e0 55%, #0d9488 100%);
}
.landlord-dashboard-modern .ld-panel-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 13px;
    margin-bottom: 14px;
    border-bottom: 1px solid #e1ecfc;
}
.landlord-dashboard-modern .ld-panel-title-wrap {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    min-width: 0;
}
.landlord-dashboard-modern :is(.ld-heading-icon,.fintech-section-icon) {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    flex-shrink: 0;
    color: #ffffff;
    background: linear-gradient(135deg, #03225c 0%, #075fff 100%);
    border: 1px solid #1e5ed4;
    box-shadow: 0 4px 10px #03225c24, inset 0 1px 0 #ffffff30;
    padding: 0;
}
.landlord-dashboard-modern .ld-heading-activity {
    background: linear-gradient(135deg, #075fff 0%, #0096c7 100%);
    border-color: #1ca6e0;
    box-shadow: 0 4px 10px #075fff24, inset 0 1px 0 #ffffff30;
}
.landlord-dashboard-modern .ld-heading-portfolio {
    background: linear-gradient(135deg, #075fff 0%, #0891b2 100%);
    border-color: #19a2c9;
    box-shadow: 0 4px 10px #075fff24, inset 0 1px 0 #ffffff30;
}
.landlord-dashboard-modern :is(.ld-heading-icon,.fintech-section-icon) svg {
    width: 19px;
    height: 19px;
    color: currentColor !important;
}
.landlord-dashboard-modern .ld-panel-heading h2 {
    margin: 0 0 2px;
    color: #081a3a;
    font-size: 16.5px;
    font-weight: 730;
    line-height: 1.25;
    letter-spacing: -.35px;
}
.landlord-dashboard-modern :is(.ld-panel-heading,.overview-heading,.fintech-growth header) .eyebrow {
    display: block;
    color: #075fff;
    font-size: 9px;
    letter-spacing: 1.3px;
    font-weight: 760;
    margin-bottom: 2px;
    text-transform: uppercase;
}
.landlord-dashboard-modern .ld-panel-heading p {
    margin: 0;
    color: #4b648a;
    font-size: 11px;
    line-height: 1.45;
}
.landlord-dashboard-modern .ld-panel .card-link {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    gap: 6px;
    min-height: 36px;
    color: #0545c4;
    font-size: 11.5px;
    font-weight: 680;
    padding: 6px 12px;
    border-radius: 9px;
    background: linear-gradient(180deg, #ffffff 0%, #eef5ff 100%);
    border: 1px solid #bfd6f8;
    box-shadow: 0 2px 5px #07235708;
    transition: background .15s ease, color .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.landlord-dashboard-modern .ld-panel .card-link:hover {
    background: linear-gradient(110deg, #075fff 0%, #0042f5 100%);
    border-color: #075fff;
    color: #ffffff;
    box-shadow: 0 4px 10px #075fff24;
}
.landlord-dashboard-modern .ld-panel .card-link svg { width: 14px; height: 14px; color: currentColor !important; }

.landlord-dashboard-modern .ld-property-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}
.landlord-dashboard-modern .ld-property-summary {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0 0 11px;
    padding: 9px 13px;
    border: 1px solid #174fa8;
    border-radius: 11px;
    background: radial-gradient(90% 140% at 100% 50%, #05d3f12e 0%, transparent 55%), linear-gradient(120deg, #02163b 0%, #06327a 58%, #0752d4 100%);
    color: #e8f3ff;
    font-size: 11.5px;
    font-weight: 560;
    line-height: 1.4;
    box-shadow: 0 5px 14px #0319421a, inset 0 1px 0 #ffffff21;
}
.landlord-dashboard-modern .ld-property-summary strong {
    display: inline-grid;
    place-items: center;
    min-width: 24px;
    height: 22px;
    padding: 0 7px;
    border-radius: 6px;
    background: #05d3f129;
    border: 1px solid #5ce1ff55;
    color: #7ee8ff;
    font-size: 12px;
    font-weight: 760;
    font-variant-numeric: tabular-nums;
}
.landlord-dashboard-shell[data-page="wallet"] .landlord-dashboard-modern .ld-property-summary small {
    margin-left: auto;
    padding: 2px 8px;
    border-radius: 999px;
    background: #ffffff14;
    border: 1px solid #ffffff24;
    color: #d4e6ff;
    font-size: 9.5px;
    font-weight: 620;
}
.landlord-dashboard-modern .ld-property-summary svg { width: 15px; height: 15px; flex-shrink: 0; color: #67e8f9; }
.landlord-dashboard-modern .ld-property-list { display: grid; gap: 8px; }
.landlord-dashboard-modern .ld-property-item {
    display: grid;
    width: 100%;
    grid-template-columns: 38px minmax(0, 1fr) auto 16px;
    gap: 11px;
    align-items: center;
    padding: 11px 12px;
    text-align: left;
    background: linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
    border: 1px solid #cfe1fa;
    border-radius: 12px;
    box-shadow: 0 2px 6px #07235706;
    transition: background .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.landlord-dashboard-modern .ld-property-item:hover {
    background: linear-gradient(90deg, #eef5ff 0%, #ffffff 100%);
    border-color: #075fff;
    box-shadow: 0 5px 12px #075fff12;
}
.landlord-dashboard-modern .ld-property-icon {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, #e6f0ff 0%, #d2e4ff 100%);
    border: 1px solid #b8d3fb;
    border-radius: 10px;
    color: #075fff;
}
.landlord-dashboard-modern .ld-property-icon svg { width: 19px; height: 19px; color: currentColor !important; }
.landlord-dashboard-modern .ld-property-copy { display: grid; min-width: 0; gap: 2px; }
.landlord-dashboard-modern .ld-property-copy strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #091d42;
    font-size: 12px;
    font-weight: 700;
}
.landlord-dashboard-modern .ld-property-copy small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #4b648a;
    font-size: 10.5px;
    line-height: 1.4;
}
.landlord-dashboard-modern .ld-property-kind {
    color: #055a8c;
    border: 1px solid #9bd8f5;
    border-radius: 999px;
    background: linear-gradient(135deg, #e0f5fe 0%, #d2eefc 100%);
    font-size: 9.5px;
    font-weight: 700;
    padding: 3px 9px;
}
.landlord-dashboard-modern .ld-property-item > svg { grid-column: 4; width: 14px; height: 14px; color: #075fff; }
.landlord-dashboard-modern .ld-property-footer {
    margin-top: auto;
    padding-top: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}
.landlord-dashboard-modern .ld-property-note {
    margin: 0;
    padding: 0;
    border: 0;
    flex: 1 1 200px;
    color: #516a90;
    font-size: 10px;
    line-height: 1.5;
}
.landlord-dashboard-modern .ld-property-manage {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-height: 32px;
    padding: 5px 10px;
    border-radius: 8px;
    border: 1px solid #bfd6f8;
    background: linear-gradient(180deg, #ffffff 0%, #edf4ff 100%);
    color: #0545c4;
    font-size: 10.5px;
    font-weight: 670;
    white-space: nowrap;
    transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.landlord-dashboard-modern .ld-property-manage:hover {
    background: #e1edff;
    border-color: #075fff;
}
.landlord-dashboard-modern .ld-property-manage svg { width: 13px; height: 13px; color: currentColor !important; }

.landlord-dashboard-modern .ld-panel .loading {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 180px;
    gap: 10px;
    color: #51688c;
    font-size: 11.5px;
}
.landlord-dashboard-modern .ld-panel-error .text-button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 44px;
    margin-top: 8px;
}
.landlord-dashboard-modern .ld-panel-error .text-button svg { width: 16px; height: 16px; }

.landlord-dashboard-modern .ld-activity-content {
    display: grid;
    gap: 8px;
    align-content: start;
}
.landlord-dashboard-modern .ld-activity .activity-row {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr) auto auto;
    gap: 11px;
    align-items: center;
    padding: 10px 12px;
    min-height: 60px;
    border: 1px solid #cfe1fa;
    border-radius: 12px;
    background: linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
    box-shadow: 0 2px 6px #07235706;
    transition: background .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.landlord-dashboard-modern .ld-activity .activity-row:hover {
    background: linear-gradient(90deg, #eef5ff 0%, #ffffff 100%);
    border-color: #075fff;
    box-shadow: 0 5px 12px #075fff12;
}
.landlord-dashboard-modern .ld-activity .transaction-icon {
    height: 38px;
    width: 38px;
    border: 1px solid #2b78ff;
    border-radius: 10px;
    color: #ffffff;
    background: linear-gradient(135deg, #075fff 0%, #0040c9 100%);
    box-shadow: 0 4px 10px #075fff22, inset 0 1px 0 #ffffff30;
}
.landlord-dashboard-modern .ld-activity .transaction-icon svg { width: 17px; height: 17px; color: currentColor !important; }
.landlord-dashboard-modern .ld-activity .transaction-icon.roi {
    color: #ffffff;
    background: linear-gradient(135deg, #00b4d8 0%, #0d9488 100%);
    border-color: #14b8a6;
    box-shadow: 0 4px 10px #0891b222, inset 0 1px 0 #ffffff30;
}
.landlord-dashboard-modern .ld-activity .transaction-icon.out {
    color: #7dd3fc;
    background: linear-gradient(135deg, #032054 0%, #143d7d 100%);
    border-color: #25549c;
    box-shadow: 0 4px 10px #03205422, inset 0 1px 0 #ffffff24;
}
.landlord-dashboard-modern .ld-activity .activity-copy { min-width: 0; }
.landlord-dashboard-modern .ld-activity .activity-copy b {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #091d42;
    font-size: 11.5px;
    font-weight: 700;
}
.landlord-dashboard-modern .ld-activity .activity-copy small {
    display: block;
    color: #4b648a;
    font-size: 10px;
    margin-top: 2px;
}
.landlord-dashboard-modern .ld-activity .record-reference {
    display: inline-block;
    margin-left: 3px;
    padding: 0 5px;
    border-radius: 4px;
    background: #eaf2ff;
    color: #0645b8;
    font-weight: 650;
    font-size: 9px;
}
.landlord-dashboard-modern .ld-activity .mobile-date {
    display: block;
    color: #637a9f;
    font-size: 9px;
    margin-top: 2px;
}
.landlord-dashboard-modern .ld-activity .activity-date { display: none; }
.landlord-dashboard-modern .ld-activity .transaction-status {
    display: inline-flex;
    align-items: center;
    justify-self: end;
    gap: 4px;
    padding: 3px 8px;
    border-radius: 999px;
    background: #e1f7ef;
    border: 1px solid #b4ebd6;
    color: #0a7554;
    font-size: 9.5px;
    font-weight: 680;
    white-space: nowrap;
}
.landlord-dashboard-modern .ld-activity .transaction-status.completed {
    background: #e8f1ff;
    border-color: #c2d8fb;
    color: #16448a;
}
.landlord-dashboard-modern .ld-activity .transaction-status.pending {
    background: #fef3c7;
    border-color: #fde68a;
    color: #92400e;
}
.landlord-dashboard-modern .ld-activity .transaction-status span { font-size: 7px; line-height: 1; }
.landlord-dashboard-modern .ld-activity .transaction-amount {
    white-space: nowrap;
    color: #0a7856;
    font-size: 12px;
    font-weight: 740;
    font-variant-numeric: tabular-nums;
}
.landlord-dashboard-modern .ld-activity .transaction-amount.out { color: #0b2248; }
.landlord-dashboard-modern :is(.ld-panel-empty,.ld-panel-error) {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 180px;
    padding: 20px 16px;
    border: 1px solid #d5e4fa;
    border-radius: 12px;
    background: linear-gradient(180deg, #ffffff 0%, #f4f9ff 100%);
    text-align: center;
    color: #4b648a;
    font-size: 11px;
    line-height: 1.6;
}
.landlord-dashboard-modern :is(.ld-panel-empty,.ld-panel-error) > svg { width: 32px; height: 32px; margin-bottom: 8px; color: #075fff; }
.landlord-dashboard-modern :is(.ld-panel-empty,.ld-panel-error) :is(h3,strong) { color: #091d42; font-size: 14px; margin: 0 0 4px; }
.landlord-dashboard-modern :is(.ld-panel-empty,.ld-panel-error) p { max-width: 310px; margin: 0; }
.landlord-dashboard-modern .ld-panel-loading { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 180px; color: #51688c; font-size: 11.5px; }

body.landlord-dashboard-shell[data-page="wallet"] .landlord-dashboard-modern .fintech-analytics { gap: 18px; align-items: stretch; }
body.landlord-dashboard-shell[data-page="wallet"] .landlord-dashboard-modern :is(.wallet-overview,.fintech-growth) {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    margin: 0;
    min-width: 0;
    padding: 20px 22px;
    border: 1px solid #c3daf7;
    border-radius: 16px;
    background: radial-gradient(95% 75% at 0% 0%, #075fff12 0%, transparent 55%), linear-gradient(180deg, #ffffff 0%, #f6faff 100%);
    box-shadow: 0 8px 20px #08255908, inset 0 1px 0 #ffffff;
}
body.landlord-dashboard-shell[data-page="wallet"] .landlord-dashboard-modern .wallet-overview::before {
    background: linear-gradient(90deg, #075fff 0%, #0597d5 52%, #0e9f6e 100%);
}
body.landlord-dashboard-shell[data-page="wallet"] .landlord-dashboard-modern .fintech-growth {
    background: radial-gradient(95% 75% at 100% 0%, #05d3f117 0%, transparent 55%), linear-gradient(180deg, #ffffff 0%, #f6faff 100%);
}
body.landlord-dashboard-shell[data-page="wallet"] .landlord-dashboard-modern .overview-heading {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 11px;
    padding-bottom: 13px;
    border-bottom: 1px solid #e1ecfc;
}
body.landlord-dashboard-shell[data-page="wallet"] .landlord-dashboard-modern .fintech-growth header {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    flex-wrap: wrap;
    padding-bottom: 13px;
    margin-bottom: 6px;
    border-bottom: 1px solid #e1ecfc;
}
body.landlord-dashboard-shell[data-page="wallet"] .landlord-dashboard-modern :is(.overview-heading h2,.fintech-growth h2) {
    color: #081a3a;
    font-size: 16.5px;
    font-weight: 730;
    line-height: 1.25;
    letter-spacing: -.35px;
    margin: 0 0 2px;
}
body.landlord-dashboard-shell[data-page="wallet"] .landlord-dashboard-modern :is(.overview-heading p,.fintech-growth header p) {
    color: #4b648a;
    font-size: 11px;
    line-height: 1.45;
    margin: 0;
}

body.landlord-dashboard-shell[data-page="wallet"] .landlord-dashboard-modern .overview-layout {
    grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
    align-items: center;
    gap: 18px;
    padding-top: 14px;
}
body.landlord-dashboard-shell[data-page="wallet"] .landlord-dashboard-modern .overview-stage {
    height: 226px;
    min-width: 0;
    perspective: none;
    display: grid;
    place-items: center;
    background: radial-gradient(circle at 50% 50%, #e4f0ff 0%, transparent 66%);
    border-radius: 50%;
}
body.landlord-dashboard-shell[data-page="wallet"] .landlord-dashboard-modern .overview-tilt {
    width: 220px;
    max-width: 100%;
    margin: 0 auto;
    transform: none;
}
body.landlord-dashboard-shell[data-page="wallet"] .landlord-dashboard-modern .overview-rotor {
    animation: none;
    transform: none;
    filter: drop-shadow(0 8px 16px #06255c14);
}
body.landlord-dashboard-shell[data-page="wallet"] .landlord-dashboard-modern .overview-rotor svg path.overview-segment {
    stroke: #ffffff !important;
    stroke-width: 3px !important;
    outline: none;
}
body.landlord-dashboard-shell[data-page="wallet"] .landlord-dashboard-modern .overview-rotor svg path.overview-segment.is-active {
    transform: scale(1.025);
    filter: drop-shadow(0 4px 10px #04256429);
}
body.landlord-dashboard-shell[data-page="wallet"] .landlord-dashboard-modern .overview-rotor svg path.overview-segment[data-overview-segment="0"] { fill: #075fff !important; }
body.landlord-dashboard-shell[data-page="wallet"] .landlord-dashboard-modern .overview-rotor svg path.overview-segment[data-overview-segment="1"] { fill: #0597d5 !important; }
body.landlord-dashboard-shell[data-page="wallet"] .landlord-dashboard-modern .overview-rotor svg path.overview-segment[data-overview-segment="2"] { fill: #0e9f6e !important; }
body.landlord-dashboard-shell[data-page="wallet"] .landlord-dashboard-modern .overview-center {
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    text-align: center;
    padding: 0;
}
body.landlord-dashboard-shell[data-page="wallet"] .landlord-dashboard-modern .overview-center small {
    color: #075fff;
    font-size: 8px;
    font-weight: 760;
    letter-spacing: 1px;
}
body.landlord-dashboard-shell[data-page="wallet"] .landlord-dashboard-modern .overview-center strong {
    font-size: 13px;
    line-height: 1.2;
    width: auto;
    max-width: none;
    color: #081a3a;
    font-weight: 760;
    letter-spacing: -.35px;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
    text-align: center;
}
body.landlord-dashboard-shell[data-page="wallet"] .landlord-dashboard-modern .overview-center span {
    color: #4b648a;
    font-size: 8.5px;
    font-weight: 600;
    line-height: 1.2;
    max-width: none;
    margin-top: 1px;
}
body.landlord-dashboard-shell[data-page="wallet"] .landlord-dashboard-modern .overview-legend {
    display: grid;
    gap: 9px;
    border: 0;
    border-radius: 0;
    overflow: visible;
}
body.landlord-dashboard-shell[data-page="wallet"] .landlord-dashboard-modern .overview-legend-row {
    min-height: 56px;
    gap: 12px;
    padding: 11px 16px;
    border: 1px solid #cfe1fa;
    border-radius: 12px;
    background: linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
    box-shadow: 0 2px 6px #07235706;
    transition: background .15s ease, border-color .15s ease, box-shadow .15s ease;
}
body.landlord-dashboard-shell[data-page="wallet"] .landlord-dashboard-modern .overview-legend-row:last-child { border-bottom: 1px solid #cfe1fa; }
body.landlord-dashboard-shell[data-page="wallet"] .landlord-dashboard-modern .overview-legend-row:hover,
body.landlord-dashboard-shell[data-page="wallet"] .landlord-dashboard-modern .overview-legend-row.is-active {
    background: linear-gradient(90deg, #ebf3ff 0%, #ffffff 100%);
    border-color: #075fff;
    box-shadow: 0 4px 12px #075fff14;
}
body.landlord-dashboard-shell[data-page="wallet"] .landlord-dashboard-modern .overview-legend-row[data-overview-segment="0"] .overview-dot { background: #075fff !important; box-shadow: 0 0 0 3px #075fff21; }
body.landlord-dashboard-shell[data-page="wallet"] .landlord-dashboard-modern .overview-legend-row[data-overview-segment="1"] .overview-dot { background: #0597d5 !important; box-shadow: 0 0 0 3px #0597d524; }
body.landlord-dashboard-shell[data-page="wallet"] .landlord-dashboard-modern .overview-legend-row[data-overview-segment="2"] .overview-dot { background: #0e9f6e !important; box-shadow: 0 0 0 3px #0e9f6e24; }
body.landlord-dashboard-shell[data-page="wallet"] .landlord-dashboard-modern .overview-dot {
    width: 9px;
    height: 9px;
    margin-left: 2px;
    border-radius: 50%;
    flex-shrink: 0;
}
body.landlord-dashboard-shell[data-page="wallet"] .landlord-dashboard-modern .overview-legend-row b {
    white-space: normal;
    color: #091d42;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.25;
}
body.landlord-dashboard-shell[data-page="wallet"] .landlord-dashboard-modern .overview-legend-row > span:nth-child(2) > small {
    display: block;
    color: #536d94;
    font-size: 10px;
    line-height: 1.35;
    margin-top: 2px;
}
body.landlord-dashboard-shell[data-page="wallet"] .landlord-dashboard-modern .overview-amount {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 3px;
}
body.landlord-dashboard-shell[data-page="wallet"] .landlord-dashboard-modern .overview-legend-row .overview-amount b {
    font-size: 12.5px;
    font-weight: 740;
    font-variant-numeric: tabular-nums;
    color: #081a3a;
    line-height: 1.2;
}
body.landlord-dashboard-shell[data-page="wallet"] .landlord-dashboard-modern .overview-legend-row .overview-amount small {
    display: inline-block;
    margin-top: 0;
    padding: 2px 7px;
    border-radius: 999px;
    background: #e8f1ff;
    color: #0645b8;
    font-size: 9.5px;
    font-weight: 680;
    line-height: 1.25;
}
body.landlord-dashboard-shell[data-page="wallet"] .landlord-dashboard-modern .overview-legend-row[data-overview-segment="1"] .overview-amount small { background: #e0f5fe; color: #06638c; }
body.landlord-dashboard-shell[data-page="wallet"] .landlord-dashboard-modern .overview-legend-row[data-overview-segment="2"] .overview-amount small { background: #e1f7ef; color: #0a7554; }
body.landlord-dashboard-shell[data-page="wallet"] .landlord-dashboard-modern .overview-note { display: block; font-size: 10px; color: #516a90; line-height: 1.55; margin: 11px 0 0; }
body.landlord-dashboard-shell[data-page="wallet"] .landlord-dashboard-modern .overview-tooltip {
    bottom: -2px;
    background: linear-gradient(120deg, #02163b, #06327a);
    border: 1px solid #2563eb;
    color: #ffffff;
    padding: 6px 11px;
    border-radius: 8px;
    font-size: 9.5px;
    font-weight: 620;
    box-shadow: 0 6px 16px #02163b33;
}

body.landlord-dashboard-shell[data-page="wallet"] .landlord-dashboard-modern .fintech-period { margin-left: auto; }
body.landlord-dashboard-shell[data-page="wallet"] .landlord-dashboard-modern .fintech-period select {
    min-height: 36px;
    max-width: 100%;
    font-size: 11px;
    font-weight: 670;
    color: #09214a;
    border: 1px solid #bfd6f8;
    border-radius: 9px;
    padding: 6px 11px;
    background: linear-gradient(180deg, #ffffff 0%, #eef5ff 100%);
    box-shadow: 0 2px 5px #07235708;
}
body.landlord-dashboard-shell[data-page="wallet"] .landlord-dashboard-modern .fintech-growth-content {
    position: relative;
    padding-top: 60px;
    min-height: 248px;
}
body.landlord-dashboard-shell[data-page="wallet"] .landlord-dashboard-modern .fintech-growth-summary {
    top: 8px;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 16px;
    border: 1px solid #174fa8;
    border-radius: 11px;
    background: radial-gradient(90% 140% at 100% 50%, #05d3f129 0%, transparent 55%), linear-gradient(120deg, #02163b 0%, #06327a 58%, #0752d4 100%);
    box-shadow: 0 5px 14px #0319421a, inset 0 1px 0 #ffffff21;
    text-align: left;
}
body.landlord-dashboard-shell[data-page="wallet"] .landlord-dashboard-modern .fintech-growth-summary strong {
    font-size: 18.5px;
    color: #ffffff;
    font-weight: 760;
    letter-spacing: -.45px;
    font-variant-numeric: tabular-nums;
}
body.landlord-dashboard-shell[data-page="wallet"] .landlord-dashboard-modern .fintech-growth-summary :is(span,small) {
    font-size: 10px;
    font-weight: 680;
    padding: 3px 9px;
    border-radius: 999px;
    background: #ffffff17;
    border: 1px solid #ffffff29;
    color: #e0eeff;
}
body.landlord-dashboard-shell[data-page="wallet"] .landlord-dashboard-modern .fintech-growth-summary .positive {
    color: #9ef3e6;
    background: #05966945;
    border-color: #34d39966;
}
body.landlord-dashboard-shell[data-page="wallet"] .landlord-dashboard-modern .fintech-growth-summary .negative {
    color: #bae6fd;
    background: #0284c745;
    border-color: #38bdf866;
}
body.landlord-dashboard-shell[data-page="wallet"] .landlord-dashboard-modern .fintech-growth-chart {
    height: 174px;
    padding: 8px 10px 4px;
    border-radius: 12px;
    border: 1px solid #dce8fa;
    background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}
.landlord-dashboard-modern .fintech-growth-chart polygon { stroke: none !important; }
.landlord-dashboard-modern .fintech-growth-chart path.fintech-growth-grid {
    stroke: #d5e4fa !important;
    stroke-width: 1.2 !important;
    stroke-dasharray: 4 4;
}
.landlord-dashboard-modern .fintech-growth-chart polyline {
    stroke: #075fff !important;
    stroke-width: 3.2 !important;
    filter: drop-shadow(0 4px 6px #075fff24);
}
.landlord-dashboard-modern .fintech-growth-chart circle {
    fill: #ffffff !important;
    stroke: #0597d5 !important;
    stroke-width: 2.5 !important;
}
.landlord-dashboard-modern .fintech-growth-chart circle:last-of-type {
    fill: #075fff !important;
    stroke: #ffffff !important;
}
.landlord-dashboard-modern .fintech-growth-axis {
    color: #4b648a;
    font-size: 10px;
    font-weight: 620;
    padding-inline: 10px;
    margin-top: 6px;
}
.landlord-dashboard-modern .fintech-growth-caption { color: #516a90; font-size: 10px; line-height: 1.55; margin-top: 10px; }
.landlord-dashboard-modern .fintech-growth-empty { color: #4b648a; }
.landlord-dashboard-modern .fintech-growth-empty b { color: #091d42; }
.landlord-dashboard-modern .ld-footer-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 16px 0 0;
    padding: 10px 16px;
    border: 1px solid #cce0fa;
    border-radius: 12px;
    background: linear-gradient(90deg, #eef5ff 0%, #ffffff 50%, #eef5ff 100%);
    box-shadow: 0 2px 8px #07235705;
    color: #3d5780;
    font-size: 10.5px;
    font-weight: 540;
    line-height: 1.55;
    text-align: center;
}
.landlord-dashboard-modern .ld-footer-note svg { width: 15px; height: 15px; flex-shrink: 0; color: #075fff; }

@media (min-width: 1600px) {
    body.landlord-dashboard-shell:is([data-page="wallet"], [data-page="investments"], [data-page="earnings"], [data-page="history"], [data-page="property"], [data-page="referral"], [data-page="profile"], [data-page="bank"]) main { padding: 24px 34px; }
}
@media (max-width: 1400px) {
    .landlord-dashboard-modern .ld-hero-bar { width: 100%; justify-content: space-between; margin-left: 0; padding-top: 10px; border-top: 1px solid #143b6b; }
    body.landlord-dashboard-shell[data-page="wallet"] .landlord-dashboard-modern .overview-layout { grid-template-columns: minmax(0, 1fr); gap: 10px; }
    body.landlord-dashboard-shell[data-page="wallet"] .landlord-dashboard-modern .overview-stage { height: 210px; }
    body.landlord-dashboard-shell[data-page="wallet"] .landlord-dashboard-modern .overview-tilt { width: 210px; max-width: 100%; }
    body.landlord-dashboard-shell[data-page="wallet"] .landlord-dashboard-modern .overview-center strong { font-size: 12.5px; }
    body.landlord-dashboard-shell[data-page="wallet"] .landlord-dashboard-modern .overview-legend-row { min-height: 54px; padding: 11px 16px; }
    body.landlord-dashboard-shell[data-page="wallet"] .landlord-dashboard-modern .flow-quick { flex-direction: column; align-items: stretch; gap: 12px; }
    .landlord-dashboard-modern .flow-quick .widget-heading { flex-basis: auto; }
    .landlord-dashboard-modern .ld-panel-heading { align-items: flex-start; flex-wrap: wrap; gap: 8px; }
}
@media (max-width: 1200px) {
    body.landlord-dashboard-shell:is([data-page="wallet"], [data-page="investments"], [data-page="earnings"], [data-page="history"], [data-page="property"], [data-page="referral"], [data-page="profile"], [data-page="bank"]) .topbar .user-button b { display: none; }
    body.landlord-dashboard-shell[data-page="wallet"] .landlord-dashboard-modern .dashboard-actions .action-pill {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        min-height: 88px;
        gap: 5px;
        padding: 10px 6px;
    }
    .landlord-dashboard-modern .ld-detail-grid { grid-template-columns: minmax(0, 1fr); }
    .landlord-dashboard-modern .ld-panel-heading { flex-wrap: nowrap; align-items: center; gap: 12px; }
    body.landlord-dashboard-shell[data-page="wallet"] .landlord-dashboard-modern .fintech-analytics { grid-template-columns: minmax(0, 1fr); }
    body.landlord-dashboard-shell[data-page="wallet"] .landlord-dashboard-modern .overview-layout { grid-template-columns: minmax(0, .9fr) minmax(0, 1fr); gap: 22px; }
    body.landlord-dashboard-shell[data-page="wallet"] .landlord-dashboard-modern .overview-stage { height: 235px; }
    body.landlord-dashboard-shell[data-page="wallet"] .landlord-dashboard-modern .overview-tilt { width: 235px; max-width: 100%; }
    body.landlord-dashboard-shell[data-page="wallet"] .landlord-dashboard-modern .overview-center strong { font-size: 13.5px; }
    body.landlord-dashboard-shell[data-page="wallet"] .landlord-dashboard-modern .overview-legend-row { padding: 11px 16px; min-height: 56px; }
}
@media (min-width: 901px) and (max-width: 1100px) {
    body.landlord-dashboard-shell:is([data-page="wallet"], [data-page="investments"], [data-page="earnings"], [data-page="history"], [data-page="property"], [data-page="referral"], [data-page="profile"], [data-page="bank"]) { --sidebar-width: 220px; }
    body.landlord-dashboard-shell:is([data-page="wallet"], [data-page="investments"], [data-page="earnings"], [data-page="history"], [data-page="property"], [data-page="referral"], [data-page="profile"], [data-page="bank"]) main { padding: 20px; }
    body.landlord-dashboard-shell:is([data-page="wallet"], [data-page="investments"], [data-page="earnings"], [data-page="history"], [data-page="property"], [data-page="referral"], [data-page="profile"], [data-page="bank"]) .topbar { padding: 0 20px; gap: 13px; }
    body.landlord-dashboard-shell:is([data-page="wallet"], [data-page="investments"], [data-page="earnings"], [data-page="history"], [data-page="property"], [data-page="referral"], [data-page="profile"], [data-page="bank"]) .sidebar .brand { font-size: 17px; padding-inline: 14px; }
    body.landlord-dashboard-shell:is([data-page="wallet"], [data-page="investments"], [data-page="earnings"], [data-page="history"], [data-page="property"], [data-page="referral"], [data-page="profile"], [data-page="bank"]) .sidebar .brand span,
    body.landlord-dashboard-shell:is([data-page="wallet"], [data-page="investments"], [data-page="earnings"], [data-page="history"], [data-page="property"], [data-page="referral"], [data-page="profile"], [data-page="bank"]) #nav button > span { display: block; }
    body.landlord-dashboard-shell:is([data-page="wallet"], [data-page="investments"], [data-page="earnings"], [data-page="history"], [data-page="property"], [data-page="referral"], [data-page="profile"], [data-page="bank"]) .sidebar .brand { justify-content: flex-start; }
    body.landlord-dashboard-shell:is([data-page="wallet"], [data-page="investments"], [data-page="earnings"], [data-page="history"], [data-page="property"], [data-page="referral"], [data-page="profile"], [data-page="bank"]) .sidebar nav button { justify-content: flex-start; padding-inline: 13px; gap: 9px; font-size: 11.5px; }
    body.landlord-dashboard-shell:is([data-page="wallet"], [data-page="investments"], [data-page="earnings"], [data-page="history"], [data-page="property"], [data-page="referral"], [data-page="profile"], [data-page="bank"]) .sidebar nav { padding-inline: 0; }
    body.landlord-dashboard-shell[data-page="wallet"] .landlord-dashboard-modern .flow-accounts { gap: 12px; }
    body.landlord-dashboard-shell[data-page="wallet"] .landlord-dashboard-modern .flow-card { height: 222px; min-height: 222px; }
    body.landlord-dashboard-shell[data-page="wallet"] .landlord-dashboard-modern .flow-accounts .flow-card .flow-card-body { padding: 16px 14px !important; min-height: 222px; }
    body.landlord-dashboard-shell[data-page="wallet"] .landlord-dashboard-modern .flow-card h2 { font-size: 11.5px; }
    body.landlord-dashboard-shell[data-page="wallet"] .landlord-dashboard-modern .flow-card .flow-icon { width: 34px; height: 34px; }
    body.landlord-dashboard-shell[data-page="wallet"] .landlord-dashboard-modern .flow-card .flow-icon svg { width: 18px; height: 18px; }
    body.landlord-dashboard-shell[data-page="wallet"] .landlord-dashboard-modern .flow-accounts .flow-card .flow-value { font-size: 22px; }
    body.landlord-dashboard-shell[data-page="wallet"] .landlord-dashboard-modern .flow-accounts .flow-card .flow-card-actions { gap: 6px; }
    body.landlord-dashboard-shell[data-page="wallet"] .landlord-dashboard-modern .flow-accounts .flow-card .flow-card-actions .button { font-size: 10px; padding-inline: 7px; }
}
@media (max-width: 900px) {
    body.landlord-dashboard-shell:is([data-page="wallet"], [data-page="investments"], [data-page="earnings"], [data-page="history"], [data-page="property"], [data-page="referral"], [data-page="profile"], [data-page="bank"]) { background: #eef4ff; }
    body.landlord-dashboard-shell:is([data-page="wallet"], [data-page="investments"], [data-page="earnings"], [data-page="history"], [data-page="property"], [data-page="referral"], [data-page="profile"], [data-page="bank"]) .main-shell { margin-left: 0; }
    body.landlord-dashboard-shell:is([data-page="wallet"], [data-page="investments"], [data-page="earnings"], [data-page="history"], [data-page="property"], [data-page="referral"], [data-page="profile"], [data-page="bank"]) .sidebar { width: 248px; transform: translateX(-100%); z-index: 70; }
    body.landlord-dashboard-shell:is([data-page="wallet"], [data-page="investments"], [data-page="earnings"], [data-page="history"], [data-page="property"], [data-page="referral"], [data-page="profile"], [data-page="bank"]) .sidebar.open { transform: translateX(0); }
    body.landlord-dashboard-shell:is([data-page="wallet"], [data-page="investments"], [data-page="earnings"], [data-page="history"], [data-page="property"], [data-page="referral"], [data-page="profile"], [data-page="bank"]) .mobile-menu { display: inline-flex; align-items: center; justify-content: center; }
    body.landlord-dashboard-shell:is([data-page="wallet"], [data-page="investments"], [data-page="earnings"], [data-page="history"], [data-page="property"], [data-page="referral"], [data-page="profile"], [data-page="bank"]) .sidebar .brand { justify-content: flex-start; }
    body.landlord-dashboard-shell:is([data-page="wallet"], [data-page="investments"], [data-page="earnings"], [data-page="history"], [data-page="property"], [data-page="referral"], [data-page="profile"], [data-page="bank"]) .sidebar .brand span,
    body.landlord-dashboard-shell:is([data-page="wallet"], [data-page="investments"], [data-page="earnings"], [data-page="history"], [data-page="property"], [data-page="referral"], [data-page="profile"], [data-page="bank"]) #nav button > span { display: block; }
    body.landlord-dashboard-shell:is([data-page="wallet"], [data-page="investments"], [data-page="earnings"], [data-page="history"], [data-page="property"], [data-page="referral"], [data-page="profile"], [data-page="bank"]) .sidebar nav button { justify-content: flex-start; }
    body.landlord-dashboard-shell:is([data-page="wallet"], [data-page="investments"], [data-page="earnings"], [data-page="history"], [data-page="property"], [data-page="referral"], [data-page="profile"], [data-page="bank"]) .sidebar nav { padding-inline: 0; }
    body.landlord-dashboard-shell:is([data-page="wallet"], [data-page="investments"], [data-page="earnings"], [data-page="history"], [data-page="property"], [data-page="referral"], [data-page="profile"], [data-page="bank"]) .drawer-close { display: grid; position: absolute; top: 11px; right: 9px; }
    body.landlord-dashboard-shell:is([data-page="wallet"], [data-page="investments"], [data-page="earnings"], [data-page="history"], [data-page="property"], [data-page="referral"], [data-page="profile"], [data-page="bank"]) .nav-backdrop:not([hidden]) { display: block; position: fixed; inset: 0; z-index: 65; background: #061b3b66; }
    body.landlord-dashboard-shell:is([data-page="wallet"], [data-page="investments"], [data-page="earnings"], [data-page="history"], [data-page="property"], [data-page="referral"], [data-page="profile"], [data-page="bank"]) .topbar { gap: 12px; padding-inline: 20px; }
    body.landlord-dashboard-shell:is([data-page="wallet"], [data-page="investments"], [data-page="earnings"], [data-page="history"], [data-page="property"], [data-page="referral"], [data-page="profile"], [data-page="bank"]) .topbar .search { display: none; }
    body.landlord-dashboard-shell:is([data-page="wallet"], [data-page="investments"], [data-page="earnings"], [data-page="history"], [data-page="property"], [data-page="referral"], [data-page="profile"], [data-page="bank"]) .notification-button { margin-left: auto; }
}
@media (max-width: 760px) {
    body.landlord-dashboard-shell:is([data-page="wallet"], [data-page="investments"], [data-page="earnings"], [data-page="history"], [data-page="property"], [data-page="referral"], [data-page="profile"], [data-page="bank"]) main { padding: 16px 14px; }
    body.landlord-dashboard-shell:is([data-page="wallet"], [data-page="investments"], [data-page="earnings"], [data-page="history"], [data-page="property"], [data-page="referral"], [data-page="profile"], [data-page="bank"]) .topbar { height: 62px; min-height: 62px; padding: 0 14px; gap: 10px; }
    body.landlord-dashboard-shell:is([data-page="wallet"], [data-page="investments"], [data-page="earnings"], [data-page="history"], [data-page="property"], [data-page="referral"], [data-page="profile"], [data-page="bank"]) .topbar .icon-button { min-width: 40px; min-height: 44px; }
    body.landlord-dashboard-shell:is([data-page="wallet"], [data-page="investments"], [data-page="earnings"], [data-page="history"], [data-page="property"], [data-page="referral"], [data-page="profile"], [data-page="bank"]) .topbar .user-button { min-height: 44px; }
    body.landlord-dashboard-shell:is([data-page="wallet"], [data-page="investments"], [data-page="earnings"], [data-page="history"], [data-page="property"], [data-page="referral"], [data-page="profile"], [data-page="bank"]) .breadcrumb { font-size: 11px; }
    body.landlord-dashboard-shell:is([data-page="wallet"], [data-page="investments"], [data-page="earnings"], [data-page="history"], [data-page="property"], [data-page="referral"], [data-page="profile"], [data-page="bank"]) .shell-environment { display: none; }
    .landlord-dashboard-modern .ld-hero { padding: 16px 16px; border-radius: 14px; margin-bottom: 16px; gap: 12px; }
    .landlord-dashboard-modern .ld-hero h1 { font-size: 19px; }
    .landlord-dashboard-modern .ld-hero p { font-size: 11.5px; }
    .landlord-dashboard-modern .ld-hero-bar { flex-direction: column; align-items: stretch; gap: 10px; }
    .landlord-dashboard-modern .ld-hero-metrics {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        padding: 8px 10px;
        gap: 8px;
    }
    .landlord-dashboard-modern .ld-hero-metrics:where(:has(> :nth-child(2):last-child)) {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .landlord-dashboard-modern .ld-hero-stat { min-width: 0; padding: 0 6px; }
    .landlord-dashboard-modern .ld-hero-stat dd { font-size: 12px; white-space: normal; overflow-wrap: anywhere; }
    .landlord-dashboard-modern .ld-hero-stat small { display: none; }
    .landlord-dashboard-modern .ld-hero-actions .button { min-height: 44px; flex: 1; }
    .landlord-dashboard-modern .ld-section-heading { flex-direction: column; align-items: flex-start; gap: 6px; }
    body.landlord-dashboard-shell[data-page="wallet"] .landlord-dashboard-modern .flow-accounts { grid-template-columns: minmax(0, 1fr); gap: 12px; margin-bottom: 16px; }
    body.landlord-dashboard-shell[data-page="wallet"] .landlord-dashboard-modern .flow-card { height: auto; min-height: 205px; }
    body.landlord-dashboard-shell[data-page="wallet"] .landlord-dashboard-modern .flow-accounts .flow-card .flow-card-body { padding: 18px !important; min-height: 205px; }
    body.landlord-dashboard-shell[data-page="wallet"] .landlord-dashboard-modern .flow-accounts .flow-card .flow-value { font-size: 26px; margin-top: 10px; }
    body.landlord-dashboard-shell[data-page="wallet"] .landlord-dashboard-modern .flow-accounts .flow-card .flow-card-actions { padding-top: 12px; }
    body.landlord-dashboard-shell[data-page="wallet"] .landlord-dashboard-modern .flow-accounts .flow-card .flow-card-actions .button { min-height: 44px; }
    body.landlord-dashboard-shell[data-page="wallet"] .landlord-dashboard-modern .flow-quick { padding: 16px; border-radius: 14px; margin-bottom: 16px; }
    .landlord-dashboard-modern .dashboard-actions { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
    body.landlord-dashboard-shell[data-page="wallet"] .landlord-dashboard-modern .dashboard-actions .action-pill { min-height: 80px; padding: 8px 5px; }
    body.landlord-dashboard-shell[data-page="wallet"] .landlord-dashboard-modern .dashboard-actions .action-pill b { font-size: 10.5px; }
    body.landlord-dashboard-shell[data-page="wallet"] .landlord-dashboard-modern .dashboard-actions .action-pill small { display: none; }
    .landlord-dashboard-modern .ld-detail-grid { gap: 16px; margin-bottom: 16px; }
    body.landlord-dashboard-shell[data-page="wallet"] .landlord-dashboard-modern :is(.ld-panel,.wallet-overview,.fintech-growth) { padding: 18px; border-radius: 14px; }
    .landlord-dashboard-modern .ld-panel-heading { align-items: flex-start; flex-wrap: wrap; gap: 6px; }
    .landlord-dashboard-modern .ld-panel-heading h2 { font-size: 16px; }
    .landlord-dashboard-modern .ld-panel .card-link,
    .landlord-dashboard-modern .ld-property-manage { min-height: 44px; }
    .landlord-dashboard-modern .ld-property-kind { display: none; }
    .landlord-dashboard-modern .ld-property-item { grid-template-columns: 36px minmax(0, 1fr) 15px; gap: 10px; }
    .landlord-dashboard-modern .ld-property-item > svg { grid-column: 3; }
    .landlord-dashboard-modern .ld-property-icon { width: 36px; height: 36px; }
    .landlord-dashboard-modern .ld-activity .activity-row { grid-template-columns: 34px minmax(0, 1fr) auto; gap: 9px; }
    .landlord-dashboard-modern .ld-activity .transaction-status { display: none; }
    .landlord-dashboard-modern .ld-activity .activity-copy b { font-size: 11px; }
    .landlord-dashboard-modern .ld-activity .transaction-amount { font-size: 11.5px; }
    body.landlord-dashboard-shell[data-page="wallet"] .landlord-dashboard-modern .fintech-analytics { gap: 16px; }
    body.landlord-dashboard-shell[data-page="wallet"] .landlord-dashboard-modern .overview-layout { grid-template-columns: minmax(0, 1fr); gap: 10px; padding-top: 10px; }
    body.landlord-dashboard-shell[data-page="wallet"] .landlord-dashboard-modern .overview-stage { height: 225px; }
    body.landlord-dashboard-shell[data-page="wallet"] .landlord-dashboard-modern .overview-tilt { width: 225px; max-width: 100%; }
    body.landlord-dashboard-shell[data-page="wallet"] .landlord-dashboard-modern .overview-center strong { font-size: 13.5px; }
    body.landlord-dashboard-shell[data-page="wallet"] .landlord-dashboard-modern .overview-legend-row { padding: 11px 15px; min-height: 54px; }
    body.landlord-dashboard-shell[data-page="wallet"] .landlord-dashboard-modern .fintech-growth header { gap: 8px; }
    body.landlord-dashboard-shell[data-page="wallet"] .landlord-dashboard-modern .fintech-growth h2 { font-size: 16px; }
    body.landlord-dashboard-shell[data-page="wallet"] .landlord-dashboard-modern .fintech-period select { min-height: 44px; }
    body.landlord-dashboard-shell[data-page="wallet"] .landlord-dashboard-modern .fintech-growth-chart { height: 170px; }
    .landlord-dashboard-modern .ld-footer-note { font-size: 10px; margin-top: 14px; }
}
@media (max-width: 480px) {
    body.landlord-dashboard-shell:is([data-page="wallet"], [data-page="investments"], [data-page="earnings"], [data-page="history"], [data-page="property"], [data-page="referral"], [data-page="profile"], [data-page="bank"]) main { padding: 14px 12px; }
    body.landlord-dashboard-shell:is([data-page="wallet"], [data-page="investments"], [data-page="earnings"], [data-page="history"], [data-page="property"], [data-page="referral"], [data-page="profile"], [data-page="bank"]) .topbar { padding-inline: 12px; gap: 7px; }
    body.landlord-dashboard-shell:is([data-page="wallet"], [data-page="investments"], [data-page="earnings"], [data-page="history"], [data-page="property"], [data-page="referral"], [data-page="profile"], [data-page="bank"]) .breadcrumb { font-size: 10px; }
    body.landlord-dashboard-shell:is([data-page="wallet"], [data-page="investments"], [data-page="earnings"], [data-page="history"], [data-page="property"], [data-page="referral"], [data-page="profile"], [data-page="bank"]) .breadcrumb > span { padding-inline: 6px; }
    .landlord-dashboard-modern .ld-hero { padding: 14px 14px; }
    .landlord-dashboard-modern .ld-hero h1 { font-size: 17.5px; }
    .landlord-dashboard-modern .ld-hero .eyebrow { font-size: 8.5px; letter-spacing: 1.1px; }
    .landlord-dashboard-modern .ld-hero-metrics { grid-template-columns: minmax(0, 1fr); gap: 6px; }
    .landlord-dashboard-modern .ld-hero-stat {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding: 4px 2px;
    }
    .landlord-dashboard-modern .ld-hero-stat + .ld-hero-stat {
        border-left: 0;
        border-top: 1px solid #163f70;
        padding-top: 6px;
    }
    .landlord-dashboard-modern .ld-hero-actions { width: 100%; gap: 8px; }
    .landlord-dashboard-modern .ld-hero-actions .button { flex: 1; padding-inline: 10px; font-size: 11px; }
    .landlord-dashboard-modern .ld-section-heading h2 { font-size: 16.5px; }
    .landlord-dashboard-modern .ld-section-heading p { font-size: 10.5px; }
    body.landlord-dashboard-shell[data-page="wallet"] .landlord-dashboard-modern :is(.ld-panel,.wallet-overview,.fintech-growth) { padding: 16px 14px; }
    body.landlord-dashboard-shell[data-page="wallet"] .landlord-dashboard-modern .flow-quick { padding: 16px 14px; }
    body.landlord-dashboard-shell[data-page="wallet"] .landlord-dashboard-modern .overview-legend-row { padding: 11px 14px; gap: 10px; }
    .landlord-dashboard-modern .ld-activity .record-reference { display: none; }
    .landlord-dashboard-modern .ld-activity .activity-copy small { font-size: 9.5px; }
    .landlord-dashboard-modern .ld-activity .transaction-amount { font-size: 10.5px; }
    body.landlord-dashboard-shell[data-page="wallet"] .landlord-dashboard-modern .overview-center strong { font-size: 13px; }
    body.landlord-dashboard-shell[data-page="wallet"] .landlord-dashboard-modern .fintech-growth-content { min-height: 235px; }
    body.landlord-dashboard-shell[data-page="wallet"] .landlord-dashboard-modern .fintech-growth-summary { padding: 9px 14px; }
    body.landlord-dashboard-shell[data-page="wallet"] .landlord-dashboard-modern .fintech-growth-summary strong { font-size: 17px; }
}
@media (max-width: 350px) {
    .landlord-dashboard-modern .ld-hero { padding-inline: 12px; }
    .landlord-dashboard-modern .ld-hero h1 { font-size: 16.5px; }
    .landlord-dashboard-modern .ld-hero-actions { flex-direction: column; align-items: stretch; }
    .landlord-dashboard-modern .ld-hero-actions .button { flex: auto; }
    .landlord-dashboard-modern .dashboard-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .landlord-dashboard-modern .ld-property-copy strong { font-size: 11px; }
    .landlord-dashboard-modern .ld-property-copy small { font-size: 9.5px; }
    .landlord-dashboard-modern .ld-property-summary { flex-wrap: wrap; gap: 4px 6px; }
    .landlord-dashboard-shell[data-page="wallet"] .landlord-dashboard-modern .ld-property-summary small { flex-basis: 100%; margin-left: 0; }
    .landlord-dashboard-modern .ld-activity .activity-row { grid-template-columns: 28px minmax(0, 1fr); gap: 8px; }
    .landlord-dashboard-modern .ld-activity .transaction-icon { width: 28px; height: 30px; }
    .landlord-dashboard-modern .ld-activity .transaction-amount { grid-column: 2; margin-top: -3px; }
    body.landlord-dashboard-shell[data-page="wallet"] .landlord-dashboard-modern .overview-stage { height: 210px; }
    body.landlord-dashboard-shell[data-page="wallet"] .landlord-dashboard-modern .overview-tilt { width: 205px; max-width: 100%; }
    body.landlord-dashboard-shell[data-page="wallet"] .landlord-dashboard-modern .overview-center strong { font-size: 12px; }
    body.landlord-dashboard-shell[data-page="wallet"] .landlord-dashboard-modern .overview-legend-row { padding: 10px 12px; gap: 9px; }
    body.landlord-dashboard-shell[data-page="wallet"] .landlord-dashboard-modern .overview-legend-row > span:nth-child(2) > small { display: none; }
    body.landlord-dashboard-shell[data-page="wallet"] .landlord-dashboard-modern .fintech-period { margin-left: 0; }
}

/* ==========================================================================
   Landlord Deposit / Investment Workspace (`body[data-page="investments"]`)
   Samruddhi brand palette; preserves all API values, forms and DOM contracts.
   ========================================================================== */
body.landlord-dashboard-shell[data-page="investments"] {
    color: #091a3a;
}
body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern {
    max-width: 1540px;
    min-width: 0;
    margin: 0 auto;
    gap: 16px;
    color: #091a3a;
}

/* 1. Compact Samruddhi Deep-Navy Workspace Header (no 3D cartoon clipart) */
body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern .customer-reference-banner {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px 24px;
    padding: 16px 22px;
    border: 1px solid #113d73;
    border-radius: 16px;
    background: radial-gradient(90% 140% at 100% 0%, #05d3f11f 0%, transparent 56%), linear-gradient(125deg, #010e30 0%, #002052 62%, #02173a 100%);
    color: #ffffff;
    box-shadow: 0 8px 22px #02133812, inset 0 1px 0 #ffffff14;
}
body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern .customer-reference-banner::before,
body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern .customer-reference-banner::after,
body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern .reference-banner-art {
    display: none !important;
}
body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern .reference-banner-copy {
    max-width: none;
    min-width: 0;
    flex: 1 1 320px;
}
body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern .ld-hero-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 4px;
}
body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern .customer-reference-banner .eyebrow {
    display: inline-flex;
    align-items: center;
    color: #16e4ff;
    font-size: 9.5px;
    line-height: 1.3;
    font-weight: 750;
    letter-spacing: 1.4px;
    text-transform: uppercase;
}
body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern .ld-hero-status {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 2px 8px;
    border-radius: 999px;
    border: 1px solid #155e75;
    background: #04354c99;
    color: #9ef3e6;
    font-size: 10px;
    font-weight: 600;
    line-height: 1.35;
}
body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern .ld-hero-status[data-status="pending"] {
    border-color: #7c5816;
    background: #46300899;
    color: #ffd98a;
}
body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern .ld-status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #19e6c1;
    box-shadow: 0 0 6px #19e6c1;
}
body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern .ld-hero-status[data-status="pending"] .ld-status-dot {
    background: #fbbf24;
    box-shadow: 0 0 6px #fbbf24;
}
body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern .reference-banner-copy h1 {
    margin: 0 0 3px;
    color: #f8fbff;
    font-size: clamp(18px, 1.45vw, 22px);
    line-height: 1.25;
    letter-spacing: -.5px;
    font-weight: 730;
}
body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern .reference-banner-copy em {
    font-style: normal;
    color: #05d3f1;
}
body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern .reference-banner-copy p {
    margin: 0;
    color: #b8ceea;
    font-size: 12px;
    line-height: 1.45;
}
body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern .ld-hero-bar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px 18px;
    margin-left: auto;
}
body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern .ld-hero-metrics {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0;
    margin: 0;
    padding: 6px 14px;
    border: 1px solid #164378;
    border-radius: 12px;
    background: #041d44b3;
}
body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern .ld-hero-stat {
    display: flex;
    flex-direction: column;
    gap: 1px;
    padding: 2px 14px;
    min-width: 108px;
}
body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern .ld-hero-stat:first-child { padding-left: 2px; }
body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern .ld-hero-stat:last-child { padding-right: 2px; }
body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern .ld-hero-stat + .ld-hero-stat {
    border-left: 1px solid #163f70;
}
body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern .ld-hero-stat dt {
    color: #8ab0dc;
    font-size: 9.5px;
    font-weight: 650;
    letter-spacing: .4px;
    text-transform: uppercase;
    line-height: 1.3;
}
body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern .ld-hero-stat dd {
    margin: 0;
    color: #ffffff;
    font-size: 13px;
    font-weight: 720;
    letter-spacing: -.2px;
    font-variant-numeric: tabular-nums;
    line-height: 1.35;
    white-space: nowrap;
}
body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern .ld-hero-stat small {
    color: #88add8;
    font-size: 9.5px;
    line-height: 1.3;
    white-space: nowrap;
}
body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern .ld-hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}
body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern .ld-hero-actions .button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 40px;
    padding: 8px 14px;
    border-radius: 10px;
    background: #072856bf;
    border: 1px solid #25578f;
    color: #eaf3ff;
    font-size: 12px;
    font-weight: 650;
    white-space: nowrap;
    box-shadow: none;
    transition: background .15s ease, border-color .15s ease;
}
body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern .ld-hero-actions .button:hover {
    background: #0c356ed9;
    border-color: #4a85c5;
}
body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern .ld-hero-actions .button.primary {
    background: linear-gradient(110deg, #075fff, #0042f5);
    color: #ffffff;
    border: 1px solid #3d84ff;
    box-shadow: 0 4px 12px #075fff30, inset 0 1px 0 #ffffff26;
}
body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern .ld-hero-actions .button.primary:hover {
    background: linear-gradient(110deg, #1668ff, #0549ff);
    border-color: #5b98ff;
}
body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern .ld-hero-actions svg {
    width: 15px;
    height: 15px;
}

/* 2. Portfolio Summary Metric Cards (Samruddhi Brand Palette) */
body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern .metric-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin: 0;
}
body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern .metric-card {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    min-height: 98px;
    padding: 16px 18px;
    gap: 14px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    border: 1px solid #bfd7fa;
    background: linear-gradient(155deg, #ffffff 0%, #f3f8ff 56%, #e5f0ff 100%);
    box-shadow: 0 6px 18px #0728630a;
    transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern .metric-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 3.5px;
    background: linear-gradient(90deg, #021b4a 0%, #075fff 58%, #05c7e8 100%);
    pointer-events: none;
}
body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern .metric-card:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 22px #07286312;
}
body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern .metric-card > div {
    min-width: 0;
    flex: 1;
}
body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern .metric-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #03225c, #075fff);
    color: #ffffff;
    box-shadow: 0 5px 12px #075fff24;
}
body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern .metric-icon svg {
    width: 21px;
    height: 21px;
}
body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern .metric-label {
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: .45px;
    text-transform: uppercase;
    color: #36537f;
    margin-bottom: 2px;
}
body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern .metric-value {
    font-size: clamp(20px, 1.6vw, 26px);
    line-height: 1.2;
    letter-spacing: -.65px;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    color: #061a3e;
    overflow-wrap: anywhere;
}
body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern .metric-note {
    font-size: 11px;
    font-weight: 500;
    color: #4d6891;
    line-height: 1.35;
    margin-top: 3px;
}

/* Metric Card 1: Flagship Deep-Navy-to-Cobalt Anchor (Invested principal) */
body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern .metric-card:nth-child(1) {
    border-color: #0d4599;
    background: radial-gradient(110% 130% at 100% 0%, #05d3f128 0%, transparent 58%), linear-gradient(132deg, #011339 0%, #052c6e 56%, #0752d4 100%);
    box-shadow: 0 10px 24px #031c4f1c, inset 0 1px 0 #ffffff1c;
}
body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern .metric-card:nth-child(1)::before {
    background: linear-gradient(90deg, #05d3f1 0%, #38bdf8 50%, #075fff 100%);
}
body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern .metric-card:nth-child(1) .metric-icon {
    background: linear-gradient(145deg, #05d3f12b, #075fff3b);
    border: 1px solid #3ce6ff52;
    color: #67f0ff;
    box-shadow: inset 0 1px 0 #ffffff24;
}
body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern .metric-card:nth-child(1) .metric-label {
    color: #9ec8ff;
}
body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern .metric-card:nth-child(1) .metric-value {
    color: #ffffff;
}
body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern .metric-card:nth-child(1) .metric-note {
    color: #c2dcff;
}

/* Metric Card 2: Samruddhi Royal Blue (Active investments) */
body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern .metric-card:nth-child(2) {
    border-color: #bfd7fa;
    background: linear-gradient(155deg, #ffffff 0%, #f3f8ff 56%, #e6f0ff 100%);
}
body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern .metric-card:nth-child(2)::before {
    background: linear-gradient(90deg, #021b4a 0%, #075fff 60%, #05b6eb 100%);
}
body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern .metric-card:nth-child(2) .metric-icon {
    background: linear-gradient(135deg, #03225c, #075fff);
    color: #ffffff;
}

/* Metric Card 3: Samruddhi Cyan-Teal (Available ROI) */
body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern .metric-card:nth-child(3) {
    border-color: #b2e2ec;
    background: linear-gradient(155deg, #ffffff 0%, #f0fbfd 56%, #dff5f9 100%);
}
body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern .metric-card:nth-child(3)::before {
    background: linear-gradient(90deg, #0891b2 0%, #05c7e8 55%, #0e9f6e 100%);
}
body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern .metric-card:nth-child(3) .metric-icon {
    background: linear-gradient(135deg, #065569, #0891b2 55%, #06b6d4);
    color: #ffffff;
    box-shadow: 0 5px 12px #0891b226;
}
body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern .metric-card:nth-child(3) .metric-label {
    color: #23586a;
}
body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern .metric-card:nth-child(3) .metric-value {
    color: #06273c;
}
body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern .metric-card:nth-child(3) .metric-note {
    color: #3b6978;
}

/* Metric Card 4: Samruddhi Cobalt-Slate (Nearest maturity) */
body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern .metric-card:nth-child(4) {
    border-color: #c3daf7;
    background: linear-gradient(155deg, #ffffff 0%, #f5f9ff 58%, #e9f2fe 100%);
}
body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern .metric-card:nth-child(4)::before {
    background: linear-gradient(90deg, #063175 0%, #0077cc 58%, #05d3f1 100%);
}
body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern .metric-card:nth-child(4) .metric-icon {
    background: linear-gradient(135deg, #02163b, #063782);
    color: #52e9ff;
    box-shadow: 0 5px 12px #02163b22;
}
body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern .metric-card:nth-child(4) .metric-value {
    font-size: clamp(18px, 1.4vw, 23px);
    color: #081d42;
}

/* 3. Segmented Action Tab Bar (Invest / Withdraw / Redeem) */
body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern .tabs {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    max-width: 100%;
    gap: 4px;
    padding: 4px;
    border-radius: 12px;
    background: #e4effd;
    border: 1px solid #c3daf7;
    box-shadow: inset 0 1px 2px #0720500a;
}
body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern .tabs button {
    min-height: 36px;
    padding: 8px 22px;
    border-radius: 9px;
    border: 1px solid transparent;
    background: transparent;
    color: #294875;
    font-size: 12.5px;
    font-weight: 660;
    transition: background .15s ease, color .15s ease, box-shadow .15s ease;
}
body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern .tabs button:hover:not(.active) {
    background: #ffffff99;
    color: #071c42;
}
body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern .tabs button.active {
    background: linear-gradient(115deg, #021d52 0%, #053b8e 46%, #075fff 100%);
    border-color: #1d6bff;
    color: #ffffff;
    box-shadow: 0 4px 12px #075fff2b, inset 0 1px 0 #ffffff26;
}

/* 4. Two-Column Workspace, Cards & Widgets */
body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern .two-column,
body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern .portfolio-overview {
    display: grid;
    grid-template-columns: minmax(0, 1.32fr) minmax(0, 1fr);
    gap: 16px;
    align-items: stretch;
}
body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern .card.panel:not(.activation-details),
body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern .dashboard-widget {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 18px 20px;
    border: 1px solid #c3daf7;
    border-radius: 16px;
    background: linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
    box-shadow: 0 8px 22px #0723570a;
}
body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern .card.panel:not(.activation-details)::before,
body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern .dashboard-widget::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 3.5px;
    background: linear-gradient(90deg, #021b4a 0%, #075fff 55%, #05d3f1 100%);
    pointer-events: none;
}
body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern .plan-summary-card::before,
body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern .portfolio-overview .dashboard-widget:last-child::before {
    background: linear-gradient(90deg, #063175 0%, #0891b2 55%, #05d3f1 100%);
}
body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern .section-heading,
body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern .widget-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e3eefc;
}
body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern .ldi-heading-lead {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}
body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern .ldi-title-stack {
    min-width: 0;
    display: grid;
    gap: 2px;
}
body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern .ldi-title-stack .eyebrow {
    display: block !important;
    color: #075fff;
    font-size: 9.5px;
    font-weight: 760;
    letter-spacing: 1.25px;
    text-transform: uppercase;
    line-height: 1.25;
}
body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern .plan-summary-card .ldi-title-stack .eyebrow,
body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern .portfolio-overview .dashboard-widget:last-child .ldi-title-stack .eyebrow {
    color: #06789c;
}
body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern .section-heading h3,
body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern .widget-heading h2 {
    font-size: 16px;
    font-weight: 740;
    letter-spacing: -.3px;
    color: #071a3c;
    margin: 0;
    line-height: 1.25;
}
body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern .investment-heading-icon {
    width: 38px;
    height: 38px;
    border-radius: 11px;
    display: inline-grid;
    place-items: center;
    flex-shrink: 0;
    background: linear-gradient(135deg, #021b4a 0%, #063b8e 55%, #075fff 100%);
    color: #62eeff;
    border: 1px solid #2b75ff40;
    box-shadow: 0 4px 10px #075fff20;
}
body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern .plan-summary-card .investment-heading-icon,
body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern .portfolio-overview .dashboard-widget:last-child .investment-heading-icon {
    background: linear-gradient(135deg, #043e52 0%, #0891b2 65%, #06b6d4 100%);
    color: #e8fcff;
    border-color: #22d3ee45;
    box-shadow: 0 4px 10px #0891b224;
}
body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern .investment-heading-icon svg {
    width: 19px;
    height: 19px;
}
body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern .widget-tag {
    display: inline-flex !important;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    background: #edf5ff;
    border: 1px solid #cadef8;
    color: #264a7d;
    font-size: 10.5px;
    font-weight: 650;
    white-space: nowrap;
}

/* 5. Workflow Stepper, Source Cards & Form Controls */
body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern .workspace-steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px 12px;
    margin: 0 0 15px;
    padding: 9px 13px;
    border-radius: 11px;
    background: #f0f6ff;
    border: 1px solid #d4e4fb;
    font-size: 11px;
}
@media (max-width: 600px) {
    body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern .workspace-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern .workspace-steps li {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #3d5984;
    font-weight: 600;
}
body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern .workspace-steps li span {
    width: 20px;
    height: 20px;
    border-radius: 6px;
    display: inline-grid;
    place-items: center;
    background: #dceaff;
    border: 1px solid #bdd6fa;
    color: #083b8a;
    font-size: 10.5px;
    font-weight: 750;
}
body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern .workspace-steps li:first-child {
    color: #071c42;
    font-weight: 700;
}
body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern .workspace-steps li:first-child span {
    background: linear-gradient(135deg, #03225c, #075fff);
    border-color: #075fff;
    color: #ffffff;
    box-shadow: 0 2px 6px #075fff2e;
}

body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern .source-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 14px;
}
body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern .source-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 13px;
    border: 1.5px solid #c9def8;
    background: #ffffff;
    color: #091d42;
    text-align: left;
    min-width: 0;
    position: relative;
    box-shadow: 0 2px 6px #07235706;
    transition: border-color .16s ease, background .16s ease, box-shadow .16s ease;
}
body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern .source-option:hover {
    border-color: #7eb0fa;
    background: #f7faff;
}
body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern .source-option > svg {
    width: 36px;
    height: 36px;
    padding: 7px;
    box-sizing: border-box;
    border-radius: 10px;
    background: #edf4ff;
    border: 1px solid #d0e2fb;
    color: #0643a8;
    flex-shrink: 0;
}
body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern .source-option b {
    display: block;
    font-size: 13px;
    font-weight: 720;
    color: #071b40;
}
body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern .source-option small {
    display: block;
    font-size: 11px;
    line-height: 1.38;
    color: #4f6a92;
    margin-top: 1px;
}
body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern .source-option.active {
    border-color: #075fff;
    background: linear-gradient(135deg, #eef5ff 0%, #e3effe 100%);
    box-shadow: 0 6px 16px #075fff14, inset 0 0 0 1px #075fff;
}
body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern .source-option.active > svg {
    background: linear-gradient(135deg, #021d52, #075fff);
    border-color: #075fff;
    color: #62eeff;
}
body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern .source-option.active::after {
    content: "✓";
    margin-left: auto;
    display: grid;
    place-items: center;
    min-width: 21px;
    width: 21px;
    height: 21px;
    border-radius: 50%;
    background: linear-gradient(135deg, #075fff, #0042f5);
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    box-shadow: 0 3px 8px #075fff33;
}

body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern .form-grid {
    gap: 14px;
}
body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern label {
    font-size: 11.5px;
    font-weight: 680;
    color: #0b2149;
}
body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern :is(input, select) {
    width: 100%;
    min-width: 0;
    min-height: 42px;
    padding: 9px 13px;
    border-radius: 10px;
    border: 1.5px solid #c3daf7;
    background: #fbfdff;
    color: #081c40;
    font-size: 13px;
    font-weight: 560;
    font-variant-numeric: tabular-nums;
    transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern :is(input, select):focus {
    border-color: #075fff;
    background: #ffffff;
    box-shadow: 0 0 0 3.5px #075fff1a;
    outline: none;
}
body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern .field-note {
    margin: 12px 0;
    padding: 10px 13px;
    border-radius: 10px;
    background: #eef5ff;
    border: 1px solid #cde0fa;
    border-left: 3.5px solid #075fff;
    color: #244370;
    font-size: 11.5px;
    line-height: 1.48;
}
body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern .field-note strong {
    color: #061c44;
    font-weight: 760;
    font-variant-numeric: tabular-nums;
}
body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern #investment-panel .two-column > .card.panel {
    display: flex;
    flex-direction: column;
}
body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern #investment-panel form {
    display: flex;
    flex-direction: column;
    flex: 1;
}
body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern .form-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
    padding-top: 10px;
}
body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern .form-footer:has(> :only-child) {
    justify-content: flex-end;
}
body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern :is(#investment-panel, .empty-state) .button.primary {
    min-height: 42px;
    padding: 10px 20px;
    border-radius: 11px;
    border: 1px solid #1968ff;
    background: linear-gradient(115deg, #021d52 0%, #053b8e 45%, #075fff 100%);
    color: #ffffff;
    font-size: 12.5px;
    font-weight: 680;
    box-shadow: 0 6px 16px #075fff2b, inset 0 1px 0 #ffffff26;
    transition: transform .15s ease, box-shadow .15s ease, opacity .15s ease;
}
body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern :is(#investment-panel, .empty-state) .button.primary:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 8px 18px #075fff38, inset 0 1px 0 #ffffff33;
}
body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern :is(#investment-panel, .empty-state) .button.primary:disabled {
    opacity: .56;
    box-shadow: none;
    cursor: not-allowed;
}

/* 6. Plan Summary & Redemption Summary (Crystal-aligned, zero purple circle overlap) */
body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern .plan-summary-card {
    height: 100%;
    display: flex;
    flex-direction: column;
}
body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern #plan-summary {
    position: relative;
    padding-right: 0;
    display: grid;
    gap: 11px;
    flex: 1;
    align-content: start;
}
body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern .reference-plan-rate {
    position: relative;
    top: auto;
    right: auto;
    width: 100%;
    height: auto;
    margin: 0;
    padding: 11px 16px;
    border-radius: 12px;
    border: 1px solid #0e4391;
    background: radial-gradient(95% 150% at 100% 0%, #05d3f12b 0%, transparent 60%), linear-gradient(125deg, #02163b 0%, #06327a 60%, #0756d8 100%);
    box-shadow: 0 5px 14px #031d4e16, inset 0 1px 0 #ffffff1a;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern .reference-plan-rate strong {
    font-size: 23px;
    font-weight: 820;
    letter-spacing: -.6px;
    line-height: 1.1;
    color: #ffffff;
    font-variant-numeric: tabular-nums;
}
body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern .reference-plan-rate small {
    padding: 4px 10px;
    border-radius: 999px;
    background: #05d3f124;
    border: 1px solid #48eaff4d;
    color: #8af3ff;
    font-size: 10.5px;
    font-weight: 680;
    letter-spacing: .2px;
}
body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern .term-list {
    padding: 2px 14px;
    border-radius: 12px;
    border: 1px solid #d4e4fb;
    background: #f8fbff;
}
body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern .term-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-block: 9px;
    font-size: 11.5px;
    color: #46618a;
    border-bottom: 1px solid #e4effc;
}
body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern .term-row:last-child {
    border-bottom: 0;
}
body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern .term-row strong {
    color: #071b40;
    font-weight: 720;
    font-variant-numeric: tabular-nums;
    text-align: right;
}
body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern .estimate-box {
    width: 100%;
    margin-top: 0;
    padding: 13px 15px;
    border-radius: 12px;
    background: linear-gradient(135deg, #eef6ff 0%, #e3f4fa 100%);
    border: 1px solid #b6d8f7;
    border-left: 4px solid #0597d5;
}
body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern .estimate-box .eyebrow {
    display: block;
    color: #046c9e;
    font-size: 9.5px;
    font-weight: 780;
    letter-spacing: 1.1px;
    text-transform: uppercase;
    margin-bottom: 4px;
}
body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern .estimate-amount {
    display: block;
    color: #03225c;
    font-size: 22px;
    font-weight: 820;
    letter-spacing: -.5px;
    line-height: 1.2;
    font-variant-numeric: tabular-nums;
}
body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern .estimate-box .subtle-note {
    color: #3a5982;
    font-size: 10.5px;
    line-height: 1.45;
    margin: 5px 0 0;
}
body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern #plan-summary > .subtle-note,
body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern #redemption-summary > .subtle-note {
    width: 100%;
    color: #506b91;
    font-size: 10.5px;
    line-height: 1.48;
    margin: 2px 0 0;
}

body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern #redemption-summary {
    display: grid;
    gap: 12px;
}
body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern #redemption-summary .detail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}
body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern #redemption-summary .detail-item {
    padding: 9px 12px;
    border-radius: 10px;
    background: #f7faff;
    border: 1px solid #d5e5fb;
}
body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern #redemption-summary .detail-item small {
    display: block;
    color: #4b668f;
    font-size: 10px;
    font-weight: 640;
    margin-bottom: 2px;
}
body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern #redemption-summary .detail-item b {
    display: block;
    color: #071c42;
    font-size: 12.5px;
    font-weight: 740;
    font-variant-numeric: tabular-nums;
}
body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern #redemption-summary .estimate-box .term-row {
    border-bottom-color: #cbe2f7;
    color: #2c4e7a;
}
body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern #redemption-net {
    color: #075fff;
    font-size: 14px;
    font-weight: 800;
}

/* 7. Lower Portfolio Positions, Allocation Ring, Tables & Accordions */
body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern .position-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
}
body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern .position-tile {
    padding: 14px 16px;
    border-radius: 13px;
    border: 1px solid #cfe1fa;
    background: #f9fbff;
    box-shadow: 0 3px 10px #061f5206;
}
body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern .investment-position-row {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(96px, auto) auto;
    align-items: center;
    gap: 14px;
}
body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern .investment-position-symbol {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: linear-gradient(135deg, #e7f1ff, #d3e5ff);
    border: 1px solid #b8d3fa;
    color: #075fff;
}
body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern .investment-position-identity {
    padding-left: 48px;
    min-width: 0;
}
body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern .investment-position-identity .eyebrow {
    color: #0648c2;
    font-size: 9.5px;
    font-weight: 760;
    letter-spacing: .8px;
    margin-right: 6px;
}
body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern .investment-position-identity p {
    color: #4b668f;
    font-size: 11px;
    margin: 3px 0 0;
}
body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern .investment-position-row h3 {
    color: #061a3e;
    font-size: 16px;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    text-align: right;
    margin: 0;
}
body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern .investment-position-row h3 small {
    color: #526c93;
    font-size: 10px;
    font-weight: 560;
}
body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern .maturity-track {
    height: 7px;
    margin: 12px 0 8px;
    border-radius: 999px;
    background: #dfeafa;
    overflow: hidden;
}
body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern .maturity-track > span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #075fff 0%, #05c7e8 100%);
}
body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern .position-dates {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-left: 14px;
    border-left: 1px solid #e1ecfb;
    color: #49638b;
    font-size: 10.5px;
}
body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern .position-dates small {
    display: block;
    color: #081d42;
    font-size: 11px;
    font-weight: 680;
    margin: 2px 0 0;
}
body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern [data-select-investment] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 12px;
    border-radius: 8px;
    background: #eef5ff;
    border: 1px solid #c3dcf9;
    color: #0648c2;
    font-size: 11.5px;
    font-weight: 680;
    text-decoration: none;
    transition: background .15s ease, border-color .15s ease, color .15s ease;
}
body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern [data-select-investment]:hover {
    background: #dfecff;
    border-color: #93bef7;
    color: #03225c;
}
body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern [data-select-investment] svg {
    width: 14px;
    height: 14px;
}

body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern .allocation-panel {
    gap: 20px;
    align-items: center;
}
body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern .allocation-ring {
    width: 112px;
    height: 112px;
    flex: 0 0 112px;
    box-shadow: 0 6px 16px #07286314;
}
body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern .allocation-panel:has(.allocation-legend > div:only-child) .allocation-ring {
    background: conic-gradient(#03225c 0% 26%, #075fff 26% 68%, #05c7e8 68% 92%, #03225c 92% 100%) !important;
}
body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern .allocation-ring > div {
    background: #ffffff;
    box-shadow: inset 0 2px 6px #061f520d;
}
body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern .allocation-ring strong {
    color: #071b40;
    font-size: 19px;
    font-weight: 800;
}
body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern .allocation-ring small {
    color: #516b92;
    font-size: 10px;
}
body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern .allocation-legend {
    display: grid;
    gap: 8px;
}
body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern .allocation-legend > div {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 15px;
    border-radius: 11px;
    border: 1px solid #d2e3fa;
    background: #f8fbff;
}
body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern .allocation-legend .legend-dot {
    width: 10px;
    height: 10px;
    min-width: 10px;
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: 0 0 0 3px #075fff1f;
}
body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern .allocation-legend > div:only-child .legend-dot {
    background: #075fff !important;
    box-shadow: 0 0 0 3px #075fff22;
}
body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern .allocation-legend span:not(.legend-dot) {
    min-width: 0;
    color: #081d42;
    font-weight: 660;
}
body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern .allocation-legend span small {
    display: block;
    color: #526c93;
    font-weight: 500;
    margin-top: 2px;
}
body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern .allocation-legend strong {
    margin-left: auto;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 3px;
    text-align: right;
    color: #061a3e;
    font-size: 13px;
    font-weight: 780;
    font-variant-numeric: tabular-nums;
}
body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern .allocation-legend strong small {
    display: inline-block;
    margin-top: 0;
    padding: 1px 7px;
    border-radius: 999px;
    background: #e6f0ff;
    color: #0648c2;
    font-size: 10px;
    font-weight: 700;
}
body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern .widget-footnote {
    color: #526c93;
    font-size: 10.5px;
    margin-top: 10px;
}

body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern .stack.spaced {
    gap: 14px;
}
body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern .table-wrap {
    max-width: 100%;
    overflow-x: auto;
    border-radius: 12px;
    border: 1px solid #d4e4fb;
    background: #ffffff;
}
body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern .data-table {
    width: 100%;
    border-collapse: collapse;
}
body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern .data-table th {
    background: #eaf2ff;
    color: #163666;
    font-size: 10.5px;
    font-weight: 740;
    letter-spacing: .5px;
    text-transform: uppercase;
    padding: 11px 13px;
    border-bottom: 1px solid #cadef8;
}
body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern .data-table td {
    padding: 12px 13px;
    font-size: 12px;
    color: #0b2046;
    border-bottom: 1px solid #e7f0fc;
    font-variant-numeric: tabular-nums;
}
body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern .data-table tbody tr:last-child td {
    border-bottom: 0;
}
body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern .data-table tbody tr:hover td {
    background: #f6faff;
}
body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern .empty-state {
    padding: 18px 16px;
    border-radius: 12px;
    border: 1px dashed #c7dcf8;
    background: #f8fbff;
    color: #4b668f;
}
body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern .empty-state .empty-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: inline-grid;
    place-items: center;
    background: #e6f0ff;
    color: #075fff;
    margin: 0 auto 8px;
}
body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern .empty-state h3 {
    color: #081d42;
    font-size: 14px;
    font-weight: 720;
    justify-content: center;
}
body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern .empty-state p {
    color: #506b91;
    font-size: 11.5px;
}

/* Expandable Accordions: Position register & How activation works */
body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern details.activation-details {
    padding: 13px 18px;
    border-radius: 15px;
    border: 1px solid #c3daf7;
    background: linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
    box-shadow: 0 6px 18px #07235708;
    margin: 0;
}
body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern details.activation-details > summary {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    cursor: pointer;
    color: #071a3c;
}
body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern details.activation-details > summary::-webkit-details-marker {
    display: none;
}
body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern .ldi-summary-lead {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    min-width: 0;
}
body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern .ldi-summary-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: inline-grid;
    place-items: center;
    flex-shrink: 0;
    background: #e8f1ff;
    border: 1px solid #c3dcf9;
    color: #075fff;
}
body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern .ldi-summary-icon svg {
    width: 17px;
    height: 17px;
}
body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern .ldi-summary-copy {
    display: grid;
    gap: 1px;
}
body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern .ldi-summary-copy .eyebrow {
    color: #075fff;
    font-size: 9px;
    font-weight: 760;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}
body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern .ldi-summary-copy strong {
    color: #071a3c;
    font-size: 14.5px;
    font-weight: 730;
}
body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern .ldi-summary-chevron {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    display: inline-grid;
    place-items: center;
    background: #edf5ff;
    border: 1px solid #cadef8;
    color: #1f4882;
    transition: transform .18s ease, background .15s ease;
}
body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern .ldi-summary-chevron svg {
    width: 15px;
    height: 15px;
}
body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern details.activation-details[open] > summary {
    padding-bottom: 12px;
    margin-bottom: 12px;
    border-bottom: 1px solid #e3eefc;
}
body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern details.activation-details[open] .ldi-summary-chevron {
    transform: rotate(180deg);
    background: #dfecff;
    color: #075fff;
}
body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern .step-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}
body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern .step-list .step {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 13px;
    border-radius: 11px;
    border: 1px solid #d5e5fb;
    background: #f8fbff;
    font-size: 12px;
    font-weight: 680;
    color: #081d42;
}
body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern .step-list .step .number {
    width: 24px;
    height: 24px;
    border-radius: 7px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #03225c, #075fff);
    color: #ffffff;
    font-size: 11px;
    font-weight: 760;
}
body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern .step-list .step small {
    display: block;
    margin-top: 3px;
    color: #4d6891;
    font-size: 11px;
    font-weight: 480;
    line-height: 1.42;
}
body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern .reference-investment-explanation > .subtle-note {
    margin: 10px 0 0;
    color: #506b91;
    font-size: 10.5px;
}

/* Responsive Breakpoints for Landlord Deposit / Investment */
@media (max-width: 1400px) {
    body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern .ld-hero-bar {
        width: 100%;
        justify-content: space-between;
        margin-left: 0;
        padding-top: 10px;
        border-top: 1px solid #143b6b;
    }
}
@media (max-width: 1200px) {
    body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern .metric-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern .two-column,
    body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern .portfolio-overview {
        grid-template-columns: minmax(0, 1fr);
    }
    body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern .plan-summary-card {
        height: auto;
    }
    body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern .step-list {
        grid-template-columns: minmax(0, 1fr);
    }
}
@media (max-width: 760px) {
    body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern .customer-reference-banner {
        padding: 16px;
        border-radius: 14px;
        gap: 12px;
    }
    body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern .ld-hero-bar {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }
    body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern .ld-hero-metrics {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        padding: 8px 10px;
        gap: 8px;
    }
    body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern .ld-hero-stat {
        min-width: 0;
        padding: 0 6px;
    }
    body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern .ld-hero-stat dd {
        font-size: 12px;
        white-space: normal;
        overflow-wrap: anywhere;
    }
    body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern .ld-hero-stat small {
        display: none;
    }
    body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern .ld-hero-actions .button {
        min-height: 44px;
        flex: 1;
    }
    body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern .metric-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 10px;
    }
    body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern .metric-card {
        min-height: 84px;
        padding: 14px 16px;
    }
    body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern .tabs {
        display: grid;
        grid-template-columns: 1fr 1fr;
        width: 100%;
    }
    body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern .tabs button {
        min-height: 42px;
        padding-inline: 10px;
    }
    body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern .source-options,
    body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern .form-grid,
    body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern #redemption-summary .detail-grid {
        grid-template-columns: minmax(0, 1fr);
    }
    body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern .card.panel:not(.activation-details),
    body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern .dashboard-widget {
        padding: 16px;
        border-radius: 14px;
    }
    body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern .section-heading,
    body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern .widget-heading {
        flex-wrap: wrap;
        align-items: flex-start;
    }
    body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern .form-footer {
        flex-direction: column;
        align-items: stretch;
    }
    body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern #investment-panel .button.primary {
        width: 100%;
        min-height: 44px;
    }
    body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern .investment-position-row {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 10px 12px;
    }
    body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern .position-dates {
        grid-column: 1 / -1;
        padding-left: 0;
        padding-top: 8px;
        border-left: 0;
        border-top: 1px solid #e1ecfb;
        justify-content: space-between;
    }
    body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern .allocation-panel {
        flex-direction: column;
        align-items: stretch;
    }
    body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern .allocation-ring {
        margin: 0 auto;
    }
}
@media (max-width: 480px) {
    body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern .ld-hero-metrics {
        grid-template-columns: minmax(0, 1fr);
        gap: 6px;
    }
    body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern .ld-hero-stat {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding: 4px 2px;
    }
    body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern .ld-hero-stat + .ld-hero-stat {
        border-left: 0;
        border-top: 1px solid #163f70;
        padding-top: 6px;
    }
    body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern .reference-plan-rate {
        flex-wrap: wrap;
    }
}
@media (max-width: 350px) {
    body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern .ld-hero-actions {
        flex-direction: column;
        align-items: stretch;
    }
    body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern .tabs {
        grid-template-columns: minmax(0, 1fr);
    }
    body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern .investment-position-row {
        grid-template-columns: minmax(0, 1fr);
    }
    body.landlord-dashboard-shell[data-page="investments"] .reference-investments.landlord-investments-modern .investment-position-row h3 {
        text-align: left;
    }
}

/* ==========================================================================
   Landlord Earn Money Workspace (`body[data-page="earnings"]`)
   Samruddhi brand palette; preserves all API values, controls and DOM contracts.
   ========================================================================== */
body.landlord-dashboard-shell[data-page="earnings"] {
    color: #091a3a;
}
body.landlord-dashboard-shell[data-page="earnings"] .reference-earnings.landlord-earnings-modern {
    max-width: 1540px;
    min-width: 0;
    margin: 0 auto;
    gap: 16px;
    color: #091a3a;
}

/* 1. Compact Samruddhi Deep-Navy Workspace Header (no 3D cartoon clipart) */
body.landlord-dashboard-shell[data-page="earnings"] .reference-earnings.landlord-earnings-modern .customer-reference-banner {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px 24px;
    padding: 16px 22px;
    border: 1px solid #113d73;
    border-radius: 16px;
    background: radial-gradient(90% 140% at 100% 0%, #05d3f11f 0%, transparent 56%), linear-gradient(125deg, #010e30 0%, #002052 62%, #02173a 100%);
    color: #ffffff;
    box-shadow: 0 8px 22px #02133812, inset 0 1px 0 #ffffff14;
}
body.landlord-dashboard-shell[data-page="earnings"] .reference-earnings.landlord-earnings-modern .customer-reference-banner::before,
body.landlord-dashboard-shell[data-page="earnings"] .reference-earnings.landlord-earnings-modern .customer-reference-banner::after,
body.landlord-dashboard-shell[data-page="earnings"] .reference-earnings.landlord-earnings-modern .reference-banner-art {
    display: none !important;
}
body.landlord-dashboard-shell[data-page="earnings"] .reference-earnings.landlord-earnings-modern .reference-banner-copy {
    max-width: none;
    min-width: 0;
    flex: 1 1 320px;
}
body.landlord-dashboard-shell[data-page="earnings"] .reference-earnings.landlord-earnings-modern .ld-hero-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 4px;
}
body.landlord-dashboard-shell[data-page="earnings"] .reference-earnings.landlord-earnings-modern .customer-reference-banner .eyebrow {
    display: inline-flex;
    align-items: center;
    color: #16e4ff;
    font-size: 9.5px;
    line-height: 1.3;
    font-weight: 750;
    letter-spacing: 1.4px;
    text-transform: uppercase;
}
body.landlord-dashboard-shell[data-page="earnings"] .reference-earnings.landlord-earnings-modern .ld-hero-status {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 2px 8px;
    border-radius: 999px;
    border: 1px solid #155e75;
    background: #04354c99;
    color: #9ef3e6;
    font-size: 10px;
    font-weight: 600;
    line-height: 1.35;
}
body.landlord-dashboard-shell[data-page="earnings"] .reference-earnings.landlord-earnings-modern .ld-hero-status[data-status="pending"] {
    border-color: #7c5816;
    background: #46300899;
    color: #ffd98a;
}
body.landlord-dashboard-shell[data-page="earnings"] .reference-earnings.landlord-earnings-modern .ld-status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #19e6c1;
    box-shadow: 0 0 6px #19e6c1;
}
body.landlord-dashboard-shell[data-page="earnings"] .reference-earnings.landlord-earnings-modern .ld-hero-status[data-status="pending"] .ld-status-dot {
    background: #fbbf24;
    box-shadow: 0 0 6px #fbbf24;
}
body.landlord-dashboard-shell[data-page="earnings"] .reference-earnings.landlord-earnings-modern .reference-banner-copy h1 {
    margin: 0 0 3px;
    color: #f8fbff;
    font-size: clamp(18px, 1.45vw, 22px);
    line-height: 1.25;
    letter-spacing: -.5px;
    font-weight: 730;
}
body.landlord-dashboard-shell[data-page="earnings"] .reference-earnings.landlord-earnings-modern .reference-banner-copy em {
    font-style: normal;
    color: #05d3f1;
}
body.landlord-dashboard-shell[data-page="earnings"] .reference-earnings.landlord-earnings-modern .reference-banner-copy p {
    margin: 0;
    color: #b8ceea;
    font-size: 12px;
    line-height: 1.45;
}
body.landlord-dashboard-shell[data-page="earnings"] .reference-earnings.landlord-earnings-modern .ld-hero-bar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px 18px;
    margin-left: auto;
}
body.landlord-dashboard-shell[data-page="earnings"] .reference-earnings.landlord-earnings-modern .ld-hero-metrics {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0;
    margin: 0;
    padding: 6px 14px;
    border: 1px solid #164378;
    border-radius: 12px;
    background: #041d44b3;
}
body.landlord-dashboard-shell[data-page="earnings"] .reference-earnings.landlord-earnings-modern .ld-hero-stat {
    display: flex;
    flex-direction: column;
    gap: 1px;
    padding: 2px 14px;
    min-width: 108px;
}
body.landlord-dashboard-shell[data-page="earnings"] .reference-earnings.landlord-earnings-modern .ld-hero-stat:first-child { padding-left: 2px; }
body.landlord-dashboard-shell[data-page="earnings"] .reference-earnings.landlord-earnings-modern .ld-hero-stat:last-child { padding-right: 2px; }
body.landlord-dashboard-shell[data-page="earnings"] .reference-earnings.landlord-earnings-modern .ld-hero-stat + .ld-hero-stat {
    border-left: 1px solid #163f70;
}
body.landlord-dashboard-shell[data-page="earnings"] .reference-earnings.landlord-earnings-modern .ld-hero-stat dt {
    color: #8ab0dc;
    font-size: 9.5px;
    font-weight: 650;
    letter-spacing: .4px;
    text-transform: uppercase;
    line-height: 1.3;
}
body.landlord-dashboard-shell[data-page="earnings"] .reference-earnings.landlord-earnings-modern .ld-hero-stat dd {
    margin: 0;
    color: #ffffff;
    font-size: 13px;
    font-weight: 720;
    letter-spacing: -.2px;
    font-variant-numeric: tabular-nums;
    line-height: 1.35;
    white-space: nowrap;
}
body.landlord-dashboard-shell[data-page="earnings"] .reference-earnings.landlord-earnings-modern .ld-hero-stat small {
    color: #88add8;
    font-size: 9.5px;
    line-height: 1.3;
    white-space: nowrap;
}
body.landlord-dashboard-shell[data-page="earnings"] .reference-earnings.landlord-earnings-modern .ld-hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}
body.landlord-dashboard-shell[data-page="earnings"] .reference-earnings.landlord-earnings-modern .ld-hero-actions .button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 40px;
    padding: 8px 14px;
    border-radius: 10px;
    background: #072856bf;
    border: 1px solid #25578f;
    color: #eaf3ff;
    font-size: 12px;
    font-weight: 650;
    white-space: nowrap;
    box-shadow: none;
    transition: background .15s ease, border-color .15s ease;
}
body.landlord-dashboard-shell[data-page="earnings"] .reference-earnings.landlord-earnings-modern .ld-hero-actions .button:hover {
    background: #0c356ed9;
    border-color: #4a85c5;
    color: #ffffff;
}
body.landlord-dashboard-shell[data-page="earnings"] .reference-earnings.landlord-earnings-modern .ld-hero-actions .button.primary {
    background: linear-gradient(110deg, #075fff, #0042f5);
    border-color: #4389ff;
    color: #ffffff;
    box-shadow: 0 4px 12px #075fff38, inset 0 1px 0 #ffffff29;
}
body.landlord-dashboard-shell[data-page="earnings"] .reference-earnings.landlord-earnings-modern .ld-hero-actions .button.primary:hover {
    background: linear-gradient(110deg, #1b6dff, #074df7);
    border-color: #70a5ff;
}
body.landlord-dashboard-shell[data-page="earnings"] .reference-earnings.landlord-earnings-modern .ld-hero-actions .button svg {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
}

/* 2. Four-Card Samruddhi ROI Overview Strip (zero banner collision, zero 3D clipart) */
body.landlord-dashboard-shell[data-page="earnings"] .reference-earnings.landlord-earnings-modern .earnings-overview {
    margin-top: 0;
    padding: 0;
    display: grid;
    grid-template-columns: minmax(0, 1.32fr) minmax(0, 2.85fr);
    gap: 14px;
    align-items: stretch;
}
body.landlord-dashboard-shell[data-page="earnings"] .reference-earnings.landlord-earnings-modern .roi-feature {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    min-height: 202px;
    height: auto;
    padding: 16px 19px;
    border: 1px solid #164e89;
    border-radius: 16px;
    background: radial-gradient(115% 120% at 100% 0%, #05d3f129 0%, transparent 56%), linear-gradient(138deg, #011338 0%, #032661 56%, #064d7c 100%);
    box-shadow: 0 10px 24px #02163b1c, inset 0 1px 0 #ffffff1a;
    color: #ffffff;
}
body.landlord-dashboard-shell[data-page="earnings"] .reference-earnings.landlord-earnings-modern .roi-feature::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 3.5px;
    background: linear-gradient(90deg, #05d3f1 0%, #075fff 55%, #19e6c1 100%);
    pointer-events: none;
}
body.landlord-dashboard-shell[data-page="earnings"] .reference-earnings.landlord-earnings-modern .roi-feature::after {
    display: none !important;
}
body.landlord-dashboard-shell[data-page="earnings"] .reference-earnings.landlord-earnings-modern .roi-feature > .eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    max-width: 100%;
    margin: 0;
    color: #daf3ff;
    font-size: 10.5px;
    font-weight: 760;
    letter-spacing: 1.25px;
    text-transform: uppercase;
}
body.landlord-dashboard-shell[data-page="earnings"] .reference-earnings.landlord-earnings-modern .roi-feature > .eyebrow .lde-feature-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: inline-grid;
    place-items: center;
    flex-shrink: 0;
    background: linear-gradient(145deg, #074375, #065c8e);
    border: 1px solid #2b96c6;
    box-shadow: inset 0 1px 0 #ffffff24;
}
body.landlord-dashboard-shell[data-page="earnings"] .reference-earnings.landlord-earnings-modern .roi-feature > .eyebrow svg {
    width: 18px;
    height: 18px;
    padding: 0;
    border-radius: 0;
    background: transparent !important;
    color: #3fe6ff;
    box-sizing: border-box;
}
body.landlord-dashboard-shell[data-page="earnings"] .reference-earnings.landlord-earnings-modern .roi-feature > .eyebrow .lde-currency-pill {
    margin-left: auto;
    font-style: normal;
    padding: 3px 8px;
    border-radius: 6px;
    border: 1px solid #22629c;
    background: #042454b3;
    color: #a2dcff;
    font-size: 9.5px;
    font-weight: 720;
    letter-spacing: .6px;
    line-height: 1.2;
}
body.landlord-dashboard-shell[data-page="earnings"] .reference-earnings.landlord-earnings-modern .roi-feature > .amount {
    max-width: 100%;
    margin: 2px 0 0;
    font-size: clamp(26px, 2.2vw, 33px);
    line-height: 1.15;
    font-weight: 760;
    letter-spacing: -.75px;
    color: #ffffff;
    font-variant-numeric: tabular-nums;
    overflow-wrap: anywhere;
}
body.landlord-dashboard-shell[data-page="earnings"] .reference-earnings.landlord-earnings-modern .roi-feature > .subtle-note {
    max-width: 100%;
    margin: 0;
    font-size: 11px;
    line-height: 1.45;
    color: #abd0ee;
}
body.landlord-dashboard-shell[data-page="earnings"] .reference-earnings.landlord-earnings-modern .roi-buckets {
    width: 100%;
    max-width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    padding: 8px 12px;
    margin: 2px 0 4px;
    border-radius: 10px;
    background: #02173bb8;
    border: 1px solid #184b82;
}
body.landlord-dashboard-shell[data-page="earnings"] .reference-earnings.landlord-earnings-modern .roi-buckets > div {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    padding: 0 8px 0 0;
    border: 0;
    min-width: 0;
}
body.landlord-dashboard-shell[data-page="earnings"] .reference-earnings.landlord-earnings-modern .roi-buckets > div + div {
    padding: 0 0 0 12px;
    border-left: 1px solid #1a4e86;
}
body.landlord-dashboard-shell[data-page="earnings"] .reference-earnings.landlord-earnings-modern .roi-buckets small {
    color: #8ab4de;
    font-size: 9.5px;
    font-weight: 650;
    text-transform: uppercase;
    letter-spacing: .45px;
    line-height: 1.25;
}
body.landlord-dashboard-shell[data-page="earnings"] .reference-earnings.landlord-earnings-modern .roi-buckets b {
    color: #f4f9ff;
    font-size: 12.5px;
    font-weight: 730;
    font-variant-numeric: tabular-nums;
    line-height: 1.3;
}
body.landlord-dashboard-shell[data-page="earnings"] .reference-earnings.landlord-earnings-modern .roi-feature > .button {
    width: 100%;
    min-width: 0;
    min-height: 40px;
    margin-top: auto;
    padding: 9px 16px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(115deg, #075fff 0%, #006ef5 58%, #04a9e3 100%);
    border: 1px solid #48a7ff;
    color: #ffffff;
    font-size: 12.5px;
    font-weight: 690;
    box-shadow: 0 6px 16px #03153640, inset 0 1px 0 #ffffff33;
    transition: filter .15s ease, transform .15s ease;
}
body.landlord-dashboard-shell[data-page="earnings"] .reference-earnings.landlord-earnings-modern .roi-feature > .button:hover {
    filter: brightness(1.07);
    transform: translateY(-1px);
}
body.landlord-dashboard-shell[data-page="earnings"] .reference-earnings.landlord-earnings-modern .roi-feature > .button svg {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
}

/* Three Samruddhi Summary Cards (`Total ROI credited`, `ROI held`, `Next eligible cycle`) */
body.landlord-dashboard-shell[data-page="earnings"] .reference-earnings.landlord-earnings-modern .earnings-summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    min-width: 0;
}
body.landlord-dashboard-shell[data-page="earnings"] .reference-earnings.landlord-earnings-modern .earnings-summary > .account-tile {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 10px;
    min-height: 202px;
    padding: 17px 20px;
    border-radius: 16px;
    border: 1px solid #b8d3f6;
    background: linear-gradient(155deg, #ffffff 0%, #f1f7ff 56%, #e3efff 100%);
    box-shadow: 0 7px 18px #08275c0c, inset 0 1px 0 #ffffff;
    transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
body.landlord-dashboard-shell[data-page="earnings"] .reference-earnings.landlord-earnings-modern .earnings-summary > .account-tile:hover {
    transform: translateY(-1px);
    box-shadow: 0 11px 24px #07296314, inset 0 1px 0 #ffffff;
}
body.landlord-dashboard-shell[data-page="earnings"] .reference-earnings.landlord-earnings-modern .earnings-summary > .account-tile::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 3.5px;
    background: linear-gradient(90deg, #03225c 0%, #075fff 55%, #05d3f1 100%);
    pointer-events: none;
}
body.landlord-dashboard-shell[data-page="earnings"] .reference-earnings.landlord-earnings-modern .earnings-summary > .account-tile::after {
    display: none !important;
}
body.landlord-dashboard-shell[data-page="earnings"] .reference-earnings.landlord-earnings-modern .earnings-summary > .account-tile:nth-child(1) {
    border-color: #9ad8e8;
    background: linear-gradient(155deg, #ffffff 0%, #effbfd 55%, #ddf4f9 100%);
}
body.landlord-dashboard-shell[data-page="earnings"] .reference-earnings.landlord-earnings-modern .earnings-summary > .account-tile:nth-child(1)::before {
    background: linear-gradient(90deg, #063b87 0%, #0891b2 55%, #14b8a6 100%);
}
body.landlord-dashboard-shell[data-page="earnings"] .reference-earnings.landlord-earnings-modern .earnings-summary > .account-tile:nth-child(2) {
    border-color: #b4cff8;
    background: linear-gradient(155deg, #ffffff 0%, #f1f7ff 55%, #e2eeff 100%);
}
body.landlord-dashboard-shell[data-page="earnings"] .reference-earnings.landlord-earnings-modern .earnings-summary > .account-tile:nth-child(2)::before {
    background: linear-gradient(90deg, #03225c 0%, #075fff 55%, #05d3f1 100%);
}
body.landlord-dashboard-shell[data-page="earnings"] .reference-earnings.landlord-earnings-modern .earnings-summary > .account-tile:nth-child(3) {
    border-color: #b5d2f6;
    background: linear-gradient(155deg, #ffffff 0%, #f2f8ff 55%, #e4f0fe 100%);
}
body.landlord-dashboard-shell[data-page="earnings"] .reference-earnings.landlord-earnings-modern .earnings-summary > .account-tile:nth-child(3)::before {
    background: linear-gradient(90deg, #010e30 0%, #063175 52%, #00a3e0 100%);
}
body.landlord-dashboard-shell[data-page="earnings"] .reference-earnings.landlord-earnings-modern .earnings-summary .account-caption {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 11px;
    width: 100%;
    min-width: 0;
    color: #163560;
    font-size: 11.5px;
    font-weight: 750;
    letter-spacing: .45px;
    text-transform: uppercase;
    line-height: 1.3;
}
body.landlord-dashboard-shell[data-page="earnings"] .reference-earnings.landlord-earnings-modern .earnings-summary .account-caption > span {
    margin-left: 0;
}
body.landlord-dashboard-shell[data-page="earnings"] .reference-earnings.landlord-earnings-modern .earnings-summary .account-caption .lde-tile-icon {
    margin-left: 0;
    width: 40px;
    height: 40px;
    border-radius: 11px;
    display: inline-grid;
    place-items: center;
    flex-shrink: 0;
    background: linear-gradient(145deg, #04327a, #075fff);
    border: 1px solid #3580ff;
    color: #ffffff;
    box-shadow: 0 5px 12px #075fff24, inset 0 1px 0 #ffffff33;
}
body.landlord-dashboard-shell[data-page="earnings"] .reference-earnings.landlord-earnings-modern .earnings-summary > .account-tile:nth-child(1) .lde-tile-icon {
    background: linear-gradient(145deg, #0b728c, #0e9f6e);
    border-color: #25b5a8;
    box-shadow: 0 5px 12px #0891b224, inset 0 1px 0 #ffffff33;
}
body.landlord-dashboard-shell[data-page="earnings"] .reference-earnings.landlord-earnings-modern .earnings-summary > .account-tile:nth-child(3) .lde-tile-icon {
    background: linear-gradient(145deg, #021b4a, #06489e);
    border-color: #1f6bc7;
    color: #6be8ff;
    box-shadow: 0 5px 12px #021b4a24, inset 0 1px 0 #ffffff29;
}
body.landlord-dashboard-shell[data-page="earnings"] .reference-earnings.landlord-earnings-modern .earnings-summary .account-caption svg {
    width: 19px;
    height: 19px;
    padding: 0;
    border-radius: 0;
    background: transparent !important;
    color: currentColor !important;
    box-sizing: border-box;
}
body.landlord-dashboard-shell[data-page="earnings"] .reference-earnings.landlord-earnings-modern .earnings-summary .account-caption .lde-tile-label {
    margin-left: 0;
    min-width: 0;
    color: #163560;
    font-size: 11.5px;
    font-weight: 750;
    letter-spacing: .45px;
    text-transform: uppercase;
    line-height: 1.3;
    overflow-wrap: anywhere;
}
body.landlord-dashboard-shell[data-page="earnings"] .reference-earnings.landlord-earnings-modern .earnings-summary > .account-tile:nth-child(1) .account-caption .lde-tile-label {
    color: #104257;
}
body.landlord-dashboard-shell[data-page="earnings"] .reference-earnings.landlord-earnings-modern .earnings-summary .account-tile > strong {
    font-size: clamp(24px, 2.05vw, 31px);
    font-weight: 760;
    color: #061d42;
    line-height: 1.15;
    letter-spacing: -.65px;
    font-variant-numeric: tabular-nums;
    max-width: 100%;
    overflow-wrap: anywhere;
    margin: 6px 0 0;
}
body.landlord-dashboard-shell[data-page="earnings"] .reference-earnings.landlord-earnings-modern .earnings-summary .account-tile > strong.maturity-value {
    font-size: clamp(20px, 1.75vw, 25px);
    letter-spacing: -.45px;
    color: #082452;
    margin-top: 9px;
}
body.landlord-dashboard-shell[data-page="earnings"] .reference-earnings.landlord-earnings-modern .earnings-summary .account-tile > small {
    display: block !important;
    margin-top: auto;
    padding-top: 11px;
    border-top: 1px solid #cbe0f9;
    font-size: 11.5px;
    font-weight: 550;
    color: #446189;
    line-height: 1.35;
}
body.landlord-dashboard-shell[data-page="earnings"] .reference-earnings.landlord-earnings-modern .earnings-summary > .account-tile:nth-child(1) > small {
    border-top-color: #b8e6f0;
    color: #2f5e76;
}

/* 3. Analysis Two-Column Grid, Widgets, Headings & Lower Sections */
body.landlord-dashboard-shell[data-page="earnings"] .reference-earnings.landlord-earnings-modern .reference-earnings-analysis {
    display: grid;
    grid-template-columns: minmax(0, 1.95fr) minmax(320px, 1fr);
    gap: 16px;
    align-items: stretch;
}
body.landlord-dashboard-shell[data-page="earnings"] .reference-earnings.landlord-earnings-modern .dashboard-widget,
body.landlord-dashboard-shell[data-page="earnings"] .reference-earnings.landlord-earnings-modern .card.panel:not(.activation-details) {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 18px 20px;
    border: 1px solid #c3daf7;
    border-radius: 16px;
    background: linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
    box-shadow: 0 8px 22px #0723570a;
    min-width: 0;
}
body.landlord-dashboard-shell[data-page="earnings"] .reference-earnings.landlord-earnings-modern .dashboard-widget::before,
body.landlord-dashboard-shell[data-page="earnings"] .reference-earnings.landlord-earnings-modern .card.panel:not(.activation-details)::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 3.5px;
    background: linear-gradient(90deg, #021b4a 0%, #075fff 55%, #05d3f1 100%);
    pointer-events: none;
}
body.landlord-dashboard-shell[data-page="earnings"] .reference-earnings.landlord-earnings-modern .reference-upcoming::before {
    background: linear-gradient(90deg, #063175 0%, #0891b2 55%, #05d3f1 100%);
}
body.landlord-dashboard-shell[data-page="earnings"] .reference-earnings.landlord-earnings-modern .reference-roi-activity::before {
    background: linear-gradient(90deg, #063b87 0%, #0891b2 52%, #14b8a6 100%);
}
body.landlord-dashboard-shell[data-page="earnings"] .reference-earnings.landlord-earnings-modern .widget-heading,
body.landlord-dashboard-shell[data-page="earnings"] .reference-earnings.landlord-earnings-modern .section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e3eefc;
}
body.landlord-dashboard-shell[data-page="earnings"] .reference-earnings.landlord-earnings-modern .ldi-heading-lead {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}
body.landlord-dashboard-shell[data-page="earnings"] .reference-earnings.landlord-earnings-modern .ldi-title-stack {
    min-width: 0;
    display: grid;
    gap: 2px;
}
body.landlord-dashboard-shell[data-page="earnings"] .reference-earnings.landlord-earnings-modern .ldi-title-stack .eyebrow {
    display: block !important;
    color: #075fff;
    font-size: 9.5px;
    font-weight: 760;
    letter-spacing: 1.25px;
    text-transform: uppercase;
    line-height: 1.25;
}
body.landlord-dashboard-shell[data-page="earnings"] .reference-earnings.landlord-earnings-modern .reference-upcoming .ldi-title-stack .eyebrow,
body.landlord-dashboard-shell[data-page="earnings"] .reference-earnings.landlord-earnings-modern .reference-roi-activity .ldi-title-stack .eyebrow {
    color: #06789c;
}
body.landlord-dashboard-shell[data-page="earnings"] .reference-earnings.landlord-earnings-modern .widget-heading h2,
body.landlord-dashboard-shell[data-page="earnings"] .reference-earnings.landlord-earnings-modern .section-heading h3 {
    font-size: 16px;
    font-weight: 740;
    letter-spacing: -.3px;
    color: #071a3c;
    margin: 0;
    line-height: 1.25;
}
body.landlord-dashboard-shell[data-page="earnings"] .reference-earnings.landlord-earnings-modern .earnings-heading-icon {
    width: 38px;
    height: 38px;
    border-radius: 11px;
    display: inline-grid;
    place-items: center;
    flex-shrink: 0;
    background: linear-gradient(145deg, #04327a, #075fff);
    border: 1px solid #3580ff;
    color: #ffffff;
    box-shadow: 0 4px 10px #075fff21, inset 0 1px 0 #ffffff33;
}
body.landlord-dashboard-shell[data-page="earnings"] .reference-earnings.landlord-earnings-modern .reference-upcoming .earnings-heading-icon {
    background: linear-gradient(145deg, #021b4a, #06489e);
    border-color: #1f6bc7;
    color: #6be8ff;
    box-shadow: 0 4px 10px #021b4a21, inset 0 1px 0 #ffffff29;
}
body.landlord-dashboard-shell[data-page="earnings"] .reference-earnings.landlord-earnings-modern .reference-roi-activity .earnings-heading-icon {
    background: linear-gradient(145deg, #0b728c, #0e9f6e);
    border-color: #25b5a8;
    color: #ffffff;
    box-shadow: 0 4px 10px #0891b221, inset 0 1px 0 #ffffff33;
}
body.landlord-dashboard-shell[data-page="earnings"] .reference-earnings.landlord-earnings-modern .earnings-heading-icon svg {
    width: 19px;
    height: 19px;
}
body.landlord-dashboard-shell[data-page="earnings"] .reference-earnings.landlord-earnings-modern .earnings-activity-subtitle {
    margin: 2px 0 0;
    font-size: 11.5px;
    color: #4d6890;
    line-height: 1.35;
}

/* Period Select & Segmented Chart Tabs (`Daily credits` | `Monthly` | `Cumulative`) */
body.landlord-dashboard-shell[data-page="earnings"] .reference-earnings.landlord-earnings-modern [data-earnings-period] {
    width: auto;
    max-width: 195px;
    min-height: 36px;
    padding: 6px 12px;
    border-radius: 9px;
    border: 1px solid #bed5f6;
    background: #f4f8ff;
    color: #0b234a;
    font-size: 11.5px;
    font-weight: 660;
    box-shadow: inset 0 1px 2px #081e4208;
    cursor: pointer;
    transition: border-color .15s ease, background .15s ease;
}
body.landlord-dashboard-shell[data-page="earnings"] .reference-earnings.landlord-earnings-modern [data-earnings-period]:hover {
    border-color: #8cb7f5;
    background: #ffffff;
}
body.landlord-dashboard-shell[data-page="earnings"] .reference-earnings.landlord-earnings-modern .chart-view-tabs {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 4px;
    width: max-content;
    max-width: 100%;
    padding: 4px;
    margin-bottom: 14px;
    border-radius: 11px;
    border: 1px solid #c5dbf8;
    background: #e5effd;
}
body.landlord-dashboard-shell[data-page="earnings"] .reference-earnings.landlord-earnings-modern .chart-view-tabs button {
    border: 1px solid transparent;
    border-radius: 8px;
    padding: 7px 15px;
    min-height: 34px;
    font-size: 12px;
    font-weight: 660;
    color: #21406d;
    background: transparent;
    transition: background .15s ease, color .15s ease, box-shadow .15s ease;
}
body.landlord-dashboard-shell[data-page="earnings"] .reference-earnings.landlord-earnings-modern .chart-view-tabs button:hover:not(.active) {
    background: #ffffffa6;
    color: #071a3c;
}
body.landlord-dashboard-shell[data-page="earnings"] .reference-earnings.landlord-earnings-modern .chart-view-tabs button.active {
    background: linear-gradient(115deg, #021d52 0%, #053b8e 46%, #075fff 100%);
    border-color: #1d6bff;
    color: #ffffff;
    box-shadow: 0 4px 12px #075fff29, inset 0 1px 0 #ffffff26;
}

/* Interactive ROI Credits Area/Line Chart (fixes inherited polygon stroke) */
body.landlord-dashboard-shell[data-page="earnings"] .reference-earnings.landlord-earnings-modern .interactive-chart {
    position: relative;
    min-width: 0;
    padding: 14px 16px 12px;
    border-radius: 12px;
    border: 1px solid #d7e6fa;
    background: linear-gradient(180deg, #fafdff 0%, #f1f7ff 100%);
}
body.landlord-dashboard-shell[data-page="earnings"] .reference-earnings.landlord-earnings-modern .plot-scale {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 8px;
    color: #3d5b85;
    font-size: 11px;
    font-weight: 680;
    font-variant-numeric: tabular-nums;
}
body.landlord-dashboard-shell[data-page="earnings"] .reference-earnings.landlord-earnings-modern .plot-scale span:first-child {
    padding: 2px 8px;
    border-radius: 6px;
    background: #e7f1ff;
    border: 1px solid #c7ddfa;
    color: #063175;
    font-weight: 730;
}
body.landlord-dashboard-shell[data-page="earnings"] .reference-earnings.landlord-earnings-modern .interactive-chart svg {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    overflow: visible;
    stroke: none;
}
body.landlord-dashboard-shell[data-page="earnings"] .reference-earnings.landlord-earnings-modern .interactive-chart .plot-grid {
    stroke: #d5e4f8 !important;
    stroke-width: 1 !important;
    stroke-dasharray: 4 4;
    fill: none !important;
}
body.landlord-dashboard-shell[data-page="earnings"] .reference-earnings.landlord-earnings-modern .interactive-chart .plot-area {
    fill: url(#ld-roi-area-grad) !important;
    stroke: none !important;
}
body.landlord-dashboard-shell[data-page="earnings"] .reference-earnings.landlord-earnings-modern .interactive-chart .plot-line {
    stroke: #075fff !important;
    stroke-width: 2.8 !important;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none !important;
}
body.landlord-dashboard-shell[data-page="earnings"] .reference-earnings.landlord-earnings-modern .interactive-chart .plot-point {
    fill: #ffffff !important;
    stroke: #075fff !important;
    stroke-width: 2.5 !important;
    cursor: pointer;
    transition: stroke-width .12s ease;
}
body.landlord-dashboard-shell[data-page="earnings"] .reference-earnings.landlord-earnings-modern .interactive-chart .plot-point:hover,
body.landlord-dashboard-shell[data-page="earnings"] .reference-earnings.landlord-earnings-modern .interactive-chart .plot-point:focus {
    fill: #05d3f1 !important;
    stroke: #021d52 !important;
    stroke-width: 3 !important;
}
body.landlord-dashboard-shell[data-page="earnings"] .reference-earnings.landlord-earnings-modern .plot-labels {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid #e1ecfb;
    color: #4a668e;
    font-size: 10.5px;
    font-weight: 640;
    font-variant-numeric: tabular-nums;
}
body.landlord-dashboard-shell[data-page="earnings"] .reference-earnings.landlord-earnings-modern .chart-tooltip {
    background: #02163b;
    border: 1px solid #1e5699;
    color: #ffffff;
    padding: 6px 10px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 650;
    box-shadow: 0 6px 16px #010e3033;
}
body.landlord-dashboard-shell[data-page="earnings"] .reference-earnings.landlord-earnings-modern .chart-data {
    margin-top: 10px;
    padding: 7px 11px;
    border-radius: 9px;
    border: 1px solid #d5e4f8;
    background: #ffffff;
    color: #3a5882;
    font-size: 11px;
}
body.landlord-dashboard-shell[data-page="earnings"] .reference-earnings.landlord-earnings-modern .chart-data summary {
    font-weight: 670;
    color: #0b3c8a;
    cursor: pointer;
}
body.landlord-dashboard-shell[data-page="earnings"] .reference-earnings.landlord-earnings-modern .chart-data[open] summary {
    margin-bottom: 6px;
    padding-bottom: 6px;
    border-bottom: 1px solid #e4effc;
}
body.landlord-dashboard-shell[data-page="earnings"] .reference-earnings.landlord-earnings-modern .chart-data dl > div {
    border-bottom-color: #eaf2fd;
    font-variant-numeric: tabular-nums;
}
body.landlord-dashboard-shell[data-page="earnings"] .reference-earnings.landlord-earnings-modern .widget-footnote {
    margin: 10px 0 0;
    color: #506b91;
    font-size: 11px;
    line-height: 1.5;
}

/* 4. Upcoming Cycle Panel (`.reference-upcoming`), Empty States & Disclosure Accordion */
body.landlord-dashboard-shell[data-page="earnings"] .reference-earnings.landlord-earnings-modern .reference-upcoming {
    display: flex;
    flex-direction: column;
    align-self: start;
}
body.landlord-dashboard-shell[data-page="earnings"] .reference-earnings.landlord-earnings-modern .next-cycle {
    position: relative;
    z-index: 1;
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    min-height: 0;
    padding: 16px 18px;
    border-radius: 12px;
    border: 1px solid #bdd7f7;
    border-left: 3.5px solid #075fff;
    background: linear-gradient(145deg, #f5f9ff 0%, #e7f2ff 100%);
}
body.landlord-dashboard-shell[data-page="earnings"] .reference-upcoming .cycle-guidance {
    margin-top: 16px;
    padding: 16px 18px;
    border: 1px solid #d7e5f8;
    border-radius: 12px;
    background: #f8fbff;
}
body.landlord-dashboard-shell[data-page="earnings"] .cycle-guidance h3 { margin: 0 0 8px; color: #081c42; font-size: 14px; }
body.landlord-dashboard-shell[data-page="earnings"] .cycle-guidance p { margin: 0; color: #46628a; font-size: 13px; line-height: 1.65; }
body.landlord-dashboard-shell[data-page="earnings"] .cycle-guidance small { display: block; margin-top: 12px; color: #607899; font-size: 11px; line-height: 1.6; }
body.landlord-dashboard-shell[data-page="earnings"] .reference-earnings.landlord-earnings-modern .next-cycle::after {
    display: none !important;
}
body.landlord-dashboard-shell[data-page="earnings"] .reference-earnings.landlord-earnings-modern .next-cycle > .eyebrow {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    background: #dfeeff;
    border: 1px solid #b6d4fb;
    color: #0642a6;
    font-size: 9.5px;
    font-weight: 760;
    letter-spacing: .9px;
    text-transform: uppercase;
}
body.landlord-dashboard-shell[data-page="earnings"] .reference-earnings.landlord-earnings-modern .next-cycle > strong {
    display: block;
    margin: 12px 0 6px;
    font-size: clamp(21px, 1.8vw, 25px);
    font-weight: 760;
    color: #071a3c;
    line-height: 1.2;
    letter-spacing: -.45px;
    font-variant-numeric: tabular-nums;
}
body.landlord-dashboard-shell[data-page="earnings"] .reference-earnings.landlord-earnings-modern .next-cycle p {
    margin: 0;
    font-size: 11.5px;
    color: #46628a;
    line-height: 1.5;
}
body.landlord-dashboard-shell[data-page="earnings"] .reference-earnings.landlord-earnings-modern .analytics-empty {
    flex: 1 1 auto;
    min-height: 152px;
    padding: 20px 16px;
    border-radius: 12px;
    border: 1px dashed #bfd6f6;
    background: linear-gradient(180deg, #fafdff 0%, #f1f7ff 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-align: center;
    color: #4d6890;
}
body.landlord-dashboard-shell[data-page="earnings"] .reference-earnings.landlord-earnings-modern .analytics-empty > svg {
    width: 20px;
    height: 20px;
    padding: 9px;
    box-sizing: content-box;
    border-radius: 11px;
    background: #e6f0ff;
    border: 1px solid #c3daf9;
    color: #075fff;
}
body.landlord-dashboard-shell[data-page="earnings"] .reference-earnings.landlord-earnings-modern .analytics-empty b {
    display: block;
    color: #081d42;
    font-size: 13px;
    font-weight: 720;
    margin-bottom: 3px;
}
body.landlord-dashboard-shell[data-page="earnings"] .reference-earnings.landlord-earnings-modern .analytics-empty p {
    margin: 0;
    color: #516c93;
    font-size: 11.5px;
    line-height: 1.45;
}
body.landlord-dashboard-shell[data-page="earnings"] .reference-earnings.landlord-earnings-modern details.activation-details {
    margin-top: 14px;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid #c9def8;
    background: linear-gradient(180deg, #f6faff 0%, #edf4ff 100%);
}
body.landlord-dashboard-shell[data-page="earnings"] .reference-earnings.landlord-earnings-modern .reference-upcoming details.activation-details {
    margin-top: auto;
}
body.landlord-dashboard-shell[data-page="earnings"] .reference-earnings.landlord-earnings-modern details.activation-details > summary {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    cursor: pointer;
    color: #071a3c;
}
body.landlord-dashboard-shell[data-page="earnings"] .reference-earnings.landlord-earnings-modern details.activation-details > summary::-webkit-details-marker {
    display: none;
}
body.landlord-dashboard-shell[data-page="earnings"] .reference-earnings.landlord-earnings-modern .ldi-summary-lead {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}
body.landlord-dashboard-shell[data-page="earnings"] .reference-earnings.landlord-earnings-modern .ldi-summary-icon {
    width: 32px;
    height: 32px;
    border-radius: 9px;
    display: inline-grid;
    place-items: center;
    flex-shrink: 0;
    background: #e6f0ff;
    border: 1px solid #c1daf9;
    color: #075fff;
}
body.landlord-dashboard-shell[data-page="earnings"] .reference-earnings.landlord-earnings-modern .ldi-summary-icon svg {
    width: 16px;
    height: 16px;
}
body.landlord-dashboard-shell[data-page="earnings"] .reference-earnings.landlord-earnings-modern .ldi-summary-copy {
    display: grid;
    gap: 1px;
}
body.landlord-dashboard-shell[data-page="earnings"] .reference-earnings.landlord-earnings-modern .ldi-summary-copy .eyebrow {
    color: #075fff;
    font-size: 8.5px;
    font-weight: 760;
    letter-spacing: 1.15px;
    text-transform: uppercase;
}
body.landlord-dashboard-shell[data-page="earnings"] .reference-earnings.landlord-earnings-modern .ldi-summary-copy strong {
    color: #071a3c;
    font-size: 13px;
    font-weight: 720;
}
body.landlord-dashboard-shell[data-page="earnings"] .reference-earnings.landlord-earnings-modern .ldi-summary-chevron {
    width: 26px;
    height: 26px;
    border-radius: 8px;
    display: inline-grid;
    place-items: center;
    flex-shrink: 0;
    background: #ffffff;
    border: 1px solid #c8ddf8;
    color: #1f4882;
    transition: transform .18s ease, background .15s ease;
}
body.landlord-dashboard-shell[data-page="earnings"] .reference-earnings.landlord-earnings-modern .ldi-summary-chevron svg {
    width: 14px;
    height: 14px;
}
body.landlord-dashboard-shell[data-page="earnings"] .reference-earnings.landlord-earnings-modern details.activation-details[open] > summary {
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: 1px solid #d7e6fa;
}
body.landlord-dashboard-shell[data-page="earnings"] .reference-earnings.landlord-earnings-modern details.activation-details[open] .ldi-summary-chevron {
    transform: rotate(180deg);
    background: #dfecff;
    color: #075fff;
}
body.landlord-dashboard-shell[data-page="earnings"] .reference-earnings.landlord-earnings-modern details.activation-details .widget-footnote {
    margin: 0;
    color: #3f5b83;
    font-size: 11.5px;
    line-height: 1.55;
}

/* 5. ROI Activity Timeline, Card Action Links & Withdrawal Requests Table */
body.landlord-dashboard-shell[data-page="earnings"] .reference-earnings.landlord-earnings-modern .card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 36px;
    padding: 7px 13px;
    border-radius: 9px;
    border: 1px solid #c2daf8;
    background: #eef5ff;
    color: #075fff;
    font-size: 12px;
    font-weight: 680;
    white-space: nowrap;
    transition: background .15s ease, border-color .15s ease, color .15s ease;
}
body.landlord-dashboard-shell[data-page="earnings"] .reference-earnings.landlord-earnings-modern .card-link:hover {
    background: #dfecff;
    border-color: #96bef7;
    color: #04327a;
}
body.landlord-dashboard-shell[data-page="earnings"] .reference-earnings.landlord-earnings-modern .card-link svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}
body.landlord-dashboard-shell[data-page="earnings"] .reference-earnings.landlord-earnings-modern .roi-timeline {
    display: grid;
    gap: 8px;
}
body.landlord-dashboard-shell[data-page="earnings"] .reference-earnings.landlord-earnings-modern .roi-cycle-row {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 14px;
    padding: 11px 14px;
    border: 1px solid #d7e6fa;
    border-radius: 12px;
    background: #fbfdff;
    transition: background .15s ease, border-color .15s ease;
}
body.landlord-dashboard-shell[data-page="earnings"] .reference-earnings.landlord-earnings-modern .roi-cycle-row:hover {
    background: #f2f8ff;
    border-color: #b5d2f8;
}
body.landlord-dashboard-shell[data-page="earnings"] .reference-earnings.landlord-earnings-modern .roi-cycle-row .icon-tile {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: inline-grid;
    place-items: center;
    background: linear-gradient(145deg, #e5faf5, #ccf2ea);
    border: 1px solid #9adfd0;
    color: #0b7a58;
}
body.landlord-dashboard-shell[data-page="earnings"] .reference-earnings.landlord-earnings-modern .roi-cycle-row .icon-tile svg {
    width: 18px;
    height: 18px;
}
body.landlord-dashboard-shell[data-page="earnings"] .reference-earnings.landlord-earnings-modern .roi-cycle-row b {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 13px;
    font-weight: 710;
    color: #081d42;
}
body.landlord-dashboard-shell[data-page="earnings"] .reference-earnings.landlord-earnings-modern .roi-cycle-row b small {
    margin: 0;
    padding: 2px 8px;
    border-radius: 999px;
    background: #eaf2ff;
    border: 1px solid #cadef8;
    color: #194885;
    font-size: 10.5px;
    font-weight: 660;
}
body.landlord-dashboard-shell[data-page="earnings"] .reference-earnings.landlord-earnings-modern .roi-cycle-row p {
    margin: 3px 0 0;
    font-size: 11px;
    color: #536e95;
}
body.landlord-dashboard-shell[data-page="earnings"] .reference-earnings.landlord-earnings-modern .roi-cycle-row > strong {
    font-size: 14.5px;
    font-weight: 750;
    color: #067a55;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}
body.landlord-dashboard-shell[data-page="earnings"] .reference-earnings.landlord-earnings-modern .badge {
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: .2px;
}
body.landlord-dashboard-shell[data-page="earnings"] .reference-earnings.landlord-earnings-modern .badge.green {
    background: #e3f9f0;
    border: 1px solid #a7e6cc;
    color: #077552;
}
body.landlord-dashboard-shell[data-page="earnings"] .reference-earnings.landlord-earnings-modern .table-wrap {
    border: 1px solid #d4e4fa;
    border-radius: 12px;
    overflow-x: auto;
    background: #ffffff;
}
body.landlord-dashboard-shell[data-page="earnings"] .reference-earnings.landlord-earnings-modern .data-table th {
    background: #eaf2ff;
    color: #163666;
    font-size: 10.5px;
    font-weight: 740;
    letter-spacing: .6px;
    text-transform: uppercase;
    border-bottom: 1px solid #cfe1f9;
}
body.landlord-dashboard-shell[data-page="earnings"] .reference-earnings.landlord-earnings-modern .data-table td {
    color: #0b2147;
    border-bottom-color: #e6effc;
    font-variant-numeric: tabular-nums;
}

/* 6. Responsive Breakpoints for Landlord Earn Money (`1672px` -> `320px`) */
@media (max-width: 1400px) {
    body.landlord-dashboard-shell[data-page="earnings"] .reference-earnings.landlord-earnings-modern .ld-hero-bar {
        width: 100%;
        justify-content: space-between;
        margin-left: 0;
        padding-top: 10px;
        border-top: 1px solid #143b6b;
    }
}
@media (max-width: 1250px) {
    body.landlord-dashboard-shell[data-page="earnings"] .reference-earnings.landlord-earnings-modern .earnings-overview {
        grid-template-columns: minmax(0, 1fr);
    }
    body.landlord-dashboard-shell[data-page="earnings"] .reference-earnings.landlord-earnings-modern .roi-feature {
        min-height: 0;
    }
    body.landlord-dashboard-shell[data-page="earnings"] .reference-earnings.landlord-earnings-modern .earnings-summary > .account-tile {
        min-height: 176px;
    }
    body.landlord-dashboard-shell[data-page="earnings"] .reference-earnings.landlord-earnings-modern .earnings-summary .account-caption {
        flex-direction: row;
        align-items: center;
    }
    body.landlord-dashboard-shell[data-page="earnings"] .reference-earnings.landlord-earnings-modern .reference-earnings-analysis {
        grid-template-columns: minmax(0, 1fr);
    }
}
@media (max-width: 760px) {
    body.landlord-dashboard-shell[data-page="earnings"] .reference-earnings.landlord-earnings-modern .customer-reference-banner {
        padding: 16px;
        border-radius: 14px;
        gap: 12px;
    }
    body.landlord-dashboard-shell[data-page="earnings"] .reference-earnings.landlord-earnings-modern .ld-hero-bar {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }
    body.landlord-dashboard-shell[data-page="earnings"] .reference-earnings.landlord-earnings-modern .ld-hero-metrics {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        padding: 8px 10px;
        gap: 8px;
    }
    body.landlord-dashboard-shell[data-page="earnings"] .reference-earnings.landlord-earnings-modern .ld-hero-stat {
        min-width: 0;
        padding: 0 6px;
    }
    body.landlord-dashboard-shell[data-page="earnings"] .reference-earnings.landlord-earnings-modern .ld-hero-stat dd {
        font-size: 12px;
        white-space: normal;
        overflow-wrap: anywhere;
    }
    body.landlord-dashboard-shell[data-page="earnings"] .reference-earnings.landlord-earnings-modern .ld-hero-stat small {
        display: none;
    }
    body.landlord-dashboard-shell[data-page="earnings"] .reference-earnings.landlord-earnings-modern .ld-hero-actions .button {
        min-height: 44px;
        flex: 1;
    }
    body.landlord-dashboard-shell[data-page="earnings"] .reference-earnings.landlord-earnings-modern .earnings-summary {
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
    }
    body.landlord-dashboard-shell[data-page="earnings"] .reference-earnings.landlord-earnings-modern .earnings-summary > .account-tile {
        min-height: 0;
        padding: 16px;
        gap: 10px;
    }
    body.landlord-dashboard-shell[data-page="earnings"] .reference-earnings.landlord-earnings-modern .dashboard-widget,
    body.landlord-dashboard-shell[data-page="earnings"] .reference-earnings.landlord-earnings-modern .card.panel:not(.activation-details) {
        padding: 16px;
        border-radius: 14px;
    }
    body.landlord-dashboard-shell[data-page="earnings"] .reference-earnings.landlord-earnings-modern .widget-heading,
    body.landlord-dashboard-shell[data-page="earnings"] .reference-earnings.landlord-earnings-modern .section-heading {
        flex-wrap: wrap;
        align-items: flex-start;
    }
    body.landlord-dashboard-shell[data-page="earnings"] .reference-earnings.landlord-earnings-modern [data-earnings-period] {
        width: 100%;
        max-width: none;
        min-height: 42px;
    }
    body.landlord-dashboard-shell[data-page="earnings"] .reference-earnings.landlord-earnings-modern .chart-view-tabs {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    body.landlord-dashboard-shell[data-page="earnings"] .reference-earnings.landlord-earnings-modern .chart-view-tabs button {
        padding: 7px 8px;
        font-size: 11px;
        text-align: center;
    }
    body.landlord-dashboard-shell[data-page="earnings"] .reference-earnings.landlord-earnings-modern .roi-cycle-row {
        grid-template-columns: 34px minmax(0, 1fr) auto;
        gap: 8px 10px;
        padding: 11px 12px;
    }
    body.landlord-dashboard-shell[data-page="earnings"] .reference-earnings.landlord-earnings-modern .roi-cycle-row > .badge {
        grid-column: 2;
        justify-self: start;
    }
}
@media (max-width: 480px) {
    body.landlord-dashboard-shell[data-page="earnings"] .reference-earnings.landlord-earnings-modern .ld-hero-metrics {
        grid-template-columns: minmax(0, 1fr);
        gap: 6px;
    }
    body.landlord-dashboard-shell[data-page="earnings"] .reference-earnings.landlord-earnings-modern .ld-hero-stat {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding: 4px 2px;
    }
    body.landlord-dashboard-shell[data-page="earnings"] .reference-earnings.landlord-earnings-modern .ld-hero-stat + .ld-hero-stat {
        border-left: 0;
        border-top: 1px solid #163f70;
        padding-top: 6px;
    }
    body.landlord-dashboard-shell[data-page="earnings"] .reference-earnings.landlord-earnings-modern .roi-buckets {
        grid-template-columns: minmax(0, 1fr);
        gap: 6px;
    }
    body.landlord-dashboard-shell[data-page="earnings"] .reference-earnings.landlord-earnings-modern .roi-buckets > div {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding: 0;
    }
    body.landlord-dashboard-shell[data-page="earnings"] .reference-earnings.landlord-earnings-modern .roi-buckets > div + div {
        padding: 6px 0 0;
        border-left: 0;
        border-top: 1px solid #1a4e86;
    }
}
@media (max-width: 350px) {
    body.landlord-dashboard-shell[data-page="earnings"] .reference-earnings.landlord-earnings-modern .ld-hero-actions {
        flex-direction: column;
        align-items: stretch;
    }
    body.landlord-dashboard-shell[data-page="earnings"] .reference-earnings.landlord-earnings-modern .chart-view-tabs {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* ==========================================================================
   Landlord Transaction History Workspace (`body[data-page="history"]`)
   Samruddhi brand palette; preserves all API records, filters and DOM contracts.
   ========================================================================== */
body.landlord-dashboard-shell[data-page="history"] {
    color: #091a3a;
}
body.landlord-dashboard-shell[data-page="history"] .reference-history.landlord-history-modern {
    max-width: 1540px;
    min-width: 0;
    margin: 0 auto;
    gap: 16px;
    color: #091a3a;
}

/* 1. Compact Samruddhi Deep-Navy Workspace Header (no neon checkmark blob or 3D wallet/coins) */
body.landlord-dashboard-shell[data-page="history"] .reference-history.landlord-history-modern .customer-reference-banner {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px 24px;
    padding: 16px 22px;
    border: 1px solid #113d73;
    border-radius: 16px;
    background: radial-gradient(90% 140% at 100% 0%, #05d3f11f 0%, transparent 56%), linear-gradient(125deg, #010e30 0%, #002052 62%, #02173a 100%);
    color: #ffffff;
    box-shadow: 0 8px 22px #02133812, inset 0 1px 0 #ffffff14;
}
body.landlord-dashboard-shell[data-page="history"] .reference-history.landlord-history-modern .customer-reference-banner::before,
body.landlord-dashboard-shell[data-page="history"] .reference-history.landlord-history-modern .customer-reference-banner::after,
body.landlord-dashboard-shell[data-page="history"] .reference-history.landlord-history-modern .reference-banner-copy::before,
body.landlord-dashboard-shell[data-page="history"] .reference-history.landlord-history-modern .reference-banner-copy::after,
body.landlord-dashboard-shell[data-page="history"] .reference-history.landlord-history-modern .reference-banner-art {
    display: none !important;
}
body.landlord-dashboard-shell[data-page="history"] .reference-history.landlord-history-modern .reference-banner-copy {
    max-width: none;
    min-width: 0;
    padding-left: 0;
    flex: 1 1 320px;
}
body.landlord-dashboard-shell[data-page="history"] .reference-history.landlord-history-modern .ld-hero-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 4px;
}
body.landlord-dashboard-shell[data-page="history"] .reference-history.landlord-history-modern .customer-reference-banner .eyebrow {
    display: inline-flex;
    align-items: center;
    color: #16e4ff;
    font-size: 9.5px;
    line-height: 1.3;
    font-weight: 750;
    letter-spacing: 1.4px;
    text-transform: uppercase;
}
body.landlord-dashboard-shell[data-page="history"] .reference-history.landlord-history-modern .ld-hero-status {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 2px 8px;
    border-radius: 999px;
    border: 1px solid #155e75;
    background: #04354c99;
    color: #9ef3e6;
    font-size: 10px;
    font-weight: 600;
    line-height: 1.35;
}
body.landlord-dashboard-shell[data-page="history"] .reference-history.landlord-history-modern .ld-hero-status[data-status="pending"] {
    border-color: #7c5816;
    background: #46300899;
    color: #ffd98a;
}
body.landlord-dashboard-shell[data-page="history"] .reference-history.landlord-history-modern .ld-status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #19e6c1;
    box-shadow: 0 0 6px #19e6c1;
}
body.landlord-dashboard-shell[data-page="history"] .reference-history.landlord-history-modern .ld-hero-status[data-status="pending"] .ld-status-dot {
    background: #fbbf24;
    box-shadow: 0 0 6px #fbbf24;
}
body.landlord-dashboard-shell[data-page="history"] .reference-history.landlord-history-modern .reference-banner-copy h1 {
    margin: 0 0 3px;
    color: #f8fbff;
    font-size: clamp(18px, 1.45vw, 22px);
    line-height: 1.25;
    letter-spacing: -.5px;
    font-weight: 730;
}
body.landlord-dashboard-shell[data-page="history"] .reference-history.landlord-history-modern .reference-banner-copy em {
    font-style: normal;
    color: #05d3f1;
}
body.landlord-dashboard-shell[data-page="history"] .reference-history.landlord-history-modern .reference-banner-copy p {
    margin: 0;
    color: #b8ceea;
    font-size: 12px;
    line-height: 1.45;
}
body.landlord-dashboard-shell[data-page="history"] .reference-history.landlord-history-modern .ld-hero-bar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px 18px;
    margin-left: auto;
}
body.landlord-dashboard-shell[data-page="history"] .reference-history.landlord-history-modern .ld-hero-metrics {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0;
    margin: 0;
    padding: 6px 14px;
    border: 1px solid #164378;
    border-radius: 12px;
    background: #041d44b3;
}
body.landlord-dashboard-shell[data-page="history"] .reference-history.landlord-history-modern .ld-hero-stat {
    display: flex;
    flex-direction: column;
    gap: 1px;
    padding: 2px 14px;
    min-width: 108px;
}
body.landlord-dashboard-shell[data-page="history"] .reference-history.landlord-history-modern .ld-hero-stat:first-child { padding-left: 2px; }
body.landlord-dashboard-shell[data-page="history"] .reference-history.landlord-history-modern .ld-hero-stat:last-child { padding-right: 2px; }
body.landlord-dashboard-shell[data-page="history"] .reference-history.landlord-history-modern .ld-hero-stat + .ld-hero-stat {
    border-left: 1px solid #163f70;
}
body.landlord-dashboard-shell[data-page="history"] .reference-history.landlord-history-modern .ld-hero-stat dt {
    color: #8ab0dc;
    font-size: 9.5px;
    font-weight: 650;
    letter-spacing: .4px;
    text-transform: uppercase;
    line-height: 1.3;
}
body.landlord-dashboard-shell[data-page="history"] .reference-history.landlord-history-modern .ld-hero-stat dd {
    margin: 0;
    color: #ffffff;
    font-size: 13px;
    font-weight: 720;
    letter-spacing: -.2px;
    font-variant-numeric: tabular-nums;
    line-height: 1.35;
    white-space: nowrap;
}
body.landlord-dashboard-shell[data-page="history"] .reference-history.landlord-history-modern .ld-hero-stat small {
    color: #88add8;
    font-size: 9.5px;
    line-height: 1.3;
    white-space: nowrap;
}
body.landlord-dashboard-shell[data-page="history"] .reference-history.landlord-history-modern .ld-hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}
body.landlord-dashboard-shell[data-page="history"] .reference-history.landlord-history-modern .ld-hero-actions .button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 40px;
    padding: 8px 14px;
    border-radius: 10px;
    background: #072856bf;
    border: 1px solid #25578f;
    color: #eaf3ff;
    font-size: 12px;
    font-weight: 650;
    white-space: nowrap;
    box-shadow: none;
    transition: background .15s ease, border-color .15s ease;
}
body.landlord-dashboard-shell[data-page="history"] .reference-history.landlord-history-modern .ld-hero-actions .button:hover {
    background: #0c356ed9;
    border-color: #4a85c5;
    color: #ffffff;
}
body.landlord-dashboard-shell[data-page="history"] .reference-history.landlord-history-modern .ld-hero-actions .button.primary {
    background: linear-gradient(110deg, #075fff, #0042f5);
    border-color: #4389ff;
    color: #ffffff;
    box-shadow: 0 4px 12px #075fff38, inset 0 1px 0 #ffffff29;
}
body.landlord-dashboard-shell[data-page="history"] .reference-history.landlord-history-modern .ld-hero-actions .button.primary:hover {
    background: linear-gradient(110deg, #1b6dff, #074df7);
    border-color: #70a5ff;
}
body.landlord-dashboard-shell[data-page="history"] .reference-history.landlord-history-modern .ld-hero-actions .button svg {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
}

/* 2. Four Samruddhi Summary Cards (`Money In`, `Money Out`, `Net Balance Change`, `Total Transactions`) */
body.landlord-dashboard-shell[data-page="history"] .reference-history.landlord-history-modern .reference-history-summary {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    min-width: 0;
}
body.landlord-dashboard-shell[data-page="history"] .reference-history.landlord-history-modern .reference-summary-card {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 10px;
    min-width: 0;
    min-height: 158px;
    padding: 17px 20px;
    border-radius: 16px;
    border: 1px solid #b6d2f6;
    background: linear-gradient(155deg, #ffffff 0%, #f1f7ff 56%, #e3efff 100%);
    box-shadow: 0 7px 18px #08275c0c, inset 0 1px 0 #ffffff;
    transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
body.landlord-dashboard-shell[data-page="history"] .reference-history.landlord-history-modern .reference-summary-card:hover {
    transform: translateY(-1px);
    box-shadow: 0 11px 24px #07296314, inset 0 1px 0 #ffffff;
}
body.landlord-dashboard-shell[data-page="history"] .reference-history.landlord-history-modern .reference-summary-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 3.5px;
    background: linear-gradient(90deg, #03225c 0%, #075fff 55%, #05d3f1 100%);
    pointer-events: none;
}
body.landlord-dashboard-shell[data-page="history"] .reference-history.landlord-history-modern .reference-tone-green {
    border-color: #9ad8e8;
    background: linear-gradient(155deg, #ffffff 0%, #effbfd 55%, #ddf4f9 100%);
}
body.landlord-dashboard-shell[data-page="history"] .reference-history.landlord-history-modern .reference-tone-green::before {
    background: linear-gradient(90deg, #063b87 0%, #0891b2 55%, #14b8a6 100%);
}
body.landlord-dashboard-shell[data-page="history"] .reference-history.landlord-history-modern .reference-tone-pink {
    border-color: #b7cde9;
    background: linear-gradient(155deg, #ffffff 0%, #f4f8fd 55%, #e6effa 100%);
}
body.landlord-dashboard-shell[data-page="history"] .reference-history.landlord-history-modern .reference-tone-pink::before {
    background: linear-gradient(90deg, #0c2348 0%, #244d82 55%, #4a7ab5 100%);
}
body.landlord-dashboard-shell[data-page="history"] .reference-history.landlord-history-modern .reference-tone-blue {
    border-color: #aac9f8;
    background: linear-gradient(155deg, #ffffff 0%, #f0f6ff 55%, #e0ecff 100%);
}
body.landlord-dashboard-shell[data-page="history"] .reference-history.landlord-history-modern .reference-tone-blue::before {
    background: linear-gradient(90deg, #03225c 0%, #075fff 55%, #05d3f1 100%);
}
body.landlord-dashboard-shell[data-page="history"] .reference-history.landlord-history-modern .reference-tone-purple {
    border-color: #b5d2f6;
    background: linear-gradient(155deg, #ffffff 0%, #f2f8ff 55%, #e4f0fe 100%);
}
body.landlord-dashboard-shell[data-page="history"] .reference-history.landlord-history-modern .reference-tone-purple::before {
    background: linear-gradient(90deg, #010e30 0%, #063175 52%, #00a3e0 100%);
}
body.landlord-dashboard-shell[data-page="history"] .reference-history.landlord-history-modern .ldh-card-head {
    display: flex;
    align-items: center;
    gap: 11px;
    min-width: 0;
}
body.landlord-dashboard-shell[data-page="history"] .reference-history.landlord-history-modern .reference-summary-icon {
    width: 38px;
    height: 38px;
    border-radius: 11px;
    display: inline-grid;
    place-items: center;
    flex-shrink: 0;
    background: linear-gradient(145deg, #04327a, #075fff);
    border: 1px solid #3580ff;
    color: #ffffff;
    box-shadow: 0 5px 12px #075fff21, inset 0 1px 0 #ffffff33;
}
body.landlord-dashboard-shell[data-page="history"] .reference-history.landlord-history-modern .reference-tone-green .reference-summary-icon {
    background: linear-gradient(145deg, #0b728c, #0e9f6e);
    border-color: #25b5a8;
    color: #ffffff;
    box-shadow: 0 5px 12px #0891b221, inset 0 1px 0 #ffffff33;
}
body.landlord-dashboard-shell[data-page="history"] .reference-history.landlord-history-modern .reference-tone-pink .reference-summary-icon {
    background: linear-gradient(145deg, #132d56, #2b5792);
    border-color: #4676b4;
    color: #ffffff;
    box-shadow: 0 5px 12px #132d5621, inset 0 1px 0 #ffffff2e;
}
body.landlord-dashboard-shell[data-page="history"] .reference-history.landlord-history-modern .reference-tone-purple .reference-summary-icon {
    background: linear-gradient(145deg, #021b4a, #06489e);
    border-color: #1f6bc7;
    color: #6be8ff;
    box-shadow: 0 5px 12px #021b4a21, inset 0 1px 0 #ffffff29;
}
body.landlord-dashboard-shell[data-page="history"] .reference-history.landlord-history-modern .reference-summary-icon svg {
    width: 19px;
    height: 19px;
}
body.landlord-dashboard-shell[data-page="history"] .reference-history.landlord-history-modern .reference-summary-card small {
    color: #163560;
    font-size: 11px;
    font-weight: 750;
    letter-spacing: .45px;
    text-transform: uppercase;
    line-height: 1.3;
    overflow-wrap: anywhere;
}
body.landlord-dashboard-shell[data-page="history"] .reference-history.landlord-history-modern .reference-tone-green small {
    color: #104257;
}
body.landlord-dashboard-shell[data-page="history"] .reference-history.landlord-history-modern .reference-summary-card strong {
    display: block;
    margin: 2px 0 0;
    font-size: clamp(22px, 1.9vw, 29px);
    font-weight: 760;
    line-height: 1.15;
    letter-spacing: -.65px;
    font-variant-numeric: tabular-nums;
    color: #061d42;
    overflow-wrap: anywhere;
}
body.landlord-dashboard-shell[data-page="history"] .reference-history.landlord-history-modern .reference-tone-green strong {
    color: #065f46;
}
body.landlord-dashboard-shell[data-page="history"] .reference-history.landlord-history-modern .reference-tone-pink strong {
    color: #0e294e;
}
body.landlord-dashboard-shell[data-page="history"] .reference-history.landlord-history-modern .reference-tone-blue strong {
    color: #052c70;
}
body.landlord-dashboard-shell[data-page="history"] .reference-history.landlord-history-modern .reference-summary-card p {
    margin: auto 0 0;
    padding-top: 10px;
    border-top: 1px solid #cbe0f9;
    color: #446189;
    font-size: 11px;
    font-weight: 540;
    line-height: 1.35;
}
body.landlord-dashboard-shell[data-page="history"] .reference-history.landlord-history-modern .reference-tone-green p {
    border-top-color: #b8e6f0;
    color: #2f5e76;
}
body.landlord-dashboard-shell[data-page="history"] .reference-history.landlord-history-modern .reference-tone-pink p {
    border-top-color: #cddcf0;
}

/* 3. Transaction History Main Ledger Panel, Category Tabs, Search & Filter Drawer */
body.landlord-dashboard-shell[data-page="history"] .reference-history.landlord-history-modern .card.panel {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 20px 22px;
    border: 1px solid #c3daf7;
    border-radius: 16px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    box-shadow: 0 8px 22px #0723570a;
    min-width: 0;
}
body.landlord-dashboard-shell[data-page="history"] .reference-history.landlord-history-modern .card.panel::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 3.5px;
    background: linear-gradient(90deg, #021b4a 0%, #075fff 55%, #05d3f1 100%);
    pointer-events: none;
}
body.landlord-dashboard-shell[data-page="history"] .reference-history.landlord-history-modern .section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px 18px;
    margin-bottom: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid #e3eefc;
}
body.landlord-dashboard-shell[data-page="history"] .reference-history.landlord-history-modern .section-heading h3::before {
    display: none !important;
}
body.landlord-dashboard-shell[data-page="history"] .reference-history.landlord-history-modern .ldi-heading-lead {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}
body.landlord-dashboard-shell[data-page="history"] .reference-history.landlord-history-modern .history-heading-icon {
    width: 40px;
    height: 40px;
    border-radius: 11px;
    display: inline-grid;
    place-items: center;
    flex-shrink: 0;
    background: linear-gradient(145deg, #04327a, #075fff);
    border: 1px solid #3580ff;
    color: #ffffff;
    box-shadow: 0 4px 10px #075fff21, inset 0 1px 0 #ffffff33;
}
body.landlord-dashboard-shell[data-page="history"] .reference-history.landlord-history-modern .history-heading-icon svg {
    width: 19px;
    height: 19px;
}
body.landlord-dashboard-shell[data-page="history"] .reference-history.landlord-history-modern .ldi-title-stack {
    min-width: 0;
    display: grid;
    gap: 2px;
}
body.landlord-dashboard-shell[data-page="history"] .reference-history.landlord-history-modern .ldi-title-stack .eyebrow {
    display: block !important;
    color: #075fff;
    font-size: 9.5px;
    font-weight: 760;
    letter-spacing: 1.25px;
    text-transform: uppercase;
    line-height: 1.25;
}
body.landlord-dashboard-shell[data-page="history"] .reference-history.landlord-history-modern .section-heading h3 {
    margin: 0;
    font-size: 17px;
    font-weight: 740;
    letter-spacing: -.35px;
    color: #071a3c;
    line-height: 1.25;
}
body.landlord-dashboard-shell[data-page="history"] .reference-history.landlord-history-modern .ldh-heading-subtitle {
    margin: 1px 0 0;
    font-size: 11.5px;
    color: #4d6890;
    line-height: 1.35;
}

/* Segmented Category Filter Tabs (`All` | `Money In` | `Money Out` | `Investment` | `ROI`) */
body.landlord-dashboard-shell[data-page="history"] .reference-history.landlord-history-modern .reference-history-tabs {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
    padding: 4px;
    border-radius: 12px;
    border: 1px solid #c5dbf8;
    background: #e6f0fd;
}
body.landlord-dashboard-shell[data-page="history"] .reference-history.landlord-history-modern .reference-history-tabs button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 35px;
    padding: 7px 14px;
    border: 1px solid transparent;
    border-radius: 9px;
    background: transparent;
    color: #1f3e6b;
    font-size: 12px;
    font-weight: 670;
    box-shadow: none;
    transition: background .15s ease, color .15s ease, box-shadow .15s ease;
}
body.landlord-dashboard-shell[data-page="history"] .reference-history.landlord-history-modern .reference-history-tabs button svg {
    width: 16px;
    height: 16px;
    color: #0c58d6;
    flex-shrink: 0;
}
body.landlord-dashboard-shell[data-page="history"] .reference-history.landlord-history-modern .reference-history-tabs button:hover:not(.active) {
    background: #ffffffb3;
    color: #071a3c;
}
body.landlord-dashboard-shell[data-page="history"] .reference-history.landlord-history-modern .reference-history-tabs button.active {
    background: linear-gradient(115deg, #021d52 0%, #053b8e 46%, #075fff 100%);
    border-color: #1d6bff;
    color: #ffffff;
    box-shadow: 0 4px 12px #075fff29, inset 0 1px 0 #ffffff26;
}
body.landlord-dashboard-shell[data-page="history"] .reference-history.landlord-history-modern .reference-history-tabs button.active svg {
    color: #6ce8ff;
}

/* Search Bar & Advanced Filter Accordion */
body.landlord-dashboard-shell[data-page="history"] .reference-history.landlord-history-modern .record-toolbar {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}
body.landlord-dashboard-shell[data-page="history"] .reference-history.landlord-history-modern .record-search {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 0;
    padding: 0 14px;
    border: 1px solid #c3daf7;
    border-radius: 11px;
    background: #f6faff;
    box-shadow: inset 0 1px 2px #091e4208;
    transition: border-color .15s ease, background .15s ease, box-shadow .15s ease;
}
body.landlord-dashboard-shell[data-page="history"] .reference-history.landlord-history-modern .record-search:focus-within {
    border-color: #075fff;
    background: #ffffff;
    box-shadow: 0 0 0 3px #075fff14;
}
body.landlord-dashboard-shell[data-page="history"] .reference-history.landlord-history-modern .record-search svg {
    width: 18px;
    height: 18px;
    color: #36598a;
    flex-shrink: 0;
}
body.landlord-dashboard-shell[data-page="history"] .reference-history.landlord-history-modern .record-search input {
    width: 100%;
    min-width: 0;
    min-height: 42px;
    padding: 9px 0;
    border: 0;
    background: transparent;
    color: #091a3a;
    font-size: 12.5px;
    font-weight: 520;
    outline: none;
    box-shadow: none;
}
body.landlord-dashboard-shell[data-page="history"] .reference-history.landlord-history-modern .record-search input::placeholder {
    color: #6680a5;
}
body.landlord-dashboard-shell[data-page="history"] .reference-history.landlord-history-modern .record-toolbar > .button {
    min-height: 42px;
    padding: 0 18px;
    border-radius: 11px;
    background: linear-gradient(115deg, #03225c 0%, #075fff 100%);
    border: 1px solid #2470ff;
    color: #ffffff;
    font-size: 12.5px;
    font-weight: 680;
    white-space: nowrap;
    box-shadow: 0 4px 12px #075fff24, inset 0 1px 0 #ffffff29;
    transition: filter .15s ease, transform .15s ease;
}
body.landlord-dashboard-shell[data-page="history"] .reference-history.landlord-history-modern .record-toolbar > .button:hover {
    filter: brightness(1.07);
}
body.landlord-dashboard-shell[data-page="history"] .reference-history.landlord-history-modern details.advanced-filters {
    margin-bottom: 16px;
    padding: 11px 14px;
    border-radius: 12px;
    border: 1px solid #c9def8;
    background: linear-gradient(180deg, #f7faff 0%, #eef5ff 100%);
}
body.landlord-dashboard-shell[data-page="history"] .reference-history.landlord-history-modern details.advanced-filters > summary {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    cursor: pointer;
    color: #071a3c;
}
body.landlord-dashboard-shell[data-page="history"] .reference-history.landlord-history-modern details.advanced-filters > summary::-webkit-details-marker {
    display: none;
}
body.landlord-dashboard-shell[data-page="history"] .reference-history.landlord-history-modern .ldi-summary-lead {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}
body.landlord-dashboard-shell[data-page="history"] .reference-history.landlord-history-modern .ldi-summary-icon {
    width: 32px;
    height: 32px;
    border-radius: 9px;
    display: inline-grid;
    place-items: center;
    flex-shrink: 0;
    background: #e6f0ff;
    border: 1px solid #c1daf9;
    color: #075fff;
}
body.landlord-dashboard-shell[data-page="history"] .reference-history.landlord-history-modern .ldi-summary-icon svg {
    width: 16px;
    height: 16px;
}
body.landlord-dashboard-shell[data-page="history"] .reference-history.landlord-history-modern .ldi-summary-copy {
    display: grid;
    gap: 1px;
}
body.landlord-dashboard-shell[data-page="history"] .reference-history.landlord-history-modern .ldi-summary-copy .eyebrow {
    color: #075fff;
    font-size: 8.5px;
    font-weight: 760;
    letter-spacing: 1.15px;
    text-transform: uppercase;
}
body.landlord-dashboard-shell[data-page="history"] .reference-history.landlord-history-modern .ldi-summary-copy strong {
    color: #071a3c;
    font-size: 12.5px;
    font-weight: 720;
}
body.landlord-dashboard-shell[data-page="history"] .reference-history.landlord-history-modern .ldi-summary-chevron {
    width: 26px;
    height: 26px;
    border-radius: 8px;
    display: inline-grid;
    place-items: center;
    flex-shrink: 0;
    background: #ffffff;
    border: 1px solid #c8ddf8;
    color: #1f4882;
    transition: transform .18s ease, background .15s ease;
}
body.landlord-dashboard-shell[data-page="history"] .reference-history.landlord-history-modern .ldi-summary-chevron svg {
    width: 14px;
    height: 14px;
}
body.landlord-dashboard-shell[data-page="history"] .reference-history.landlord-history-modern details.advanced-filters[open] > summary {
    padding-bottom: 11px;
    margin-bottom: 12px;
    border-bottom: 1px solid #d7e6fa;
}
body.landlord-dashboard-shell[data-page="history"] .reference-history.landlord-history-modern details.advanced-filters[open] .ldi-summary-chevron {
    transform: rotate(180deg);
    background: #dfecff;
    color: #075fff;
}
body.landlord-dashboard-shell[data-page="history"] .reference-history.landlord-history-modern .filter-bar {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr)) auto;
    gap: 12px;
    align-items: end;
    margin-top: 0;
}
body.landlord-dashboard-shell[data-page="history"] .reference-history.landlord-history-modern .filter-bar label {
    display: grid;
    gap: 5px;
    color: #21406d;
    font-size: 10.5px;
    font-weight: 720;
    letter-spacing: .35px;
    text-transform: uppercase;
}
body.landlord-dashboard-shell[data-page="history"] .reference-history.landlord-history-modern .filter-bar input,
body.landlord-dashboard-shell[data-page="history"] .reference-history.landlord-history-modern .filter-bar select {
    width: 100%;
    min-width: 0;
    height: 38px;
    min-height: 38px;
    padding: 0 11px;
    box-sizing: border-box;
    border: 1px solid #c3daf7;
    border-radius: 9px;
    background: #ffffff;
    color: #091a3a;
    font-size: 12px;
    font-weight: 560;
}
body.landlord-dashboard-shell[data-page="history"] .reference-history.landlord-history-modern .filter-bar [data-clear-filters] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 38px;
    min-height: 38px;
    padding: 0 14px;
    box-sizing: border-box;
    border-radius: 9px;
    border: 1px solid #c3daf7;
    background: #ffffff;
    color: #163d77;
    font-size: 12px;
    font-weight: 670;
    white-space: nowrap;
}
body.landlord-dashboard-shell[data-page="history"] .reference-history.landlord-history-modern .filter-bar [data-clear-filters]:hover {
    background: #e8f1ff;
    border-color: #96bef7;
    color: #075fff;
}

/* 4. Framed Statement Ledger Table, Category Badges, Row Actions & Pagination */
body.landlord-dashboard-shell[data-page="history"] .reference-history.landlord-history-modern .ldh-ledger-frame {
    border: 1px solid #cfe1f9;
    border-radius: 13px;
    overflow: hidden;
    background: #ffffff;
}
body.landlord-dashboard-shell[data-page="history"] .reference-history.landlord-history-modern .ldh-ledger-frame .activity-list {
    margin: 0;
    padding: 0;
    border: 0;
}
body.landlord-dashboard-shell[data-page="history"] .reference-history.landlord-history-modern .statement-labels,
body.landlord-dashboard-shell[data-page="history"] .reference-history.landlord-history-modern .activity-row[data-transaction] {
    display: grid;
    grid-template-columns: 48px minmax(175px, 2.15fr) minmax(112px, 1.15fr) minmax(135px, 1.3fr) minmax(95px, 1fr) minmax(96px, .95fr) 52px;
    gap: 14px;
    align-items: center;
}
body.landlord-dashboard-shell[data-page="history"] .reference-history.landlord-history-modern .statement-labels {
    padding: 12px 16px;
    border-radius: 0;
    border-bottom: 1px solid #cbdcf7;
    background: linear-gradient(180deg, #eaf2ff 0%, #e1edfe 100%);
    color: #173768;
    font-size: 10px;
    font-weight: 760;
    letter-spacing: .55px;
    text-transform: uppercase;
}
body.landlord-dashboard-shell[data-page="history"] .reference-history.landlord-history-modern .statement-labels span {
    text-align: left;
}
body.landlord-dashboard-shell[data-page="history"] .reference-history.landlord-history-modern .statement-labels span:last-child {
    text-align: center;
}
body.landlord-dashboard-shell[data-page="history"] .reference-history.landlord-history-modern .activity-row[data-transaction] {
    padding: 12px 16px;
    border-radius: 0;
    border-bottom: 1px solid #e7f0fc;
    background: #ffffff;
    transition: background .14s ease;
}
body.landlord-dashboard-shell[data-page="history"] .reference-history.landlord-history-modern .activity-row[data-transaction]:nth-child(even) {
    background: #f9fbff;
}
body.landlord-dashboard-shell[data-page="history"] .reference-history.landlord-history-modern .activity-row[data-transaction]:last-child {
    border-bottom: 0;
}
body.landlord-dashboard-shell[data-page="history"] .reference-history.landlord-history-modern .activity-row[data-transaction]:hover {
    background: #eef5ff;
}
body.landlord-dashboard-shell[data-page="history"] .reference-history.landlord-history-modern .reference-row-id {
    color: #3d5b86;
    font-size: 11.5px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}
body.landlord-dashboard-shell[data-page="history"] .reference-history.landlord-history-modern .reference-row-description {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}
body.landlord-dashboard-shell[data-page="history"] .reference-row-description > span:last-child { min-width: 0; }
body.landlord-dashboard-shell[data-page="history"] .reference-row-description b { display: block; white-space: normal; overflow-wrap: anywhere; }
body.landlord-dashboard-shell[data-page="history"] .reference-history.landlord-history-modern .reference-row-symbol {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: inline-grid;
    place-items: center;
    flex-shrink: 0;
    background: linear-gradient(145deg, #e5faf5, #ccf2ea);
    border: 1px solid #9adfd0;
    color: #0b7a58;
}
body.landlord-dashboard-shell[data-page="history"] .reference-history.landlord-history-modern .reference-row-symbol.reference-money-out {
    background: linear-gradient(145deg, #edf3fc, #dce7f7);
    border: 1px solid #b9cde8;
    color: #1b3f73;
}
body.landlord-dashboard-shell[data-page="history"] .reference-history.landlord-history-modern .reference-row-symbol svg {
    width: 18px;
    height: 18px;
}
body.landlord-dashboard-shell[data-page="history"] .reference-history.landlord-history-modern .reference-row-description b {
    color: #081d42;
    font-size: 12.5px;
    font-weight: 700;
    line-height: 1.3;
    overflow-wrap: anywhere;
}
body.landlord-dashboard-shell[data-page="history"] .reference-history.landlord-history-modern .reference-row-description small {
    margin-top: 3px;
    color: #536f97;
    font-size: 10.5px;
    font-weight: 560;
    font-variant-numeric: tabular-nums;
}
body.landlord-dashboard-shell[data-page="history"] .reference-history.landlord-history-modern .reference-category {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    width: fit-content;
    padding: 5px 10px;
    border-radius: 999px;
    background: #e8f1ff;
    border: 1px solid #bfd8fb;
    color: #0648b3;
    font-size: 10.5px;
    font-weight: 700;
    white-space: nowrap;
}
body.landlord-dashboard-shell[data-page="history"] .reference-history.landlord-history-modern .reference-category svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}
body.landlord-dashboard-shell[data-page="history"] .reference-history.landlord-history-modern .reference-category-investment {
    background: #e4f5fb;
    border-color: #a8dcf0;
    color: #075985;
}
body.landlord-dashboard-shell[data-page="history"] .reference-history.landlord-history-modern .reference-category-roi {
    background: #e3f9f0;
    border-color: #a7e6cc;
    color: #077552;
}
body.landlord-dashboard-shell[data-page="history"] .reference-history.landlord-history-modern .activity-row time {
    color: #425f88;
    font-size: 11.5px;
    font-weight: 540;
    font-variant-numeric: tabular-nums;
    line-height: 1.45;
}
body.landlord-dashboard-shell[data-page="history"] .reference-history.landlord-history-modern .activity-row > strong {
    font-size: 13.5px;
    font-weight: 750;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}
body.landlord-dashboard-shell[data-page="history"] .reference-history.landlord-history-modern .activity-row > strong.reference-money-in {
    color: #067a55;
}
body.landlord-dashboard-shell[data-page="history"] .reference-history.landlord-history-modern .activity-row > strong.reference-money-out {
    color: #132f5b;
}
body.landlord-dashboard-shell[data-page="history"] .reference-history.landlord-history-modern .badge {
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 10.5px;
    font-weight: 700;
    justify-self: start;
}
body.landlord-dashboard-shell[data-page="history"] .reference-history.landlord-history-modern .badge.green {
    background: #e3f9f0;
    border: 1px solid #a7e6cc;
    color: #077552;
}
body.landlord-dashboard-shell[data-page="history"] .reference-history.landlord-history-modern .badge.blue {
    background: #e7f0ff;
    border: 1px solid #bfd7fb;
    color: #0b4ac4;
}
body.landlord-dashboard-shell[data-page="history"] .reference-history.landlord-history-modern .reference-view-button {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    border: 1px solid #c5dbf8;
    background: #f5f9ff;
    color: #0c47a1;
    display: grid;
    place-items: center;
    justify-self: center;
    transition: background .14s ease, border-color .14s ease, color .14s ease;
}
body.landlord-dashboard-shell[data-page="history"] .reference-history.landlord-history-modern .reference-view-button:hover {
    background: #075fff;
    border-color: #075fff;
    color: #ffffff;
}
body.landlord-dashboard-shell[data-page="history"] .reference-history.landlord-history-modern .reference-view-button svg {
    width: 17px;
    height: 17px;
}
body.landlord-dashboard-shell[data-page="history"] .reference-history.landlord-history-modern .empty-state {
    min-height: 180px;
    padding: 28px 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-align: center;
    background: linear-gradient(180deg, #fafdff 0%, #f2f7ff 100%);
    color: #4d6890;
}
body.landlord-dashboard-shell[data-page="history"] .reference-history.landlord-history-modern .empty-state svg {
    width: 22px;
    height: 22px;
    padding: 10px;
    box-sizing: content-box;
    border-radius: 12px;
    background: #e6f0ff;
    border: 1px solid #c3daf9;
    color: #075fff;
}
body.landlord-dashboard-shell[data-page="history"] .reference-history.landlord-history-modern .empty-state h3,
body.landlord-dashboard-shell[data-page="history"] .reference-history.landlord-history-modern .empty-state b {
    margin: 2px 0 0;
    color: #081d42;
    font-size: 14px;
    font-weight: 730;
}
body.landlord-dashboard-shell[data-page="history"] .reference-history.landlord-history-modern .pagination {
    margin-top: 14px;
    padding: 12px 2px 0;
    border-top: 1px solid #e3eefc;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    color: #46628a;
    font-size: 12px;
    font-weight: 560;
}
body.landlord-dashboard-shell[data-page="history"] .reference-history.landlord-history-modern .pagination-controls {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-variant-numeric: tabular-nums;
    font-weight: 680;
    color: #0a2146;
}
body.landlord-dashboard-shell[data-page="history"] .reference-history.landlord-history-modern .pagination-controls button {
    min-height: 36px;
    padding: 7px 13px;
    border-radius: 9px;
    border: 1px solid #c4dbf8;
    background: #f4f8ff;
    color: #0b449c;
    font-size: 12px;
    font-weight: 680;
    transition: background .15s ease, border-color .15s ease;
}
body.landlord-dashboard-shell[data-page="history"] .reference-history.landlord-history-modern .pagination-controls button:hover:not(:disabled) {
    background: #e1edff;
    border-color: #93bcf6;
    color: #075fff;
}
body.landlord-dashboard-shell[data-page="history"] .reference-history.landlord-history-modern .pagination-controls button:disabled {
    opacity: .5;
    cursor: not-allowed;
}

/* 5. Responsive Breakpoints for Landlord Transaction History (`1672px` -> `320px`) */
@media (max-width: 1400px) {
    body.landlord-dashboard-shell[data-page="history"] .reference-history.landlord-history-modern .ld-hero-bar {
        width: 100%;
        justify-content: space-between;
        margin-left: 0;
        padding-top: 10px;
        border-top: 1px solid #143b6b;
    }
}
@media (max-width: 1300px) {
    body.landlord-dashboard-shell[data-page="history"] .reference-history.landlord-history-modern .section-heading {
        flex-direction: column;
        align-items: flex-start;
    }
    body.landlord-dashboard-shell[data-page="history"] .reference-history.landlord-history-modern .statement-labels,
    body.landlord-dashboard-shell[data-page="history"] .reference-history.landlord-history-modern .activity-row[data-transaction] {
        grid-template-columns: 38px minmax(135px, 2fr) minmax(95px, 1fr) minmax(105px, 1.1fr) 90px 88px 46px;
        gap: 10px;
        padding: 11px 13px;
    }
}
@media (max-width: 1100px) {
    body.landlord-dashboard-shell[data-page="history"] .reference-history.landlord-history-modern .reference-history-summary {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 1000px) {
    body.landlord-dashboard-shell[data-page="history"] .reference-history.landlord-history-modern .statement-labels {
        display: none;
    }
    body.landlord-dashboard-shell[data-page="history"] .reference-history.landlord-history-modern .ldh-ledger-frame {
        border: 0;
        border-radius: 0;
        background: transparent;
        overflow: visible;
    }
    body.landlord-dashboard-shell[data-page="history"] .reference-history.landlord-history-modern .activity-row[data-transaction] {
        grid-template-columns: 44px minmax(0, 1fr) auto;
        gap: 8px 10px;
        padding: 13px 14px;
        margin: 0 0 10px;
        border: 1px solid #cfe1f9;
        border-radius: 12px;
        background: #ffffff;
    }
    body.landlord-dashboard-shell[data-page="history"] .reference-history.landlord-history-modern .activity-row[data-transaction]:last-child {
        margin-bottom: 0;
        border-bottom: 1px solid #cfe1f9;
    }
    body.landlord-dashboard-shell[data-page="history"] .reference-history.landlord-history-modern .reference-row-id {
        grid-column: 1;
        grid-row: 1;
        align-self: center;
    }
    body.landlord-dashboard-shell[data-page="history"] .reference-history.landlord-history-modern .reference-row-description {
        grid-column: 2;
        grid-row: 1;
    }
    body.landlord-dashboard-shell[data-page="history"] .reference-history.landlord-history-modern .reference-category {
        grid-column: 2;
        grid-row: 2;
    }
    body.landlord-dashboard-shell[data-page="history"] .reference-history.landlord-history-modern .activity-row time {
        grid-column: 2;
        grid-row: 3;
    }
    body.landlord-dashboard-shell[data-page="history"] .reference-history.landlord-history-modern .activity-row > strong {
        grid-column: 3;
        grid-row: 1;
        justify-self: end;
    }
    body.landlord-dashboard-shell[data-page="history"] .reference-history.landlord-history-modern .activity-row > .badge {
        grid-column: 3;
        grid-row: 2;
        justify-self: end;
    }
    body.landlord-dashboard-shell[data-page="history"] .reference-history.landlord-history-modern .reference-view-button {
        grid-column: 3;
        grid-row: 3;
        justify-self: end;
    }
    body.landlord-dashboard-shell[data-page="history"] .reference-history.landlord-history-modern .filter-bar {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 760px) {
    body.landlord-dashboard-shell[data-page="history"] .reference-history.landlord-history-modern .customer-reference-banner {
        padding: 16px;
        border-radius: 14px;
        gap: 12px;
    }
    body.landlord-dashboard-shell[data-page="history"] .reference-history.landlord-history-modern .ld-hero-bar {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }
    body.landlord-dashboard-shell[data-page="history"] .reference-history.landlord-history-modern .ld-hero-metrics {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        padding: 8px 10px;
        gap: 8px;
    }
    body.landlord-dashboard-shell[data-page="history"] .reference-history.landlord-history-modern .ld-hero-stat {
        min-width: 0;
        padding: 0 6px;
    }
    body.landlord-dashboard-shell[data-page="history"] .reference-history.landlord-history-modern .ld-hero-stat dd {
        font-size: 12px;
        white-space: normal;
        overflow-wrap: anywhere;
    }
    body.landlord-dashboard-shell[data-page="history"] .reference-history.landlord-history-modern .ld-hero-stat small {
        display: none;
    }
    body.landlord-dashboard-shell[data-page="history"] .reference-history.landlord-history-modern .ld-hero-actions .button {
        min-height: 44px;
        flex: 1;
    }
    body.landlord-dashboard-shell[data-page="history"] .reference-history.landlord-history-modern .reference-history-summary {
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
    }
    body.landlord-dashboard-shell[data-page="history"] .reference-history.landlord-history-modern .reference-summary-card {
        min-height: 0;
        padding: 16px;
    }
    body.landlord-dashboard-shell[data-page="history"] .reference-history.landlord-history-modern .card.panel {
        padding: 16px;
        border-radius: 14px;
    }
    body.landlord-dashboard-shell[data-page="history"] .reference-history.landlord-history-modern .reference-history-tabs {
        width: 100%;
    }
    body.landlord-dashboard-shell[data-page="history"] .reference-history.landlord-history-modern .reference-history-tabs button {
        flex: 1 1 auto;
        padding: 7px 10px;
        font-size: 11px;
    }
    body.landlord-dashboard-shell[data-page="history"] .reference-history.landlord-history-modern .record-toolbar {
        flex-direction: column;
        align-items: stretch;
    }
    body.landlord-dashboard-shell[data-page="history"] .reference-history.landlord-history-modern .record-toolbar > .button {
        width: 100%;
        justify-content: center;
    }
    body.landlord-dashboard-shell[data-page="history"] .reference-history.landlord-history-modern .filter-bar {
        grid-template-columns: minmax(0, 1fr);
    }
    body.landlord-dashboard-shell[data-page="history"] .reference-history.landlord-history-modern .pagination {
        flex-direction: column;
        align-items: stretch;
    }
    body.landlord-dashboard-shell[data-page="history"] .reference-history.landlord-history-modern .pagination-controls {
        width: 100%;
        justify-content: space-between;
    }
}
@media (max-width: 480px) {
    body.landlord-dashboard-shell[data-page="history"] .reference-history.landlord-history-modern .ld-hero-metrics {
        grid-template-columns: minmax(0, 1fr);
        gap: 6px;
    }
    body.landlord-dashboard-shell[data-page="history"] .reference-history.landlord-history-modern .ld-hero-stat {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding: 4px 2px;
    }
    body.landlord-dashboard-shell[data-page="history"] .reference-history.landlord-history-modern .ld-hero-stat + .ld-hero-stat {
        border-left: 0;
        border-top: 1px solid #163f70;
        padding-top: 6px;
    }
    body.landlord-dashboard-shell[data-page="history"] .reference-history.landlord-history-modern .activity-row[data-transaction] {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 8px 14px;
    }
    body.landlord-dashboard-shell[data-page="history"] .reference-history.landlord-history-modern .reference-row-id {
        display: none;
    }
    body.landlord-dashboard-shell[data-page="history"] .reference-history.landlord-history-modern .reference-row-description {
        gap: 9px;
    }
    body.landlord-dashboard-shell[data-page="history"] .reference-history.landlord-history-modern .reference-row-symbol {
        width: 32px;
        height: 32px;
        border-radius: 9px;
    }
    body.landlord-dashboard-shell[data-page="history"] .reference-history.landlord-history-modern .reference-row-description b {
        font-size: 12px;
    }
    body.landlord-dashboard-shell[data-page="history"] .reference-history.landlord-history-modern .activity-row > strong {
        font-size: 12.5px;
    }
    body.landlord-dashboard-shell[data-page="history"] .reference-history.landlord-history-modern .reference-row-description,
    body.landlord-dashboard-shell[data-page="history"] .reference-history.landlord-history-modern .reference-category,
    body.landlord-dashboard-shell[data-page="history"] .reference-history.landlord-history-modern .activity-row time {
        grid-column: 1;
    }
    body.landlord-dashboard-shell[data-page="history"] .reference-history.landlord-history-modern .activity-row > strong,
    body.landlord-dashboard-shell[data-page="history"] .reference-history.landlord-history-modern .activity-row > .badge,
    body.landlord-dashboard-shell[data-page="history"] .reference-history.landlord-history-modern .reference-view-button {
        grid-column: 2;
    }
}
@media (max-width: 350px) {
    body.landlord-dashboard-shell[data-page="history"] .reference-history.landlord-history-modern .ld-hero-actions {
        flex-direction: column;
        align-items: stretch;
    }
}

/* ==========================================================================
   Landlord Workspace Footer Bar (`.main-footer.ld-footer-enhanced`)
   ========================================================================== */
body:not([data-page="wallet"]) .main-footer.ld-footer-enhanced {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    max-width: 1540px;
    width: 100%;
    box-sizing: border-box;
    margin: 18px auto 0;
    padding: 11px 16px 11px 18px;
    border-radius: 14px;
    border: 1px solid #c8def9;
    background: linear-gradient(90deg, #f6faff 0%, #ffffff 48%, #f6faff 100%);
    box-shadow: 0 6px 18px rgba(3, 22, 59, 0.045), inset 0 1px 0 #ffffff;
    color: #3e5b85;
    font-size: 11.5px;
}
body:not([data-page="wallet"]) .main-footer.ld-footer-enhanced::before {
    content: "";
    position: absolute;
    left: 0;
    top: 9px;
    bottom: 9px;
    width: 3.5px;
    border-radius: 0 3px 3px 0;
    background: linear-gradient(180deg, #031b47 0%, #075fff 55%, #05d3f1 100%);
}
.main-footer.ld-footer-enhanced .ld-footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    min-width: 0;
}
.main-footer.ld-footer-enhanced .ld-footer-logo {
    width: 30px;
    height: 30px;
    border-radius: 9px;
    display: inline-grid;
    place-items: center;
    flex-shrink: 0;
    background: linear-gradient(145deg, #021338 0%, #062b68 100%);
    border: 1px solid #164486;
    box-shadow: 0 2px 6px rgba(2, 19, 56, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
.main-footer.ld-footer-enhanced .ld-footer-logo img {
    display: block;
    width: 18px;
    height: 19px;
    object-fit: contain;
}
.main-footer.ld-footer-enhanced .ld-footer-brand-copy {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-width: 0;
    flex-wrap: wrap;
}
.main-footer.ld-footer-enhanced .ld-footer-brand-copy strong {
    color: #081d42;
    font-size: 12px;
    font-weight: 720;
    letter-spacing: -0.1px;
    white-space: nowrap;
}
.main-footer.ld-footer-enhanced .ld-footer-sep {
    width: 1px;
    height: 12px;
    background: #c6daf6;
    flex-shrink: 0;
}
.main-footer.ld-footer-enhanced .ld-footer-sub {
    color: #4b6891;
    font-size: 11.5px;
    font-weight: 560;
    white-space: nowrap;
}
.main-footer.ld-footer-enhanced .ld-footer-trust {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 13px;
    border-radius: 999px;
    background: linear-gradient(180deg, #eff6ff 0%, #e6f0fe 100%);
    border: 1px solid #c3dbfa;
    color: #13376a;
    font-size: 11.5px;
    font-weight: 640;
    line-height: 1.3;
}
.main-footer.ld-footer-enhanced .ld-footer-trust .status-dot {
    width: 7px;
    height: 7px;
    margin: 0;
    border-radius: 50%;
    background: #0e9f6e;
    box-shadow: 0 0 0 3px rgba(14, 159, 110, 0.16);
    flex-shrink: 0;
}
.main-footer.ld-footer-enhanced .ld-footer-shield {
    display: inline-grid;
    place-items: center;
    color: #075fff;
    flex-shrink: 0;
}
.main-footer.ld-footer-enhanced .ld-footer-shield svg {
    width: 13.5px;
    height: 13.5px;
}
.main-footer.ld-footer-enhanced .ld-footer-actions {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}
.main-footer.ld-footer-enhanced .ld-footer-actions:has(#logout[hidden]) .ld-footer-divider {
    display: none;
}
.main-footer.ld-footer-enhanced .ld-footer-help {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 32px;
    padding: 0 11px;
    border-radius: 8px;
    border: 1px solid transparent;
    background: transparent;
    color: #365480;
    font-size: 11.5px;
    font-weight: 650;
    cursor: pointer;
    transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.main-footer.ld-footer-enhanced .ld-footer-help:hover {
    background: #ebf3ff;
    border-color: #c8def9;
    color: #075fff;
}
.main-footer.ld-footer-enhanced .ld-footer-help svg {
    width: 14px;
    height: 14px;
    color: #0b53d6;
}
.main-footer.ld-footer-enhanced .ld-footer-divider {
    width: 1px;
    height: 16px;
    background: #d2e2f8;
    flex-shrink: 0;
}
.main-footer.ld-footer-enhanced .ld-footer-logout {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 32px;
    padding: 0 13px;
    border-radius: 9px;
    border: 1px solid #bdd6f8;
    background: linear-gradient(180deg, #f7faff 0%, #eaf2ff 100%);
    color: #083a8a;
    font-size: 11.5px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(4, 28, 74, 0.05);
    transition: background .15s ease, border-color .15s ease, color .15s ease, box-shadow .15s ease;
}
.main-footer.ld-footer-enhanced .ld-footer-logout svg {
    width: 13.5px;
    height: 13.5px;
}
.main-footer.ld-footer-enhanced .ld-footer-logout:hover {
    background: linear-gradient(135deg, #075fff 0%, #0045e8 100%);
    border-color: #075fff;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(7, 95, 255, 0.24);
}
@media (max-width: 980px) {
    .main-footer.ld-footer-enhanced .ld-footer-sep,
    .main-footer.ld-footer-enhanced .ld-footer-sub {
        display: none;
    }
}
@media (max-width: 720px) {
    body:not([data-page="wallet"]) .main-footer.ld-footer-enhanced {
        flex-wrap: wrap;
        gap: 10px 12px;
        padding: 12px 14px 12px 16px;
    }
    .main-footer.ld-footer-enhanced > .ld-footer-trust {
        display: inline-flex !important;
        order: 3;
        width: 100%;
        justify-content: center;
        box-sizing: border-box;
        padding: 6px 12px;
        font-size: 11px;
    }
    .main-footer.ld-footer-enhanced .ld-footer-actions {
        margin-left: auto;
    }
    .main-footer.ld-footer-enhanced .ld-footer-help,
    .main-footer.ld-footer-enhanced .ld-footer-logout {
        min-height: 36px;
    }
}
@media (max-width: 540px) {
    .main-footer.ld-footer-enhanced .ld-footer-brand {
        width: 100%;
    }
    .main-footer.ld-footer-enhanced .ld-footer-brand-copy {
        flex-direction: column;
        align-items: flex-start;
        gap: 1px;
    }
    .main-footer.ld-footer-enhanced .ld-footer-sub {
        display: block;
        font-size: 10.5px;
    }
    .main-footer.ld-footer-enhanced > .ld-footer-trust {
        order: 2;
    }
    .main-footer.ld-footer-enhanced .ld-footer-actions {
        order: 3;
        width: 100%;
        margin-left: 0;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }
    .main-footer.ld-footer-enhanced .ld-footer-actions:has(#logout[hidden]) {
        grid-template-columns: minmax(0, 1fr);
    }
    .main-footer.ld-footer-enhanced .ld-footer-divider {
        display: none;
    }
    .main-footer.ld-footer-enhanced .ld-footer-help,
    .main-footer.ld-footer-enhanced .ld-footer-logout {
        width: 100%;
        justify-content: center;
        box-sizing: border-box;
    }
    .main-footer.ld-footer-enhanced .ld-footer-help {
        border-color: #c8def9;
        background: #f7faff;
    }
}

/* ==========================================================================
   Landlord Property Workspace (`body.landlord-dashboard-shell[data-page="property"]`)
   ========================================================================== */
body.landlord-dashboard-shell[data-page="property"] .reference-property.landlord-property-modern {
    max-width: 1540px;
    min-width: 0;
    margin: 0 auto;
    display: grid;
    gap: 16px;
}

/* 1. Compact Samruddhi Property Header Bar (no 3D AI apartment clipart) */
body.landlord-dashboard-shell[data-page="property"] .reference-property.landlord-property-modern .reference-banner-art {
    display: none !important;
}
body.landlord-dashboard-shell[data-page="property"] .reference-property.landlord-property-modern .customer-reference-banner {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px 24px;
    min-height: 0;
    padding: 18px 24px;
    border-radius: 16px;
    border: 1px solid #0e3872;
    background:
        radial-gradient(62% 140% at 100% 0%, #05d3f124 0%, transparent 56%),
        radial-gradient(50% 130% at 55% 110%, #075fff30 0%, transparent 62%),
        linear-gradient(125deg, #010e30 0%, #021a47 58%, #042868 100%);
    box-shadow: 0 12px 28px #010d2a22, inset 0 1px 0 #4fd8ff26;
    color: #f4f9ff;
}
body.landlord-dashboard-shell[data-page="property"] .reference-property.landlord-property-modern .customer-reference-banner::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 2px;
    background: linear-gradient(90deg, #075fff 0%, #05d3f1 55%, transparent 100%);
    opacity: .9;
    pointer-events: none;
}
body.landlord-dashboard-shell[data-page="property"] .reference-property.landlord-property-modern .reference-banner-copy {
    position: relative;
    z-index: 1;
    max-width: none;
    min-width: min(290px, 100%);
    flex: 1 1 320px;
    padding: 0;
}
body.landlord-dashboard-shell[data-page="property"] .reference-property.landlord-property-modern .ld-hero-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;
    margin: 0 0 6px;
}
body.landlord-dashboard-shell[data-page="property"] .reference-property.landlord-property-modern .ld-hero-meta .eyebrow {
    display: inline-block;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: #36d6f5;
    font-size: 9.5px;
    font-weight: 760;
    letter-spacing: 1.35px;
    text-transform: uppercase;
}
body.landlord-dashboard-shell[data-page="property"] .reference-property.landlord-property-modern .ld-hero-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 2px 9px;
    border-radius: 999px;
    border: 1px solid #1e5b78;
    background: #062b4d;
    color: #9ef0dc;
    font-size: 10px;
    font-weight: 660;
    letter-spacing: .1px;
}
body.landlord-dashboard-shell[data-page="property"] .reference-property.landlord-property-modern .ld-status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 0 2px #10b98133;
}
body.landlord-dashboard-shell[data-page="property"] .reference-property.landlord-property-modern .ld-hero-status[data-status="pending"] {
    border-color: #7c5c1a;
    background: #33260b;
    color: #fde68a;
}
body.landlord-dashboard-shell[data-page="property"] .reference-property.landlord-property-modern .ld-hero-status[data-status="pending"] .ld-status-dot {
    background: #f59e0b;
    box-shadow: 0 0 0 2px #f59e0b33;
}
body.landlord-dashboard-shell[data-page="property"] .reference-property.landlord-property-modern .reference-banner-copy h1 {
    margin: 0;
    color: #ffffff;
    font-size: clamp(19px, 1.6vw, 23px);
    font-weight: 760;
    line-height: 1.2;
    letter-spacing: -.45px;
}
body.landlord-dashboard-shell[data-page="property"] .reference-property.landlord-property-modern .reference-banner-copy h1 em {
    font-style: normal;
    color: #2ad4f5;
}
body.landlord-dashboard-shell[data-page="property"] .reference-property.landlord-property-modern .reference-banner-copy p {
    margin: 5px 0 0;
    max-width: 540px;
    color: #b7cef0;
    font-size: 12px;
    line-height: 1.45;
    font-weight: 460;
}
body.landlord-dashboard-shell[data-page="property"] .reference-property.landlord-property-modern .ld-hero-bar {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-left: auto;
}
body.landlord-dashboard-shell[data-page="property"] .reference-property.landlord-property-modern .ld-hero-metrics {
    display: flex;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 7px 14px;
    border-radius: 12px;
    border: 1px solid #16447d;
    background: #031b45cc;
    box-shadow: inset 0 1px 0 #ffffff12;
}
body.landlord-dashboard-shell[data-page="property"] .reference-property.landlord-property-modern .ld-hero-stat {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1px;
    padding: 0 14px;
    min-width: 96px;
}
body.landlord-dashboard-shell[data-page="property"] .reference-property.landlord-property-modern .ld-hero-stat:first-child {
    padding-left: 2px;
}
body.landlord-dashboard-shell[data-page="property"] .reference-property.landlord-property-modern .ld-hero-stat:last-child {
    padding-right: 2px;
}
body.landlord-dashboard-shell[data-page="property"] .reference-property.landlord-property-modern .ld-hero-stat + .ld-hero-stat {
    border-left: 1px solid #163f73;
}
body.landlord-dashboard-shell[data-page="property"] .reference-property.landlord-property-modern .ld-hero-stat dt {
    color: #8ab1e3;
    font-size: 9.5px;
    font-weight: 680;
    letter-spacing: .35px;
    text-transform: uppercase;
}
body.landlord-dashboard-shell[data-page="property"] .reference-property.landlord-property-modern .ld-hero-stat dd {
    margin: 1px 0 0;
    color: #ffffff;
    font-size: 13px;
    font-weight: 740;
    letter-spacing: -.2px;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}
body.landlord-dashboard-shell[data-page="property"] .reference-property.landlord-property-modern .ld-hero-stat small {
    color: #6f96c9;
    font-size: 9.5px;
    line-height: 1.25;
    white-space: nowrap;
}
body.landlord-dashboard-shell[data-page="property"] .reference-property.landlord-property-modern .ld-hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}
body.landlord-dashboard-shell[data-page="property"] .reference-property.landlord-property-modern .ld-hero-actions .button {
    min-height: 38px;
    padding: 0 15px;
    border-radius: 10px;
    border: 1px solid #225493;
    background: #062558;
    color: #eaf4ff;
    font-size: 12px;
    font-weight: 680;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    box-shadow: inset 0 1px 0 #ffffff14;
    white-space: nowrap;
    transition: background .16s ease, border-color .16s ease, box-shadow .16s ease;
}
body.landlord-dashboard-shell[data-page="property"] .reference-property.landlord-property-modern .ld-hero-actions .button svg {
    width: 15px;
    height: 15px;
}
body.landlord-dashboard-shell[data-page="property"] .reference-property.landlord-property-modern .ld-hero-actions .button:hover {
    background: #0a3478;
    border-color: #3a7bd5;
}
body.landlord-dashboard-shell[data-page="property"] .reference-property.landlord-property-modern .ld-hero-actions .button.primary {
    border-color: #2982ff;
    background: linear-gradient(135deg, #075fff 0%, #0047e6 100%);
    color: #ffffff;
    box-shadow: 0 6px 16px #075fff42, inset 0 1px 0 #7cc4ff66;
}
body.landlord-dashboard-shell[data-page="property"] .reference-property.landlord-property-modern .ld-hero-actions .button.primary:hover {
    background: linear-gradient(135deg, #1b6dff 0%, #0550f5 100%);
    border-color: #54a0ff;
}

/* 2. Property Workspace Container & Multi-Record Switcher Dock */
body.landlord-dashboard-shell[data-page="property"] .reference-property.landlord-property-modern .property-profile-workspace,
body.landlord-dashboard-shell[data-page="property"] .reference-property.landlord-property-modern .reference-property-workspace {
    margin-top: 0 !important;
    padding: 0;
    display: grid;
    gap: 16px;
    min-width: 0;
}
body.landlord-dashboard-shell[data-page="property"] .reference-property.landlord-property-modern .property-profile-workspace:not(.reference-property-workspace) > .property-profile-heading {
    display: none;
}
body.landlord-dashboard-shell[data-page="property"] .reference-property.landlord-property-modern .reference-property-switch {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    padding: 6px 8px;
    border-radius: 13px;
    border: 1px solid #c6dcf9;
    background: linear-gradient(180deg, #f8fbff 0%, #edf4ff 100%);
    box-shadow: 0 4px 12px rgba(3, 22, 59, 0.04), inset 0 1px 0 #ffffff;
}
body.landlord-dashboard-shell[data-page="property"] .reference-property.landlord-property-modern .ldp-switch-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0 10px 0 6px;
    margin-right: 2px;
    border-right: 1px solid #c9ddf8;
    color: #2c4c7c;
    font-size: 11px;
    font-weight: 720;
    letter-spacing: .2px;
}
body.landlord-dashboard-shell[data-page="property"] .reference-property.landlord-property-modern .ldp-switch-label svg {
    width: 14px;
    height: 14px;
    color: #075fff;
}
body.landlord-dashboard-shell[data-page="property"] .reference-property.landlord-property-modern .reference-property-switch button {
    min-height: 34px;
    padding: 6px 14px;
    border-radius: 9px;
    border: 1px solid transparent;
    background: transparent;
    color: #163768;
    font-size: 12px;
    font-weight: 650;
    transition: background .15s ease, color .15s ease, border-color .15s ease, box-shadow .15s ease;
}
body.landlord-dashboard-shell[data-page="property"] .reference-property.landlord-property-modern .reference-property-switch button:hover:not(.active) {
    background: #ffffff;
    border-color: #c8def9;
    color: #075fff;
}
body.landlord-dashboard-shell[data-page="property"] .reference-property.landlord-property-modern .reference-property-switch button.active {
    background: linear-gradient(135deg, #075fff 0%, #0047e6 100%);
    border-color: #075fff;
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(7, 95, 255, 0.24);
}

/* 3. Hero Property Showcase Card (`.reference-property-focus`) */
body.landlord-dashboard-shell[data-page="property"] .reference-property.landlord-property-modern .reference-property-focus {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(290px, 0.96fr) minmax(0, 1.84fr);
    gap: 24px;
    align-items: stretch;
    padding: 22px;
    border-radius: 16px;
    border: 1px solid #c7ddf9;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    box-shadow: 0 10px 26px rgba(4, 24, 66, 0.055), inset 0 1px 0 #ffffff;
}
body.landlord-dashboard-shell[data-page="property"] .reference-property.landlord-property-modern .reference-property-focus::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 3px;
    background: linear-gradient(90deg, #031b47 0%, #075fff 52%, #05d3f1 100%);
}
body.landlord-dashboard-shell[data-page="property"] .reference-property.landlord-property-modern .reference-property-gallery {
    position: relative;
    min-width: 0;
    display: flex;
}
body.landlord-dashboard-shell[data-page="property"] .reference-property.landlord-property-modern .reference-property-photo {
    width: 100%;
    height: 100%;
    min-height: 252px;
    max-height: 288px;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #163d75;
    background:
        radial-gradient(80% 100% at 85% 15%, rgba(5, 211, 241, 0.18) 0%, transparent 58%),
        linear-gradient(145deg, #021235 0%, #062863 100%);
    box-shadow: 0 8px 20px rgba(2, 18, 53, 0.14);
    color: #cfe3ff;
    font-size: 12px;
    font-weight: 600;
    gap: 10px;
}
body.landlord-dashboard-shell[data-page="property"] .reference-property.landlord-property-modern .reference-property-photo > svg {
    width: 26px;
    height: 26px;
    padding: 12px;
    box-sizing: content-box;
    border-radius: 13px;
    background: rgba(7, 95, 255, 0.24);
    border: 1px solid rgba(86, 180, 255, 0.35);
    color: #38d9f5;
}
body.landlord-dashboard-shell[data-page="property"] .reference-property.landlord-property-modern .reference-property-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
body.landlord-dashboard-shell[data-page="property"] .reference-property.landlord-property-modern .reference-expand-photo {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    border: 1px solid rgba(125, 211, 252, 0.42);
    background: rgba(2, 18, 52, 0.82);
    color: #ffffff;
    backdrop-filter: blur(6px);
    box-shadow: 0 4px 12px rgba(1, 12, 38, 0.32);
    transition: background .15s ease, border-color .15s ease, transform .15s ease;
}
body.landlord-dashboard-shell[data-page="property"] .reference-property.landlord-property-modern .reference-expand-photo svg {
    width: 18px;
    height: 18px;
}
body.landlord-dashboard-shell[data-page="property"] .reference-property.landlord-property-modern .reference-expand-photo:hover {
    background: #075fff;
    border-color: #67e8f9;
}
body.landlord-dashboard-shell[data-page="property"] .reference-property.landlord-property-modern .reference-photo-count {
    position: absolute;
    bottom: 12px;
    left: 12px;
    padding: 5px 11px;
    border-radius: 999px;
    border: 1px solid rgba(186, 218, 255, 0.34);
    background: rgba(2, 18, 52, 0.86);
    color: #eef6ff;
    font-size: 10.5px;
    font-weight: 650;
    letter-spacing: .1px;
    backdrop-filter: blur(6px);
}

body.landlord-dashboard-shell[data-page="property"] .reference-property.landlord-property-modern .reference-property-intro {
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
body.landlord-dashboard-shell[data-page="property"] .reference-property.landlord-property-modern .ldp-intro-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 8px;
}
body.landlord-dashboard-shell[data-page="property"] .reference-property.landlord-property-modern .reference-property-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 11px;
    border-radius: 999px;
    background: linear-gradient(180deg, #eaf2ff 0%, #dfecff 100%);
    border: 1px solid #bad4fa;
    color: #0646ad;
    font-size: 10px;
    font-weight: 760;
    letter-spacing: .6px;
    text-transform: uppercase;
}
body.landlord-dashboard-shell[data-page="property"] .reference-property.landlord-property-modern .reference-property-badge svg {
    width: 13px;
    height: 13px;
    color: #075fff;
}
body.landlord-dashboard-shell[data-page="property"] .reference-property.landlord-property-modern .ldp-intro-meta .badge {
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 10.5px;
    font-weight: 700;
}
body.landlord-dashboard-shell[data-page="property"] .reference-property.landlord-property-modern .ldp-intro-meta .badge.green {
    background: #e3f9f0;
    border: 1px solid #a7e6cc;
    color: #077552;
}
body.landlord-dashboard-shell[data-page="property"] .reference-property.landlord-property-modern .reference-property-title {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: nowrap;
    margin: 0 0 8px;
}
body.landlord-dashboard-shell[data-page="property"] .reference-property.landlord-property-modern .reference-property-title h2 {
    margin: 0;
    color: #071b3e;
    font-size: clamp(20px, 1.85vw, 25px);
    font-weight: 760;
    line-height: 1.25;
    letter-spacing: -.45px;
    overflow-wrap: anywhere;
}
body.landlord-dashboard-shell[data-page="property"] .reference-property.landlord-property-modern .reference-edit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 9px;
    border: 1px solid #c2d9f8;
    background: linear-gradient(180deg, #f8fbff 0%, #ebf3ff 100%);
    color: #094099;
    font-size: 11.5px;
    font-weight: 700;
    white-space: nowrap;
    flex-shrink: 0;
    box-shadow: 0 1px 3px rgba(4, 28, 74, 0.05);
    transition: background .15s ease, border-color .15s ease, color .15s ease, box-shadow .15s ease;
}
body.landlord-dashboard-shell[data-page="property"] .reference-property.landlord-property-modern .reference-edit svg {
    width: 14px;
    height: 14px;
}
body.landlord-dashboard-shell[data-page="property"] .reference-property.landlord-property-modern .reference-edit:hover {
    background: linear-gradient(135deg, #075fff 0%, #0047e6 100%);
    border-color: #075fff;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(7, 95, 255, 0.22);
}
body.landlord-dashboard-shell[data-page="property"] .reference-property.landlord-property-modern .reference-property-intro > p {
    margin: 0 0 18px;
    color: #46638c;
    font-size: 13px;
    line-height: 1.55;
}

/* 4-Tile Samruddhi Fact Strip (`.reference-property-facts`) */
body.landlord-dashboard-shell[data-page="property"] .reference-property.landlord-property-modern .reference-property-facts {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    padding: 0;
    border-radius: 0;
    background: transparent;
}
body.landlord-dashboard-shell[data-page="property"] .reference-property.landlord-property-modern .reference-property-facts > div {
    padding: 12px 13px;
    border: 1px solid #cbe0fa;
    border-radius: 12px;
    background: linear-gradient(180deg, #f9fcff 0%, #eef5ff 100%);
    box-shadow: inset 0 1px 0 #ffffff;
    min-width: 0;
}
body.landlord-dashboard-shell[data-page="property"] .reference-property.landlord-property-modern .reference-property-facts > div:last-child {
    border: 1px solid #cbe0fa;
}
body.landlord-dashboard-shell[data-page="property"] .reference-property.landlord-property-modern .reference-property-facts dt {
    display: flex;
    align-items: center;
    gap: 7px;
    color: #4a6791;
    font-size: 10px;
    font-weight: 720;
    letter-spacing: .35px;
    text-transform: uppercase;
    line-height: 1.3;
}
body.landlord-dashboard-shell[data-page="property"] .reference-property.landlord-property-modern .ldp-fact-icon {
    width: 24px;
    height: 24px;
    border-radius: 7px;
    display: inline-grid;
    place-items: center;
    flex-shrink: 0;
    background: #e2eeff;
    border: 1px solid #bfd8fb;
    color: #075fff;
}
body.landlord-dashboard-shell[data-page="property"] .reference-property.landlord-property-modern .reference-property-facts > div:nth-child(2) .ldp-fact-icon {
    background: #e3f5fc;
    border-color: #b0dff2;
    color: #0284c7;
}
body.landlord-dashboard-shell[data-page="property"] .reference-property.landlord-property-modern .reference-property-facts > div:nth-child(3) .ldp-fact-icon {
    background: #e3f9f0;
    border-color: #a9e7cd;
    color: #067a55;
}
body.landlord-dashboard-shell[data-page="property"] .reference-property.landlord-property-modern .reference-property-facts > div:nth-child(4) .ldp-fact-icon {
    background: #e8eef9;
    border-color: #c2d2eb;
    color: #163a70;
}
body.landlord-dashboard-shell[data-page="property"] .reference-property.landlord-property-modern .ldp-fact-icon svg {
    width: 13.5px;
    height: 13.5px;
}
body.landlord-dashboard-shell[data-page="property"] .reference-property.landlord-property-modern .reference-property-facts dd {
    margin: 9px 0 0;
    color: #081d42;
    font-size: 13.5px;
    font-weight: 740;
    line-height: 1.3;
    letter-spacing: -.15px;
    overflow-wrap: anywhere;
}

/* 4. Three Structured Samruddhi Detail Panels (`.reference-property-panels`) */
body.landlord-dashboard-shell[data-page="property"] .reference-property.landlord-property-modern .reference-property-panels {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    min-width: 0;
    align-items: stretch;
}
body.landlord-dashboard-shell[data-page="property"] .reference-property.landlord-property-modern .reference-detail-panel {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    padding: 20px;
    border-radius: 16px;
    border: 1px solid #c7ddf9;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    box-shadow: 0 8px 22px rgba(4, 24, 66, 0.05), inset 0 1px 0 #ffffff;
    min-width: 0;
}
body.landlord-dashboard-shell[data-page="property"] .reference-property.landlord-property-modern .reference-detail-panel::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 3px;
    background: linear-gradient(90deg, #075fff 0%, #05d3f1 100%);
}
body.landlord-dashboard-shell[data-page="property"] .reference-property.landlord-property-modern .reference-detail-panel:nth-child(2)::before {
    background: linear-gradient(90deg, #0369a1 0%, #05d3f1 100%);
}
body.landlord-dashboard-shell[data-page="property"] .reference-property.landlord-property-modern .reference-detail-panel:nth-child(3)::before {
    background: linear-gradient(90deg, #0e9f6e 0%, #0891b2 100%);
}
body.landlord-dashboard-shell[data-page="property"] .reference-property.landlord-property-modern .reference-detail-panel > header {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    padding-bottom: 14px;
    margin-bottom: 14px;
    border-bottom: 1px solid #e3eefc;
}
body.landlord-dashboard-shell[data-page="property"] .reference-property.landlord-property-modern .reference-detail-panel > header > span {
    width: 38px;
    height: 38px;
    border-radius: 11px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    background: linear-gradient(145deg, #e6f0ff, #d4e6ff);
    border: 1px solid #b7d3fa;
    color: #075fff;
}
body.landlord-dashboard-shell[data-page="property"] .reference-property.landlord-property-modern .reference-detail-panel:nth-child(2) > header > span {
    background: linear-gradient(145deg, #e2f5fc, #ccecfb);
    border: 1px solid #a8dcf2;
    color: #0369a1;
}
body.landlord-dashboard-shell[data-page="property"] .reference-property.landlord-property-modern .reference-detail-panel:nth-child(3) > header > span {
    background: linear-gradient(145deg, #e3faf1, #cbf3e3);
    border: 1px solid #a3e4ca;
    color: #067a55;
}
body.landlord-dashboard-shell[data-page="property"] .reference-property.landlord-property-modern .reference-detail-panel > header svg {
    width: 19px;
    height: 19px;
}
body.landlord-dashboard-shell[data-page="property"] .reference-property.landlord-property-modern .reference-detail-panel > header > div .eyebrow {
    display: block;
    margin: 0 0 2px;
    color: #075fff;
    font-size: 9.5px;
    font-weight: 760;
    letter-spacing: 1.1px;
    text-transform: uppercase;
}
body.landlord-dashboard-shell[data-page="property"] .reference-property.landlord-property-modern .reference-detail-panel:nth-child(2) > header > div .eyebrow {
    color: #0369a1;
}
body.landlord-dashboard-shell[data-page="property"] .reference-property.landlord-property-modern .reference-detail-panel:nth-child(3) > header > div .eyebrow {
    color: #067a55;
}
body.landlord-dashboard-shell[data-page="property"] .reference-property.landlord-property-modern .reference-detail-panel h2 {
    margin: 0;
    color: #071b3e;
    font-size: 16px;
    font-weight: 740;
    letter-spacing: -.3px;
    line-height: 1.25;
}
body.landlord-dashboard-shell[data-page="property"] .reference-property.landlord-property-modern .reference-detail-panel header p {
    margin: 3px 0 0;
    color: #516d96;
    font-size: 11.5px;
    line-height: 1.4;
}

/* Owner Identity Strip inside Card 1 */
body.landlord-dashboard-shell[data-page="property"] .reference-property.landlord-property-modern .reference-owner {
    display: flex;
    align-items: center;
    gap: 13px;
    margin: 0 0 12px;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid #c5dcfb;
    background: linear-gradient(135deg, #eef5ff 0%, #e3eeff 100%);
}
body.landlord-dashboard-shell[data-page="property"] .reference-property.landlord-property-modern .reference-owner-avatar {
    width: 48px;
    height: 48px;
    border-radius: 13px;
    border: 2px solid #9ec5fb;
    background: linear-gradient(135deg, #031d4e 0%, #075fff 100%);
    box-shadow: 0 4px 10px rgba(3, 29, 78, 0.18);
    color: #ffffff;
    font-size: 16px;
    font-weight: 760;
    letter-spacing: .4px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
}
body.landlord-dashboard-shell[data-page="property"] .reference-property.landlord-property-modern .reference-owner h3 {
    margin: 0 0 5px;
    color: #071b3e;
    font-size: 15.5px;
    font-weight: 750;
    letter-spacing: -.2px;
    line-height: 1.25;
}
body.landlord-dashboard-shell[data-page="property"] .reference-property.landlord-property-modern .reference-owner .reference-property-badge {
    padding: 3px 9px;
    font-size: 9.5px;
    background: #ffffff;
    border-color: #b7d3fa;
}

/* Detail Key-Value Rows (`dl`) */
body.landlord-dashboard-shell[data-page="property"] .reference-property.landlord-property-modern .reference-detail-panel dl {
    margin: 0;
    display: grid;
    gap: 0;
}
body.landlord-dashboard-shell[data-page="property"] .reference-property.landlord-property-modern .reference-detail-panel dl > div {
    display: grid;
    grid-template-columns: minmax(115px, 0.95fr) minmax(0, 1.25fr);
    align-items: start;
    gap: 12px;
    padding: 11px 2px;
    border-top: 1px solid #e6f0fc;
}
body.landlord-dashboard-shell[data-page="property"] .reference-property.landlord-property-modern .reference-detail-panel dl > div:first-child {
    border-top: 0;
    padding-top: 4px;
}
body.landlord-dashboard-shell[data-page="property"] .reference-property.landlord-property-modern .reference-detail-panel dt {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #496690;
    font-size: 11.5px;
    font-weight: 600;
    line-height: 1.45;
}
body.landlord-dashboard-shell[data-page="property"] .reference-property.landlord-property-modern .ldp-dt-icon {
    width: 24px;
    height: 24px;
    border-radius: 7px;
    display: inline-grid;
    place-items: center;
    flex-shrink: 0;
    background: #edf4ff;
    border: 1px solid #cfe1fa;
    color: #075fff;
}
body.landlord-dashboard-shell[data-page="property"] .reference-property.landlord-property-modern .reference-detail-panel:nth-child(2) .ldp-dt-icon {
    background: #ebfafd;
    border-color: #c2e8f6;
    color: #0369a1;
}
body.landlord-dashboard-shell[data-page="property"] .reference-property.landlord-property-modern .reference-detail-panel:nth-child(3) .ldp-dt-icon {
    background: #eafaf3;
    border-color: #bfead7;
    color: #067a55;
}
body.landlord-dashboard-shell[data-page="property"] .reference-property.landlord-property-modern .ldp-dt-icon svg {
    width: 13.5px;
    height: 13.5px;
}
body.landlord-dashboard-shell[data-page="property"] .reference-property.landlord-property-modern .reference-detail-panel dd {
    margin: 0;
    padding-top: 2px;
    color: #081d42;
    font-size: 12.5px;
    font-weight: 670;
    line-height: 1.55;
    overflow-wrap: anywhere;
    white-space: pre-wrap;
}
body.landlord-dashboard-shell[data-page="property"] .reference-property.landlord-property-modern .reference-data-note {
    margin: 12px 0 0;
    padding: 8px 11px;
    border-radius: 9px;
    border: 1px solid #d5e4f8;
    background: #f3f8ff;
    color: #4c6891;
    font-size: 11px;
    line-height: 1.5;
}

/* 5. Empty State, Pagination, Linked Properties Drawer & Disclaimer Bar */
body.landlord-dashboard-shell[data-page="property"] .reference-property.landlord-property-modern .property-record-empty {
    min-height: 240px;
    padding: 36px 24px;
    border-radius: 16px;
    border: 1px dashed #9ec4f7;
    background: linear-gradient(180deg, #ffffff 0%, #f1f7ff 100%);
    box-shadow: 0 6px 18px rgba(4, 24, 66, 0.04);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}
body.landlord-dashboard-shell[data-page="property"] .reference-property.landlord-property-modern .property-record-empty > svg {
    width: 28px;
    height: 28px;
    padding: 14px;
    box-sizing: content-box;
    border-radius: 14px;
    background: linear-gradient(145deg, #e5f0ff, #d3e5ff);
    border: 1px solid #b5d2fa;
    color: #075fff;
    margin: 0;
}
body.landlord-dashboard-shell[data-page="property"] .reference-property.landlord-property-modern .property-record-empty h3 {
    margin: 14px 0 6px;
    color: #081d42;
    font-size: 17px;
    font-weight: 740;
}
body.landlord-dashboard-shell[data-page="property"] .reference-property.landlord-property-modern .property-record-empty p {
    margin: 0;
    max-width: 440px;
    color: #4c6891;
    font-size: 12.5px;
    line-height: 1.55;
}

body.landlord-dashboard-shell[data-page="property"] .reference-property.landlord-property-modern .pagination {
    padding: 12px 16px;
    border-radius: 13px;
    border: 1px solid #cbe0fa;
    background: linear-gradient(180deg, #ffffff 0%, #f6faff 100%);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    color: #46628a;
    font-size: 12px;
    font-weight: 580;
}
body.landlord-dashboard-shell[data-page="property"] .reference-property.landlord-property-modern .pagination > div {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
body.landlord-dashboard-shell[data-page="property"] .reference-property.landlord-property-modern .pagination button {
    min-height: 34px;
    padding: 0 13px;
    border-radius: 9px;
    border: 1px solid #c3daf8;
    background: #f4f8ff;
    color: #0a4199;
    font-size: 12px;
    font-weight: 680;
    text-decoration: none;
    transition: background .15s ease, border-color .15s ease, color .15s ease;
}
body.landlord-dashboard-shell[data-page="property"] .reference-property.landlord-property-modern .pagination button:hover:not(:disabled) {
    background: #e1edff;
    border-color: #93bcf6;
    color: #075fff;
}
body.landlord-dashboard-shell[data-page="property"] .reference-property.landlord-property-modern .pagination button:disabled {
    opacity: .5;
    cursor: not-allowed;
}

body.landlord-dashboard-shell[data-page="property"] .reference-property.landlord-property-modern details.property-linked-register {
    padding: 14px 18px;
    border-radius: 14px;
    border: 1px solid #c7ddf9;
    background: linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
    box-shadow: 0 4px 14px rgba(4, 24, 66, 0.04);
    margin: 0;
}
body.landlord-dashboard-shell[data-page="property"] .reference-property.landlord-property-modern details.property-linked-register > summary {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    cursor: pointer;
}
body.landlord-dashboard-shell[data-page="property"] .reference-property.landlord-property-modern details.property-linked-register > summary::-webkit-details-marker {
    display: none;
}
body.landlord-dashboard-shell[data-page="property"] .reference-property.landlord-property-modern details.property-linked-register .ldi-summary-lead {
    display: flex;
    align-items: center;
    gap: 11px;
    min-width: 0;
}
body.landlord-dashboard-shell[data-page="property"] .reference-property.landlord-property-modern details.property-linked-register .ldi-summary-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    background: #e5effe;
    border: 1px solid #bdd6fb;
    color: #075fff;
}
body.landlord-dashboard-shell[data-page="property"] .reference-property.landlord-property-modern details.property-linked-register .ldi-summary-icon svg {
    width: 17px;
    height: 17px;
}
body.landlord-dashboard-shell[data-page="property"] .reference-property.landlord-property-modern details.property-linked-register .ldi-summary-copy {
    display: flex;
    flex-direction: column;
    gap: 1px;
    min-width: 0;
}
body.landlord-dashboard-shell[data-page="property"] .reference-property.landlord-property-modern details.property-linked-register .ldi-summary-copy .eyebrow {
    margin: 0;
    color: #075fff;
    font-size: 9.5px;
    font-weight: 760;
    letter-spacing: 1px;
    text-transform: uppercase;
}
body.landlord-dashboard-shell[data-page="property"] .reference-property.landlord-property-modern details.property-linked-register .ldi-summary-copy strong {
    color: #081d42;
    font-size: 13px;
    font-weight: 720;
}
body.landlord-dashboard-shell[data-page="property"] .reference-property.landlord-property-modern details.property-linked-register .ldi-summary-chevron {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    border: 1px solid #cbe0fa;
    background: #f5f9ff;
    color: #163d77;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    transition: transform .18s ease;
}
body.landlord-dashboard-shell[data-page="property"] .reference-property.landlord-property-modern details.property-linked-register .ldi-summary-chevron svg {
    width: 15px;
    height: 15px;
}
body.landlord-dashboard-shell[data-page="property"] .reference-property.landlord-property-modern details.property-linked-register[open] .ldi-summary-chevron {
    transform: rotate(180deg);
}
body.landlord-dashboard-shell[data-page="property"] .reference-property.landlord-property-modern details.property-linked-register .table-wrap {
    margin-top: 14px;
    border: 1px solid #cfe1f9;
    border-radius: 12px;
    overflow-x: auto;
    background: #ffffff;
}
body.landlord-dashboard-shell[data-page="property"] .reference-property.landlord-property-modern details.property-linked-register table {
    width: 100%;
    margin: 0;
    border-collapse: collapse;
    font-size: 12px;
}
body.landlord-dashboard-shell[data-page="property"] .reference-property.landlord-property-modern details.property-linked-register th {
    padding: 11px 14px;
    background: linear-gradient(180deg, #eaf2ff 0%, #e1edfe 100%);
    border-bottom: 1px solid #cbdcf7;
    color: #173768;
    font-size: 9.5px;
    font-weight: 760;
    letter-spacing: 0.55px;
    text-transform: uppercase;
    text-align: left;
}
body.landlord-dashboard-shell[data-page="property"] .reference-property.landlord-property-modern details.property-linked-register td {
    padding: 11px 14px;
    border-bottom: 1px solid #e7f0fc;
    color: #081d42;
    font-size: 12px;
    font-weight: 560;
    vertical-align: middle;
}
body.landlord-dashboard-shell[data-page="property"] .reference-property.landlord-property-modern details.property-linked-register tbody tr:nth-child(even) td {
    background: #f8fbff;
}
body.landlord-dashboard-shell[data-page="property"] .reference-property.landlord-property-modern details.property-linked-register tbody tr:last-child td {
    border-bottom: 0;
}

body.landlord-dashboard-shell[data-page="property"] .reference-property.landlord-property-modern .property-record-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 0;
    padding: 10px 16px;
    border: 1px solid #cce0fa;
    border-radius: 12px;
    background: linear-gradient(90deg, #eef5ff 0%, #ffffff 50%, #eef5ff 100%);
    box-shadow: 0 2px 8px rgba(7, 35, 87, 0.03);
    color: #3d5780;
    font-size: 11px;
    font-weight: 540;
    line-height: 1.5;
    text-align: center;
}
body.landlord-dashboard-shell[data-page="property"] .reference-property.landlord-property-modern .property-record-note svg {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
    color: #075fff;
}

/* 6. Responsive Breakpoints for Landlord Property (`1672px` -> `320px`) */
@media (max-width: 1400px) {
    body.landlord-dashboard-shell[data-page="property"] .reference-property.landlord-property-modern .ld-hero-bar {
        width: 100%;
        justify-content: space-between;
        margin-left: 0;
        padding-top: 10px;
        border-top: 1px solid #143b6b;
    }
}
@media (max-width: 1250px) {
    body.landlord-dashboard-shell[data-page="property"] .reference-property.landlord-property-modern .reference-property-focus {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr);
        gap: 20px;
    }
    body.landlord-dashboard-shell[data-page="property"] .reference-property.landlord-property-modern .reference-property-facts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    body.landlord-dashboard-shell[data-page="property"] .reference-property.landlord-property-modern .reference-property-panels {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    body.landlord-dashboard-shell[data-page="property"] .reference-property.landlord-property-modern .reference-detail-panel:last-child {
        grid-column: 1 / -1;
    }
}
@media (max-width: 900px) {
    body.landlord-dashboard-shell[data-page="property"] .reference-property.landlord-property-modern .reference-property-focus {
        grid-template-columns: minmax(0, 1fr);
    }
    body.landlord-dashboard-shell[data-page="property"] .reference-property.landlord-property-modern .reference-property-photo {
        min-height: 220px;
        max-height: 260px;
    }
}
@media (max-width: 760px) {
    body.landlord-dashboard-shell[data-page="property"] .reference-property.landlord-property-modern .customer-reference-banner {
        flex-direction: column;
        align-items: stretch;
        min-height: 0;
        padding: 16px;
        border-radius: 14px;
        gap: 12px;
    }
    body.landlord-dashboard-shell[data-page="property"] .reference-property.landlord-property-modern .reference-banner-copy {
        flex: 0 0 auto;
        width: 100%;
    }
    body.landlord-dashboard-shell[data-page="property"] .reference-property.landlord-property-modern .ld-hero-bar {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }
    body.landlord-dashboard-shell[data-page="property"] .reference-property.landlord-property-modern .ld-hero-metrics {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        padding: 8px 10px;
        gap: 8px;
    }
    body.landlord-dashboard-shell[data-page="property"] .reference-property.landlord-property-modern .ld-hero-stat {
        min-width: 0;
        padding: 0 6px;
    }
    body.landlord-dashboard-shell[data-page="property"] .reference-property.landlord-property-modern .ld-hero-stat dd {
        font-size: 12px;
        white-space: normal;
        overflow-wrap: anywhere;
    }
    body.landlord-dashboard-shell[data-page="property"] .reference-property.landlord-property-modern .ld-hero-stat small {
        display: none;
    }
    body.landlord-dashboard-shell[data-page="property"] .reference-property.landlord-property-modern .ld-hero-actions .button {
        min-height: 42px;
        flex: 1;
    }
    body.landlord-dashboard-shell[data-page="property"] .reference-property.landlord-property-modern .reference-property-focus {
        padding: 16px;
        border-radius: 14px;
    }
    body.landlord-dashboard-shell[data-page="property"] .reference-property.landlord-property-modern .reference-property-panels {
        grid-template-columns: minmax(0, 1fr);
    }
    body.landlord-dashboard-shell[data-page="property"] .reference-property.landlord-property-modern .reference-detail-panel:last-child {
        grid-column: auto;
    }
    body.landlord-dashboard-shell[data-page="property"] .reference-property.landlord-property-modern .reference-detail-panel {
        padding: 16px;
        border-radius: 14px;
    }
    body.landlord-dashboard-shell[data-page="property"] .reference-property.landlord-property-modern .property-record-note {
        align-items: flex-start;
        text-align: left;
    }
}
@media (max-width: 520px) {
    body.landlord-dashboard-shell[data-page="property"] .reference-property.landlord-property-modern .ld-hero-stat dt {
        font-size: 8px;
        letter-spacing: 0.35px;
    }
    body.landlord-dashboard-shell[data-page="property"] .reference-property.landlord-property-modern .ld-hero-stat dd {
        font-size: 11.5px;
    }
    body.landlord-dashboard-shell[data-page="property"] .reference-property.landlord-property-modern .ld-hero-actions {
        display: flex;
        flex-direction: row;
        gap: 8px;
    }
    body.landlord-dashboard-shell[data-page="property"] .reference-property.landlord-property-modern .ld-hero-actions .button {
        min-height: 40px;
        padding: 8px 12px;
        font-size: 11.5px;
    }
    body.landlord-dashboard-shell[data-page="property"] .reference-property.landlord-property-modern .ld-hero-actions .button:last-child {
        flex: 0 0 auto;
    }
    body.landlord-dashboard-shell[data-page="property"] .reference-property.landlord-property-modern .reference-property-title {
        flex-wrap: nowrap;
        align-items: flex-start;
        gap: 10px;
    }
    body.landlord-dashboard-shell[data-page="property"] .reference-property.landlord-property-modern .reference-property-title h2 {
        font-size: 18px;
        flex: 1;
        min-width: 0;
    }
    body.landlord-dashboard-shell[data-page="property"] .reference-property.landlord-property-modern .reference-property-facts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    body.landlord-dashboard-shell[data-page="property"] .reference-property.landlord-property-modern .reference-detail-panel dl > div {
        grid-template-columns: minmax(0, 1fr);
        gap: 5px;
    }
    body.landlord-dashboard-shell[data-page="property"] .reference-property.landlord-property-modern .reference-detail-panel dd {
        padding-left: 32px;
    }
}
@media (max-width: 360px) {
    body.landlord-dashboard-shell[data-page="property"] .reference-property.landlord-property-modern .ld-hero-metrics {
        grid-template-columns: minmax(0, 1fr);
        gap: 6px;
    }
    body.landlord-dashboard-shell[data-page="property"] .reference-property.landlord-property-modern .ld-hero-stat {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding: 4px 2px;
    }
    body.landlord-dashboard-shell[data-page="property"] .reference-property.landlord-property-modern .ld-hero-stat + .ld-hero-stat {
        border-left: 0;
        border-top: 1px solid #163f70;
        padding-top: 6px;
    }
    body.landlord-dashboard-shell[data-page="property"] .reference-property.landlord-property-modern .ld-hero-actions {
        flex-direction: column;
        align-items: stretch;
    }
    body.landlord-dashboard-shell[data-page="property"] .reference-property.landlord-property-modern .reference-property-facts {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* ==========================================================================
   Landlord Referral Workspace (`body.landlord-dashboard-shell[data-page="referral"]`)
   ========================================================================== */
body.landlord-dashboard-shell[data-page="referral"] .reference-referral.landlord-referral-modern {
    max-width: 1540px;
    min-width: 0;
    margin: 0 auto;
    display: grid;
    gap: 16px;
}
body.landlord-dashboard-shell[data-page="referral"] .reference-referral.landlord-referral-modern .reward-workspace {
    margin: 0;
    min-width: 0;
}

/* 1. Compact Samruddhi Referral Header & Personal Code Card (no 3D gift/building clipart) */
body.landlord-dashboard-shell[data-page="referral"] .reference-referral.landlord-referral-modern .referral-hero-art,
body.landlord-dashboard-shell[data-page="referral"] .reference-referral.landlord-referral-modern .referral-hero::after {
    display: none !important;
}
body.landlord-dashboard-shell[data-page="referral"] .reference-referral.landlord-referral-modern .referral-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.92fr);
    align-items: center;
    gap: 24px;
    min-height: 0;
    margin: 0;
    padding: 20px 24px;
    border-radius: 16px;
    border: 1px solid #163d73;
    background:
        radial-gradient(540px 200px at 94% 0%, rgba(5, 211, 241, 0.16), transparent 64%),
        radial-gradient(460px 210px at 56% 100%, rgba(7, 95, 255, 0.22), transparent 68%),
        linear-gradient(125deg, #010e30 0%, #03225c 58%, #063175 100%);
    box-shadow: 0 12px 28px rgba(1, 14, 48, 0.14);
    color: #ffffff;
}
body.landlord-dashboard-shell[data-page="referral"] .reference-referral.landlord-referral-modern .referral-hero::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, #075fff 22%, #05d3f1 55%, transparent 100%);
    opacity: 0.9;
    pointer-events: none;
}
body.landlord-dashboard-shell[data-page="referral"] .reference-referral.landlord-referral-modern .reference-referral-intro {
    display: grid;
    gap: 8px;
    min-width: 0;
    padding: 0 22px 0 0;
    border-right: 1px solid rgba(56, 130, 224, 0.28);
}
body.landlord-dashboard-shell[data-page="referral"] .reference-referral.landlord-referral-modern .ld-hero-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}
body.landlord-dashboard-shell[data-page="referral"] .reference-referral.landlord-referral-modern .reference-referral-intro .eyebrow {
    margin: 0;
    color: #5ee2fc;
    font-size: 9.5px;
    font-weight: 760;
    letter-spacing: 1.3px;
    text-transform: uppercase;
}
body.landlord-dashboard-shell[data-page="referral"] .reference-referral.landlord-referral-modern .ld-hero-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 9px;
    border-radius: 999px;
    border: 1px solid rgba(16, 185, 129, 0.35);
    background: rgba(6, 95, 70, 0.28);
    color: #a7f3d0;
    font-size: 10px;
    font-weight: 660;
    line-height: 1.2;
}
body.landlord-dashboard-shell[data-page="referral"] .reference-referral.landlord-referral-modern .ld-hero-status:not([data-status="active"]) {
    border-color: rgba(245, 158, 11, 0.38);
    background: rgba(120, 53, 15, 0.32);
    color: #fde68a;
}
body.landlord-dashboard-shell[data-page="referral"] .reference-referral.landlord-referral-modern .ld-status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #34d399;
    box-shadow: 0 0 0 2px rgba(52, 211, 153, 0.22);
}
body.landlord-dashboard-shell[data-page="referral"] .reference-referral.landlord-referral-modern .reference-referral-intro h1 {
    margin: 0;
    color: #ffffff;
    font-size: clamp(21px, 1.85vw, 26px);
    font-weight: 780;
    line-height: 1.18;
    letter-spacing: -0.55px;
}
body.landlord-dashboard-shell[data-page="referral"] .reference-referral.landlord-referral-modern .reference-referral-intro em {
    font-style: normal;
    color: #3fe0ff;
    background: none;
    -webkit-background-clip: border-box;
    background-clip: border-box;
    -webkit-text-fill-color: currentColor;
}
body.landlord-dashboard-shell[data-page="referral"] .reference-referral.landlord-referral-modern .reference-referral-intro p {
    margin: 0;
    max-width: 470px;
    color: #9ebce4;
    font-size: 12.5px;
    font-weight: 480;
    line-height: 1.55;
}
body.landlord-dashboard-shell[data-page="referral"] .reference-referral.landlord-referral-modern .ldr-hero-highlights {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 4px;
}
body.landlord-dashboard-shell[data-page="referral"] .reference-referral.landlord-referral-modern .ldr-hero-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px solid #1b4883;
    background: rgba(2, 18, 52, 0.56);
    color: #c7def9;
    font-size: 10.5px;
    font-weight: 600;
    line-height: 1.25;
}
body.landlord-dashboard-shell[data-page="referral"] .reference-referral.landlord-referral-modern .ldr-hero-chip svg {
    width: 13px;
    height: 13px;
    color: #3fe0ff;
    flex-shrink: 0;
}

/* Right-hand Personal Referral Code Card */
body.landlord-dashboard-shell[data-page="referral"] .reference-referral.landlord-referral-modern .reference-referral-code {
    position: relative;
    z-index: 1;
    min-width: 0;
    padding: 15px 17px;
    border-radius: 14px;
    border: 1px solid #1e4d8c;
    background: linear-gradient(180deg, rgba(3, 21, 58, 0.82) 0%, rgba(2, 15, 44, 0.78) 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 8px 20px rgba(1, 10, 34, 0.22);
}
body.landlord-dashboard-shell[data-page="referral"] .reference-referral.landlord-referral-modern .ldr-code-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
}
body.landlord-dashboard-shell[data-page="referral"] .reference-referral.landlord-referral-modern .reference-referral-code h2 {
    margin: 0;
    color: #93b8e8;
    font-size: 10px;
    font-weight: 760;
    letter-spacing: 0.85px;
    text-transform: uppercase;
}
body.landlord-dashboard-shell[data-page="referral"] .reference-referral.landlord-referral-modern .ldr-code-status {
    display: inline-flex;
    align-items: center;
    padding: 3px 8px;
    border-radius: 999px;
    border: 1px solid rgba(63, 224, 255, 0.34);
    background: rgba(5, 163, 224, 0.16);
    color: #7ee8ff;
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: 0.25px;
}
body.landlord-dashboard-shell[data-page="referral"] .reference-referral.landlord-referral-modern .ldr-code-status[data-available="false"] {
    border-color: rgba(148, 163, 184, 0.32);
    background: rgba(51, 65, 85, 0.35);
    color: #cbd5e1;
}
body.landlord-dashboard-shell[data-page="referral"] .reference-referral.landlord-referral-modern .referral-code-control {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    max-width: 100%;
    margin: 0 0 12px;
    padding: 9px 10px 9px 14px;
    border-radius: 10px;
    border: 1px solid #24579b;
    background: #041942;
    box-shadow: inset 0 1px 2px rgba(0, 8, 28, 0.35);
}
body.landlord-dashboard-shell[data-page="referral"] .reference-referral.landlord-referral-modern .referral-code-control code {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
    font-size: clamp(15px, 1.35vw, 18px);
    font-weight: 780;
    letter-spacing: 1.6px;
    color: #ffffff;
    min-width: 0;
    overflow-wrap: anywhere;
}
body.landlord-dashboard-shell[data-page="referral"] .reference-referral.landlord-referral-modern .referral-code-control button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex-shrink: 0;
    padding: 6px 12px;
    border-radius: 8px;
    border: 1px solid #2c6be0;
    background: rgba(7, 95, 255, 0.22);
    color: #e6f2ff;
    font-size: 11.5px;
    font-weight: 680;
    line-height: 1.2;
    cursor: pointer;
    transition: background 140ms ease, border-color 140ms ease, color 140ms ease;
}
body.landlord-dashboard-shell[data-page="referral"] .reference-referral.landlord-referral-modern .referral-code-control button svg {
    width: 14px;
    height: 14px;
}
body.landlord-dashboard-shell[data-page="referral"] .reference-referral.landlord-referral-modern .referral-code-control button:hover:not(:disabled) {
    background: #075fff;
    border-color: #3b82f6;
    color: #ffffff;
}
body.landlord-dashboard-shell[data-page="referral"] .reference-referral.landlord-referral-modern .referral-code-control button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}
body.landlord-dashboard-shell[data-page="referral"] .reference-referral.landlord-referral-modern .referral-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
}
body.landlord-dashboard-shell[data-page="referral"] .reference-referral.landlord-referral-modern .referral-actions > .button.primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    flex: 1 1 auto;
    min-height: 38px;
    padding: 8px 16px;
    border-radius: 10px;
    border: 1px solid #1e6bff;
    background: linear-gradient(135deg, #075fff 0%, #0047e1 100%);
    box-shadow: 0 6px 16px rgba(7, 95, 255, 0.34);
    color: #ffffff;
    font-size: 12px;
    font-weight: 680;
    transition: transform 140ms ease, box-shadow 140ms ease, background 140ms ease;
}
body.landlord-dashboard-shell[data-page="referral"] .reference-referral.landlord-referral-modern .referral-actions > .button.primary svg {
    width: 14px;
    height: 14px;
}
body.landlord-dashboard-shell[data-page="referral"] .reference-referral.landlord-referral-modern .referral-actions > .button.primary:hover:not(:disabled) {
    background: linear-gradient(135deg, #166bff 0%, #0550ee 100%);
    box-shadow: 0 8px 20px rgba(7, 95, 255, 0.44);
    transform: translateY(-1px);
}
body.landlord-dashboard-shell[data-page="referral"] .reference-referral.landlord-referral-modern .referral-actions > .text-button.ldr-referrer-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex: 0 1 auto;
    min-height: 38px;
    padding: 8px 14px;
    border-radius: 10px;
    border: 1px solid #245391;
    background: rgba(9, 34, 79, 0.72);
    color: #dbeafe;
    font-size: 12px;
    font-weight: 640;
    text-decoration: none;
    cursor: pointer;
    transition: background 140ms ease, border-color 140ms ease, color 140ms ease;
}
body.landlord-dashboard-shell[data-page="referral"] .reference-referral.landlord-referral-modern .referral-actions > .text-button.ldr-referrer-btn svg {
    width: 14px;
    height: 14px;
    color: #5ee2fc;
}
body.landlord-dashboard-shell[data-page="referral"] .reference-referral.landlord-referral-modern .referral-actions > .text-button.ldr-referrer-btn:hover {
    background: rgba(15, 50, 112, 0.92);
    border-color: #3f7fd1;
    color: #ffffff;
}

/* 2. Four Samruddhi KPI Summary Tiles (`.reward-stats > .reward-stat`) */
body.landlord-dashboard-shell[data-page="referral"] .reference-referral.landlord-referral-modern .reward-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin: 0;
}
body.landlord-dashboard-shell[data-page="referral"] .reference-referral.landlord-referral-modern .reward-stat {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 0;
    min-width: 0;
    padding: 16px 18px;
    border-radius: 15px;
    border: 1px solid #cfe1f9;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%) !important;
    box-shadow: 0 6px 18px rgba(4, 24, 64, 0.045);
    transition: border-color 150ms ease, box-shadow 150ms ease, transform 150ms ease;
}
body.landlord-dashboard-shell[data-page="referral"] .reference-referral.landlord-referral-modern .reward-stat::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 3px;
    background: linear-gradient(90deg, #075fff 0%, #38bdf8 70%, transparent 100%);
    pointer-events: none;
}
body.landlord-dashboard-shell[data-page="referral"] .reference-referral.landlord-referral-modern .reward-stat:nth-child(2)::before {
    background: linear-gradient(90deg, #06489e 0%, #075fff 70%, transparent 100%);
}
body.landlord-dashboard-shell[data-page="referral"] .reference-referral.landlord-referral-modern .reward-stat:nth-child(3)::before {
    background: linear-gradient(90deg, #0891b2 0%, #05d3f1 70%, transparent 100%);
}
body.landlord-dashboard-shell[data-page="referral"] .reference-referral.landlord-referral-modern .reward-stat:nth-child(4)::before {
    background: linear-gradient(90deg, #0e9f6e 0%, #34d399 70%, transparent 100%);
}
body.landlord-dashboard-shell[data-page="referral"] .reference-referral.landlord-referral-modern .reward-stat:hover {
    border-color: #a9caf6;
    box-shadow: 0 10px 24px rgba(7, 45, 112, 0.075);
}
body.landlord-dashboard-shell[data-page="referral"] .reference-referral.landlord-referral-modern .reward-stat .reference-summary-icon {
    grid-row: auto;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    border-radius: 12px;
    border: 1px solid #c9defc;
    background: linear-gradient(135deg, #ebf3ff 0%, #ddeaff 100%) !important;
    color: #075fff !important;
}
body.landlord-dashboard-shell[data-page="referral"] .reference-referral.landlord-referral-modern .reward-stat:nth-child(2) .reference-summary-icon {
    border-color: #c5dcfb;
    background: linear-gradient(135deg, #edf4ff 0%, #dbeafe 100%) !important;
    color: #06489e !important;
}
body.landlord-dashboard-shell[data-page="referral"] .reference-referral.landlord-referral-modern .reward-stat:nth-child(3) .reference-summary-icon {
    border-color: #bae6fd;
    background: linear-gradient(135deg, #e6f7fb 0%, #d4f1f9 100%) !important;
    color: #0891b2 !important;
}
body.landlord-dashboard-shell[data-page="referral"] .reference-referral.landlord-referral-modern .reward-stat:nth-child(4) .reference-summary-icon {
    border-color: #b7ebd6;
    background: linear-gradient(135deg, #e6f7f0 0%, #d3f2e5 100%) !important;
    color: #067a55 !important;
}
body.landlord-dashboard-shell[data-page="referral"] .reference-referral.landlord-referral-modern .reward-stat .reference-summary-icon svg {
    width: 21px;
    height: 21px;
}
body.landlord-dashboard-shell[data-page="referral"] .reference-referral.landlord-referral-modern .ldr-stat-copy {
    min-width: 0;
    display: grid;
    gap: 2px;
}
body.landlord-dashboard-shell[data-page="referral"] .reference-referral.landlord-referral-modern .reward-stat small {
    color: #466189;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.35px;
    text-transform: uppercase;
    line-height: 1.25;
}
body.landlord-dashboard-shell[data-page="referral"] .reference-referral.landlord-referral-modern .reward-stat strong {
    color: #041638;
    font-size: clamp(22px, 1.8vw, 27px);
    font-weight: 790;
    line-height: 1.18;
    letter-spacing: -0.5px;
    font-variant-numeric: tabular-nums;
}
body.landlord-dashboard-shell[data-page="referral"] .reference-referral.landlord-referral-modern .reward-stat:nth-child(4) strong {
    color: #067a55;
}
body.landlord-dashboard-shell[data-page="referral"] .reference-referral.landlord-referral-modern .ldr-stat-note {
    margin: 1px 0 0;
    color: #637c9f;
    font-size: 11px;
    font-weight: 510;
    line-height: 1.35;
}

/* 3. Lower Panels (`Your referral history`, `Approved campaigns`, `Reward claims`) */
body.landlord-dashboard-shell[data-page="referral"] .reference-referral.landlord-referral-modern .reference-referral-panels {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin: 0;
}
body.landlord-dashboard-shell[data-page="referral"] .reference-referral.landlord-referral-modern .reference-referral-panel {
    position: relative;
    overflow: hidden;
    min-width: 0;
    padding: 20px 22px;
    border-radius: 16px;
    border: 1px solid #cfe1f9;
    background: linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
    box-shadow: 0 8px 22px rgba(4, 24, 64, 0.045);
}
body.landlord-dashboard-shell[data-page="referral"] .reference-referral.landlord-referral-modern .reference-referral-panel:nth-child(n+3) {
    grid-column: 1 / -1;
}
body.landlord-dashboard-shell[data-page="referral"] .reference-referral.landlord-referral-modern .reference-referral-panel::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 3px;
    background: linear-gradient(90deg, #075fff 0%, #38bdf8 60%, transparent 100%);
    pointer-events: none;
}
body.landlord-dashboard-shell[data-page="referral"] .reference-referral.landlord-referral-modern .reference-referral-panel:nth-child(2)::before {
    background: linear-gradient(90deg, #0891b2 0%, #05d3f1 60%, transparent 100%);
}
body.landlord-dashboard-shell[data-page="referral"] .reference-referral.landlord-referral-modern .reference-referral-panel:nth-child(3)::before {
    background: linear-gradient(90deg, #0e9f6e 0%, #34d399 60%, transparent 100%);
}
body.landlord-dashboard-shell[data-page="referral"] .reference-referral.landlord-referral-modern .section-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin: 0 0 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid #e6effc;
}
body.landlord-dashboard-shell[data-page="referral"] .reference-referral.landlord-referral-modern .section-heading > div {
    position: relative;
    padding-left: 52px;
    min-height: 40px;
    min-width: 0;
    flex: 1;
}
body.landlord-dashboard-shell[data-page="referral"] .reference-referral.landlord-referral-modern .reference-referral-heading-icon {
    position: absolute;
    left: 0;
    top: 1px;
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 11px;
    border: 1px solid #c8defc;
    background: linear-gradient(135deg, #ebf3ff 0%, #dceaff 100%) !important;
    color: #075fff !important;
}
body.landlord-dashboard-shell[data-page="referral"] .reference-referral.landlord-referral-modern .reference-referral-panel:nth-child(2) .reference-referral-heading-icon {
    border-color: #bae6fd;
    background: linear-gradient(135deg, #e6f7fb 0%, #d4f1f9 100%) !important;
    color: #0891b2 !important;
}
body.landlord-dashboard-shell[data-page="referral"] .reference-referral.landlord-referral-modern .reference-referral-panel:nth-child(3) .reference-referral-heading-icon {
    border-color: #b7ebd6;
    background: linear-gradient(135deg, #e6f7f0 0%, #d3f2e5 100%) !important;
    color: #067a55 !important;
}
body.landlord-dashboard-shell[data-page="referral"] .reference-referral.landlord-referral-modern .reference-referral-heading-icon svg {
    width: 19px;
    height: 19px;
}
body.landlord-dashboard-shell[data-page="referral"] .reference-referral.landlord-referral-modern .section-heading .eyebrow {
    display: block;
    margin: 0 0 2px;
    color: #075fff;
    font-size: 9px;
    font-weight: 760;
    letter-spacing: 1px;
    text-transform: uppercase;
}
body.landlord-dashboard-shell[data-page="referral"] .reference-referral.landlord-referral-modern .reference-referral-panel:nth-child(2) .section-heading .eyebrow {
    color: #0891b2;
}
body.landlord-dashboard-shell[data-page="referral"] .reference-referral.landlord-referral-modern .reference-referral-panel:nth-child(3) .section-heading .eyebrow {
    color: #067a55;
}
body.landlord-dashboard-shell[data-page="referral"] .reference-referral.landlord-referral-modern .section-heading h3,
body.landlord-dashboard-shell[data-page="referral"] .reference-referral.landlord-referral-modern .section-heading h2 {
    margin: 0 0 3px;
    color: #041638;
    font-size: 16.5px;
    font-weight: 760;
    letter-spacing: -0.35px;
    line-height: 1.24;
}
body.landlord-dashboard-shell[data-page="referral"] .reference-referral.landlord-referral-modern .reference-referral-subtitle {
    margin: 0;
    color: #556f94;
    font-size: 11.5px;
    font-weight: 500;
    line-height: 1.45;
}
body.landlord-dashboard-shell[data-page="referral"] .reference-referral.landlord-referral-modern .ldr-panel-tag {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    padding: 5px 10px;
    border-radius: 999px;
    border: 1px solid #d1e2fa;
    background: #f2f7ff;
    color: #19427d;
    font-size: 10.5px;
    font-weight: 680;
    line-height: 1.2;
}

/* 4. Proportional Human-Crafted Empty States (no 110px purple icon blob) */
body.landlord-dashboard-shell[data-page="referral"] .reference-referral.landlord-referral-modern .reference-referral-empty,
body.landlord-dashboard-shell[data-page="referral"] .reference-referral.landlord-referral-modern .empty-inline {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 224px;
    padding: 26px 22px;
    border-radius: 13px;
    border: 1px dashed #c4dbf8;
    background: linear-gradient(180deg, #f8fbff 0%, #f1f7ff 100%);
    box-shadow: none;
    gap: 0;
}
body.landlord-dashboard-shell[data-page="referral"] .reference-referral.landlord-referral-modern .reference-referral-empty .empty-icon {
    width: 52px;
    height: 52px;
    margin: 0 0 12px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    border: 1px solid #c2dafc;
    background: linear-gradient(135deg, #e8f2ff 0%, #d8e9ff 100%);
    box-shadow: 0 4px 12px rgba(7, 95, 255, 0.08);
    color: #075fff;
}
body.landlord-dashboard-shell[data-page="referral"] .reference-referral.landlord-referral-modern .reference-referral-empty .empty-icon svg {
    width: 24px;
    height: 24px;
}
body.landlord-dashboard-shell[data-page="referral"] .reference-referral.landlord-referral-modern .empty-inline > svg {
    width: 24px;
    height: 24px;
    padding: 13px;
    margin: 0 0 12px;
    box-sizing: content-box;
    border-radius: 14px;
    border: 1px solid #bae6fd;
    background: linear-gradient(135deg, #e6f7fb 0%, #d4f1f9 100%);
    color: #0891b2;
}
body.landlord-dashboard-shell[data-page="referral"] .reference-referral.landlord-referral-modern .reference-referral-empty h3,
body.landlord-dashboard-shell[data-page="referral"] .reference-referral.landlord-referral-modern .empty-inline strong {
    display: block;
    margin: 0 0 6px;
    color: #061a40;
    font-size: 16px;
    font-weight: 760;
    letter-spacing: -0.3px;
}
body.landlord-dashboard-shell[data-page="referral"] .reference-referral.landlord-referral-modern .reference-referral-empty p,
body.landlord-dashboard-shell[data-page="referral"] .reference-referral.landlord-referral-modern .empty-inline p {
    margin: 0 0 16px;
    max-width: 360px;
    color: #516b91;
    font-size: 12.5px;
    line-height: 1.55;
}
body.landlord-dashboard-shell[data-page="referral"] .reference-referral.landlord-referral-modern .empty-inline p {
    margin-bottom: 0;
}
body.landlord-dashboard-shell[data-page="referral"] .reference-referral.landlord-referral-modern .reference-referral-empty > .button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 38px;
    padding: 9px 18px;
    border-radius: 10px;
    border: 1px solid #1d6bf5;
    background: linear-gradient(135deg, #075fff 0%, #0047e1 100%);
    box-shadow: 0 5px 14px rgba(7, 95, 255, 0.22);
    color: #ffffff;
    font-size: 12.5px;
    font-weight: 680;
    transition: transform 140ms ease, box-shadow 140ms ease;
}
body.landlord-dashboard-shell[data-page="referral"] .reference-referral.landlord-referral-modern .reference-referral-empty > .button svg {
    width: 15px;
    height: 15px;
}
body.landlord-dashboard-shell[data-page="referral"] .reference-referral.landlord-referral-modern .reference-referral-empty > .button:hover:not(:disabled) {
    box-shadow: 0 8px 18px rgba(7, 95, 255, 0.3);
    transform: translateY(-1px);
}

/* 5. Approved Campaign Product Cards & Referral Ledger Tables */
body.landlord-dashboard-shell[data-page="referral"] .reference-referral.landlord-referral-modern .campaign-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 14px;
}
body.landlord-dashboard-shell[data-page="referral"] .reference-referral.landlord-referral-modern article.campaign {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-height: 224px;
    padding: 18px 20px;
    border-radius: 14px;
    border: 1px solid #cbe0fb;
    background: linear-gradient(180deg, #ffffff 0%, #f6faff 100%);
    box-shadow: 0 4px 14px rgba(7, 45, 112, 0.04);
    color: #071c42;
}
body.landlord-dashboard-shell[data-page="referral"] .reference-referral.landlord-referral-modern .ldr-campaign-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}
body.landlord-dashboard-shell[data-page="referral"] .reference-referral.landlord-referral-modern .ldr-campaign-title {
    min-width: 0;
    display: grid;
    gap: 5px;
}
body.landlord-dashboard-shell[data-page="referral"] .reference-referral.landlord-referral-modern .ldr-campaign-kicker {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #0891b2;
    font-size: 9.5px;
    font-weight: 750;
    letter-spacing: 0.75px;
    text-transform: uppercase;
}
body.landlord-dashboard-shell[data-page="referral"] .reference-referral.landlord-referral-modern .ldr-campaign-kicker svg {
    width: 13px;
    height: 13px;
}
body.landlord-dashboard-shell[data-page="referral"] .reference-referral.landlord-referral-modern article.campaign h4 {
    margin: 0;
    color: #041638;
    font-size: 15.5px;
    font-weight: 760;
    line-height: 1.3;
    letter-spacing: -0.25px;
}
body.landlord-dashboard-shell[data-page="referral"] .reference-referral.landlord-referral-modern article.campaign .badge {
    flex-shrink: 0;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 10.5px;
    font-weight: 700;
}
body.landlord-dashboard-shell[data-page="referral"] .reference-referral.landlord-referral-modern article.campaign .badge.green {
    border: 1px solid #a7ebd0;
    background: #e6f9f1;
    color: #067a55;
}
body.landlord-dashboard-shell[data-page="referral"] .reference-referral.landlord-referral-modern article.campaign p {
    margin: 0;
    color: #466086;
    font-size: 12px;
    line-height: 1.6;
}
body.landlord-dashboard-shell[data-page="referral"] .reference-referral.landlord-referral-modern .ldr-campaign-rules {
    margin-top: auto;
    display: grid;
    gap: 8px;
    padding: 11px 13px;
    border-radius: 11px;
    border: 1px solid #d7e6fb;
    background: #f0f6ff;
}
body.landlord-dashboard-shell[data-page="referral"] .reference-referral.landlord-referral-modern p.ldr-campaign-rule {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    color: #122c59;
    font-size: 11.5px;
    font-weight: 600;
    line-height: 1.45;
}
body.landlord-dashboard-shell[data-page="referral"] .reference-referral.landlord-referral-modern .ldr-rule-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    border-radius: 7px;
    border: 1px solid #c7ddfb;
    background: #ffffff;
    color: #075fff;
}
body.landlord-dashboard-shell[data-page="referral"] .reference-referral.landlord-referral-modern .ldr-rule-icon svg {
    width: 13px;
    height: 13px;
}

body.landlord-dashboard-shell[data-page="referral"] .reference-referral.landlord-referral-modern .table-wrap {
    border: 1px solid #cfe1f9;
    border-radius: 12px;
    overflow-x: auto;
    background: #ffffff;
}
body.landlord-dashboard-shell[data-page="referral"] .reference-referral.landlord-referral-modern .data-table {
    width: 100%;
    margin: 0;
    border-collapse: collapse;
    font-size: 12px;
}
body.landlord-dashboard-shell[data-page="referral"] .reference-referral.landlord-referral-modern .data-table th {
    padding: 11px 14px;
    background: linear-gradient(180deg, #eaf2ff 0%, #e1edfe 100%);
    border-bottom: 1px solid #cbdcf7;
    color: #173768;
    font-size: 9.5px;
    font-weight: 760;
    letter-spacing: 0.55px;
    text-transform: uppercase;
    text-align: left;
}
body.landlord-dashboard-shell[data-page="referral"] .reference-referral.landlord-referral-modern .data-table td {
    padding: 11px 14px;
    border-bottom: 1px solid #e7f0fc;
    color: #081d42;
    font-size: 12px;
    font-weight: 560;
    vertical-align: middle;
}
body.landlord-dashboard-shell[data-page="referral"] .reference-referral.landlord-referral-modern .data-table tbody tr:nth-child(even) td {
    background: #f8fbff;
}
body.landlord-dashboard-shell[data-page="referral"] .reference-referral.landlord-referral-modern .data-table tbody tr:last-child td {
    border-bottom: 0;
}

/* 6. Responsive Breakpoints for Landlord Referral (`1672px` -> `320px`) */
@media (max-width: 1200px) {
    body.landlord-dashboard-shell[data-page="referral"] .reference-referral.landlord-referral-modern .referral-hero {
        grid-template-columns: minmax(0, 1.05fr) minmax(290px, 0.95fr);
        gap: 18px;
        padding: 18px 20px;
    }
    body.landlord-dashboard-shell[data-page="referral"] .reference-referral.landlord-referral-modern .reward-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 900px) {
    body.landlord-dashboard-shell[data-page="referral"] .reference-referral.landlord-referral-modern .referral-hero {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
    }
    body.landlord-dashboard-shell[data-page="referral"] .reference-referral.landlord-referral-modern .referral-hero > div:first-child,
    body.landlord-dashboard-shell[data-page="referral"] .reference-referral.landlord-referral-modern .reference-referral-intro,
    body.landlord-dashboard-shell[data-page="referral"] .reference-referral.landlord-referral-modern .reference-referral-code {
        grid-row: auto !important;
        order: 0;
    }
    body.landlord-dashboard-shell[data-page="referral"] .reference-referral.landlord-referral-modern .reference-referral-intro {
        padding: 0 0 14px;
        border-right: 0;
        border-bottom: 1px solid rgba(56, 130, 224, 0.28);
    }
    body.landlord-dashboard-shell[data-page="referral"] .reference-referral.landlord-referral-modern .reference-referral-panels {
        grid-template-columns: minmax(0, 1fr);
    }
    body.landlord-dashboard-shell[data-page="referral"] .reference-referral.landlord-referral-modern .reference-referral-panel:nth-child(n+3) {
        grid-column: auto;
    }
}
@media (max-width: 760px) {
    body.landlord-dashboard-shell[data-page="referral"] .reference-referral.landlord-referral-modern .referral-hero {
        padding: 16px;
        border-radius: 14px;
        gap: 14px;
    }
    body.landlord-dashboard-shell[data-page="referral"] .reference-referral.landlord-referral-modern .reference-referral-code {
        padding: 13px 14px;
    }
    body.landlord-dashboard-shell[data-page="referral"] .reference-referral.landlord-referral-modern .reward-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }
    body.landlord-dashboard-shell[data-page="referral"] .reference-referral.landlord-referral-modern .reward-stat {
        flex-direction: row;
        align-items: center;
        min-height: 0;
        padding: 13px 14px;
        gap: 11px;
    }
    body.landlord-dashboard-shell[data-page="referral"] .reference-referral.landlord-referral-modern .reward-stat .reference-summary-icon {
        width: 38px;
        height: 38px;
    }
    body.landlord-dashboard-shell[data-page="referral"] .reference-referral.landlord-referral-modern .reward-stat strong {
        font-size: 21px;
    }
    body.landlord-dashboard-shell[data-page="referral"] .reference-referral.landlord-referral-modern .ldr-stat-note {
        display: none;
    }
    body.landlord-dashboard-shell[data-page="referral"] .reference-referral.landlord-referral-modern .reference-referral-panel {
        padding: 16px;
        border-radius: 14px;
    }
    body.landlord-dashboard-shell[data-page="referral"] .reference-referral.landlord-referral-modern .reference-referral-empty,
    body.landlord-dashboard-shell[data-page="referral"] .reference-referral.landlord-referral-modern .empty-inline,
    body.landlord-dashboard-shell[data-page="referral"] .reference-referral.landlord-referral-modern article.campaign {
        min-height: 0;
    }
}
@media (max-width: 480px) {
    body.landlord-dashboard-shell[data-page="referral"] .reference-referral.landlord-referral-modern .ldr-hero-highlights {
        display: none;
    }
    body.landlord-dashboard-shell[data-page="referral"] .reference-referral.landlord-referral-modern .referral-actions {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }
    body.landlord-dashboard-shell[data-page="referral"] .reference-referral.landlord-referral-modern .referral-actions > .button.primary,
    body.landlord-dashboard-shell[data-page="referral"] .reference-referral.landlord-referral-modern .referral-actions > .text-button.ldr-referrer-btn {
        width: 100%;
        padding-inline: 10px;
        font-size: 11.5px;
    }
    body.landlord-dashboard-shell[data-page="referral"] .reference-referral.landlord-referral-modern .section-heading {
        flex-wrap: wrap;
    }
    body.landlord-dashboard-shell[data-page="referral"] .reference-referral.landlord-referral-modern .campaign-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}
@media (max-width: 360px) {
    body.landlord-dashboard-shell[data-page="referral"] .reference-referral.landlord-referral-modern .reward-stats {
        grid-template-columns: minmax(0, 1fr);
    }
    body.landlord-dashboard-shell[data-page="referral"] .reference-referral.landlord-referral-modern .referral-actions {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* ==========================================================================
   Landlord Workspace Topbar, Account Popover & Notification Drawer
   ========================================================================== */
body:not([data-staff-workspace="true"]) .topbar.ld-topbar-enhanced {
    position: sticky;
    top: 0;
    z-index: 40;
    height: 66px;
    min-height: 66px;
    padding: 0 28px;
    display: flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.97) 0%, rgba(248, 251, 255, 0.95) 100%);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid #cfe0f7;
    box-shadow: 0 4px 16px rgba(4, 22, 58, 0.045);
}
body:not([data-staff-workspace="true"]) .topbar.ld-topbar-enhanced::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 2px;
    background: linear-gradient(90deg, #075fff 0%, #05d3f1 38%, rgba(7, 95, 255, 0.14) 76%, transparent 100%);
    pointer-events: none;
}

/* 1. Left Context Cluster: Dynamic Page Icon + Breadcrumb + Sandbox Pill */
body:not([data-staff-workspace="true"]) .topbar.ld-topbar-enhanced .breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 0;
    min-width: 0;
    color: #546e93;
    font-size: 12px;
    font-weight: 560;
    letter-spacing: -0.05px;
    white-space: nowrap;
}
body:not([data-staff-workspace="true"]) .topbar.ld-topbar-enhanced .ld-topbar-crumb-icon {
    line-height: 0;
    width: 28px;
    height: 28px;
    padding: 0;
    margin-right: 10px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    border-radius: 8px;
    border: 1px solid #c5dcfb;
    background: linear-gradient(135deg, #edf4ff 0%, #dceaff 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
    color: #075fff;
}
body:not([data-staff-workspace="true"]) .topbar.ld-topbar-enhanced .ld-topbar-crumb-icon svg {
    display: block;
    margin: 0;
    width: 15px;
    height: 15px;
}
body:not([data-staff-workspace="true"]) .topbar.ld-topbar-enhanced .breadcrumb > span:not(.ld-topbar-crumb-icon) {
    padding: 0 8px;
    color: #9ab2d4;
    font-weight: 600;
}
body:not([data-staff-workspace="true"]) .topbar.ld-topbar-enhanced #breadcrumb {
    padding: 0;
    border-radius: 0;
    background: transparent;
    color: #041638;
    font-size: 13px;
    font-weight: 760;
    letter-spacing: -0.22px;
}

body:not([data-staff-workspace="true"]) .topbar.ld-topbar-enhanced .shell-environment {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 26px;
    padding: 0 10px;
    border-radius: 999px;
    border: 1px solid #bfd8fa;
    background: linear-gradient(180deg, #f2f7ff 0%, #e6f0ff 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
    color: #133e7a;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.2px;
    white-space: nowrap;
}
body:not([data-staff-workspace="true"]) .topbar.ld-topbar-enhanced .shell-environment::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #0891b2;
    box-shadow: 0 0 0 2px rgba(8, 145, 178, 0.18);
    flex-shrink: 0;
}

/* 2. Unified 42px Command Search Bar (full unclipped placeholder) */
body:not([data-staff-workspace="true"]) .topbar.ld-topbar-enhanced .search {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 9px;
    width: clamp(300px, 31vw, 435px);
    max-width: 435px;
    min-width: 0;
    height: 42px;
    padding: 0 9px 0 13px;
    border-radius: 11px;
    border: 1px solid #c7dbf7;
    background: linear-gradient(180deg, #f5f9ff 0%, #edf4ff 100%);
    box-shadow: inset 0 1px 2px rgba(6, 26, 64, 0.04);
    color: #2c5ea8;
    transition: background 150ms ease, border-color 150ms ease, box-shadow 150ms ease;
}
body:not([data-staff-workspace="true"]) .topbar.ld-topbar-enhanced .search svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    color: #2c5ea8;
    transition: color 150ms ease;
}
body:not([data-staff-workspace="true"]) .topbar.ld-topbar-enhanced .search:hover:not(:focus-within) {
    border-color: #acc9f4;
    background: linear-gradient(180deg, #f8fbff 0%, #f1f6ff 100%);
}
body:not([data-staff-workspace="true"]) .topbar.ld-topbar-enhanced .search:focus-within {
    border-color: #075fff;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(7, 95, 255, 0.12);
}
body:not([data-staff-workspace="true"]) .topbar.ld-topbar-enhanced .search:focus-within svg {
    color: #075fff;
}
body:not([data-staff-workspace="true"]) .topbar.ld-topbar-enhanced .search input {
    flex: 1;
    min-width: 0;
    width: 100%;
    border: 0;
    outline: 0;
    box-shadow: none;
    background: transparent;
    color: #05183b;
    font-size: 12px;
    font-weight: 510;
}
body:not([data-staff-workspace="true"]) .topbar.ld-topbar-enhanced .search input:is(:focus, :focus-visible) {
    border: 0 !important;
    outline: none !important;
    box-shadow: none !important;
    background: transparent !important;
}
body:not([data-staff-workspace="true"]) .topbar.ld-topbar-enhanced .search input::placeholder {
    color: #60799e;
    font-weight: 470;
}
body:not([data-staff-workspace="true"]) .topbar.ld-topbar-enhanced .search kbd {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    white-space: nowrap;
    height: 24px;
    padding: 0 8px;
    border-radius: 6px;
    border: 1px solid #c2d8f7;
    border-bottom-width: 2px;
    background: #ffffff;
    color: #1c4279;
    font-family: inherit;
    font-size: 10px;
    font-weight: 720;
    line-height: 1;
    box-shadow: 0 1px 2px rgba(6, 26, 64, 0.06);
}

/* 3. Unified 42px Notification Trigger & Clean Unread Count Pill */
body:not([data-staff-workspace="true"]) .topbar.ld-topbar-enhanced .icon-button {
    width: 42px;
    height: 42px;
    min-width: 42px;
    min-height: 42px;
    padding: 0;
    display: inline-grid;
    place-items: center;
    border-radius: 11px;
    border: 1px solid #c7dbf7;
    background: linear-gradient(180deg, #ffffff 0%, #f3f8ff 100%);
    box-shadow: 0 2px 6px rgba(6, 28, 72, 0.04);
    color: #163666;
    transition: background 140ms ease, border-color 140ms ease, color 140ms ease, box-shadow 140ms ease;
}
body:not([data-staff-workspace="true"]) .topbar.ld-topbar-enhanced .icon-button.mobile-menu {
    display: none;
}
body:not([data-staff-workspace="true"]) .topbar.ld-topbar-enhanced .icon-button:hover {
    border-color: #9ec0f4;
    background: linear-gradient(180deg, #f5f9ff 0%, #e8f1ff 100%);
    color: #075fff;
    box-shadow: 0 4px 10px rgba(7, 95, 255, 0.09);
}
body:not([data-staff-workspace="true"]) .topbar.ld-topbar-enhanced .notification-button svg {
    width: 19px;
    height: 19px;
}
body:not([data-staff-workspace="true"]) .topbar.ld-topbar-enhanced .notification-button:has(.push-unread:not([hidden])) .notification-dot {
    display: none !important;
}
body:not([data-staff-workspace="true"]) .topbar.ld-topbar-enhanced .notification-button .push-unread {
    top: -5px;
    right: -5px;
    min-width: 20px;
    height: 19px;
    padding: 0 5.5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 2px solid #ffffff;
    background: linear-gradient(135deg, #075fff 0%, #0042f5 100%);
    box-shadow: 0 3px 8px rgba(7, 95, 255, 0.34);
    color: #ffffff;
    font-size: 9.5px;
    font-weight: 780;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}
body:not([data-staff-workspace="true"]) .topbar.ld-topbar-enhanced .notification-button .push-unread[hidden] {
    display: none !important;
}
body:not([data-staff-workspace="true"]) .topbar.ld-topbar-enhanced .notification-dot {
    top: 7px;
    right: 8px;
    width: 8px;
    height: 8px;
    border: 2px solid #ffffff;
    background: #075fff;
}

body:not([data-staff-workspace="true"]) .topbar.ld-topbar-enhanced .ld-topbar-sep {
    width: 1px;
    height: 24px;
    flex-shrink: 0;
    background: linear-gradient(180deg, transparent 0%, #cbdcf6 20%, #cbdcf6 80%, transparent 100%);
}

/* 4. Unified 42px Executive Profile Trigger (`#profile-button`) & Crisp Monogram/Photo Avatar */
body:not([data-staff-workspace="true"]) .topbar.ld-topbar-enhanced .user-button {
    height: 42px;
    min-height: 42px;
    padding: 4px 11px 4px 5px;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    border-radius: 11px;
    border: 1px solid #c7dbf7;
    background: linear-gradient(180deg, #ffffff 0%, #f3f8ff 100%);
    box-shadow: 0 2px 6px rgba(6, 28, 72, 0.04);
    color: #041638;
    cursor: pointer;
    transition: background 140ms ease, border-color 140ms ease, box-shadow 140ms ease;
}
body:not([data-staff-workspace="true"]) .topbar.ld-topbar-enhanced .user-button:hover,
body:not([data-staff-workspace="true"]) .topbar.ld-topbar-enhanced .user-button[aria-expanded="true"] {
    border-color: #9ec0f4;
    background: linear-gradient(180deg, #f6faff 0%, #e9f2ff 100%);
    box-shadow: 0 4px 12px rgba(7, 95, 255, 0.09);
}
body:not([data-staff-workspace="true"]) .topbar.ld-topbar-enhanced #avatar {
    position: relative;
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    overflow: hidden;
    border-radius: 50%;
    border: 1.5px solid #ffffff;
    box-shadow: 0 0 0 1px #9cc0f6, 0 2px 6px rgba(7, 95, 255, 0.2);
    background: linear-gradient(135deg, #075fff 0%, #032970 100%);
    color: #ffffff;
    font-size: 11px;
    font-weight: 780;
    letter-spacing: 0.35px;
    line-height: 1;
}
body:not([data-staff-workspace="true"]) .topbar.ld-topbar-enhanced #avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
body:not([data-staff-workspace="true"]) .topbar.ld-topbar-enhanced #avatar[data-ld-synthetic-stamp="true"] img {
    opacity: 0;
}
body:not([data-staff-workspace="true"]) .topbar.ld-topbar-enhanced #avatar[data-ld-synthetic-stamp="true"]::after {
    content: attr(data-ld-initials);
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: #ffffff;
    font-size: 11px;
    font-weight: 780;
    letter-spacing: 0.4px;
    pointer-events: none;
}
body:not([data-staff-workspace="true"]) .topbar.ld-topbar-enhanced .ld-user-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 1px;
    min-width: 0;
    text-align: left;
}
body:not([data-staff-workspace="true"]) .topbar.ld-topbar-enhanced .user-button b {
    display: block;
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #041638;
    font-size: 12px;
    font-weight: 730;
    line-height: 1.15;
    letter-spacing: -0.15px;
}
body:not([data-staff-workspace="true"]) .topbar.ld-topbar-enhanced .ld-user-role {
    display: block;
    color: #3d639c;
    font-size: 9.5px;
    font-weight: 660;
    line-height: 1.15;
    letter-spacing: 0.15px;
}
body:not([data-staff-workspace="true"]) .topbar.ld-topbar-enhanced .user-button > svg {
    display: block;
    width: 14px;
    height: 14px;
    margin-left: 1px;
    color: #4f6d99;
    transition: transform 150ms ease, color 150ms ease;
}
body:not([data-staff-workspace="true"]) .topbar.ld-topbar-enhanced .user-button[aria-expanded="true"] > svg {
    color: #075fff;
    transform: rotate(180deg);
}

/* 5. Enhanced `#account-menu` Popover */
body:not([data-staff-workspace="true"]) .topbar.ld-topbar-enhanced .account-menu {
    top: calc(100% + 6px);
    right: 28px;
    min-width: 244px;
    padding: 8px;
    border-radius: 14px;
    border: 1px solid #c5dbf8;
    background: #ffffff;
    box-shadow: 0 18px 40px rgba(3, 20, 56, 0.15), 0 2px 6px rgba(3, 20, 56, 0.05);
}
body:not([data-staff-workspace="true"]) .topbar.ld-topbar-enhanced .account-menu-heading {
    margin: 0 0 6px;
    padding: 11px 12px;
    border-radius: 10px;
    border: 1px solid #d7e6fb;
    background: linear-gradient(135deg, #f3f8ff 0%, #e9f2ff 100%);
    text-transform: none;
    letter-spacing: 0;
}
body:not([data-staff-workspace="true"]) .topbar.ld-topbar-enhanced .ld-menu-identity {
    display: grid;
    gap: 3px;
    min-width: 0;
}
body:not([data-staff-workspace="true"]) .topbar.ld-topbar-enhanced .ld-menu-identity strong {
    color: #041638;
    font-size: 12.5px;
    font-weight: 750;
    line-height: 1.25;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
body:not([data-staff-workspace="true"]) .topbar.ld-topbar-enhanced .ld-menu-identity small {
    color: #516b91;
    font-size: 10.5px;
    font-weight: 500;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
body:not([data-staff-workspace="true"]) .topbar.ld-topbar-enhanced .ld-menu-role-pill {
    margin-top: 4px;
    width: fit-content;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 8px;
    border-radius: 999px;
    border: 1px solid #bfd8fb;
    background: #ffffff;
    color: #075fff;
    font-size: 9.5px;
    font-weight: 720;
    letter-spacing: 0.2px;
}
body:not([data-staff-workspace="true"]) .topbar.ld-topbar-enhanced .ld-menu-role-pill svg {
    width: 11px;
    height: 11px;
}
body:not([data-staff-workspace="true"]) .topbar.ld-topbar-enhanced .account-menu button {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 9px 11px;
    border-radius: 9px;
    background: transparent;
    color: #16335e;
    font-size: 12px;
    font-weight: 620;
    transition: background 130ms ease, color 130ms ease;
}
body:not([data-staff-workspace="true"]) .topbar.ld-topbar-enhanced .account-menu button svg {
    width: 16px;
    height: 16px;
    color: #075fff;
}
body:not([data-staff-workspace="true"]) .topbar.ld-topbar-enhanced .account-menu button:hover {
    background: #eef5ff;
    color: #041638;
}
body:not([data-staff-workspace="true"]) .topbar.ld-topbar-enhanced .account-menu #menu-logout {
    margin-top: 4px;
    padding-top: 10px;
    border-top: 1px solid #e6effc;
    border-radius: 0 0 9px 9px;
    color: #173a6e;
}
body:not([data-staff-workspace="true"]) .topbar.ld-topbar-enhanced .account-menu #menu-logout:hover {
    background: #fff1f3;
    color: #be123c;
}
body:not([data-staff-workspace="true"]) .topbar.ld-topbar-enhanced .account-menu #menu-logout:hover svg {
    color: #be123c;
}

/* 6. Topbar Responsive Breakpoints (`1672px` -> `320px`) */
@media (max-width: 1120px) {
    body:not([data-staff-workspace="true"]) .topbar.ld-topbar-enhanced {
        padding: 0 20px;
        gap: 10px;
    }
    body:not([data-staff-workspace="true"]) .topbar.ld-topbar-enhanced .search {
        width: clamp(230px, 27vw, 330px);
    }
    body:not([data-staff-workspace="true"]) .topbar.ld-topbar-enhanced .ld-user-meta {
        display: none;
    }
    body:not([data-staff-workspace="true"]) .topbar.ld-topbar-enhanced .user-button {
        padding: 4px 8px 4px 5px;
        gap: 5px;
    }
    body:not([data-staff-workspace="true"]) .topbar.ld-topbar-enhanced .account-menu {
        right: 20px;
    }
}
@media (max-width: 900px) {
    body:not([data-staff-workspace="true"]) .topbar.ld-topbar-enhanced .icon-button.mobile-menu {
        display: inline-grid;
    }
    body:not([data-staff-workspace="true"]) .topbar.ld-topbar-enhanced .search {
        display: none;
    }
    body:not([data-staff-workspace="true"]) .topbar.ld-topbar-enhanced .notification-button {
        margin-left: auto;
    }
}
@media (max-width: 760px) {
    body:not([data-staff-workspace="true"]) .topbar.ld-topbar-enhanced {
        height: 60px;
        min-height: 60px;
        padding: 0 14px;
        gap: 8px;
    }
    body:not([data-staff-workspace="true"]) .topbar.ld-topbar-enhanced .ld-topbar-crumb-icon {
        width: 25px;
        height: 25px;
        margin-right: 8px;
    }
    body:not([data-staff-workspace="true"]) .topbar.ld-topbar-enhanced .shell-environment,
    body:not([data-staff-workspace="true"]) .topbar.ld-topbar-enhanced .ld-topbar-sep {
        display: none;
    }
    body:not([data-staff-workspace="true"]) .topbar.ld-topbar-enhanced .icon-button,
    body:not([data-staff-workspace="true"]) .topbar.ld-topbar-enhanced .user-button {
        height: 40px;
        min-height: 40px;
    }
    body:not([data-staff-workspace="true"]) .topbar.ld-topbar-enhanced .icon-button {
        width: 40px;
        min-width: 40px;
    }
    body:not([data-staff-workspace="true"]) .topbar.ld-topbar-enhanced #avatar {
        width: 30px;
        height: 30px;
        font-size: 10.5px;
    }
    body:not([data-staff-workspace="true"]) .topbar.ld-topbar-enhanced .account-menu {
        right: 12px;
        top: calc(100% + 4px);
    }
}
@media (max-width: 480px) {
    body:not([data-staff-workspace="true"]) .topbar.ld-topbar-enhanced {
        padding: 0 12px;
        gap: 7px;
    }
    body:not([data-staff-workspace="true"]) .topbar.ld-topbar-enhanced .ld-topbar-crumb-icon {
        display: none;
    }
    body:not([data-staff-workspace="true"]) .topbar.ld-topbar-enhanced .breadcrumb {
        font-size: 11px;
    }
    body:not([data-staff-workspace="true"]) .topbar.ld-topbar-enhanced #breadcrumb {
        font-size: 12px;
    }
}
@media (max-width: 400px) {
    body:not([data-staff-workspace="true"]) .topbar.ld-topbar-enhanced .breadcrumb {
        font-size: 0;
    }
    body:not([data-staff-workspace="true"]) .topbar.ld-topbar-enhanced .breadcrumb > span {
        display: none;
    }
}

body[data-page="profile"][data-customer-authenticated="true"] .topbar.ld-topbar-enhanced .shell-environment {
    display: none !important;
}

/* ==========================================================================
   Landlord Profile Workspace (`body[data-page="profile"]`)
   ========================================================================== */
body.landlord-dashboard-shell[data-page="profile"] .reference-profile.landlord-profile-modern {
    max-width: 1540px;
    min-width: 0;
    margin: 0 auto;
    display: grid;
    gap: 18px;
    color: #041638;
}
body.landlord-dashboard-shell[data-page="profile"] .reference-profile.landlord-profile-modern .reference-banner-art,
body.landlord-dashboard-shell[data-page="profile"] .reference-profile.landlord-profile-modern .profile-hero-shape,
body.landlord-dashboard-shell[data-page="profile"] .reference-profile.landlord-profile-modern .profile-bank-card::after {
    display: none !important;
}

/* 1. Compact Samruddhi Navy Executive Header Banner */
body.landlord-dashboard-shell[data-page="profile"] .reference-profile.landlord-profile-modern .customer-reference-banner {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    min-height: 0;
    padding: 20px 26px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px 24px;
    border: 1px solid #163d73;
    border-radius: 16px;
    background:
        radial-gradient(ellipse at 92% 18%, rgba(5, 211, 241, 0.16) 0%, transparent 48%),
        radial-gradient(ellipse at 52% 115%, rgba(7, 95, 255, 0.24) 0%, transparent 56%),
        linear-gradient(125deg, #010e30 0%, #03225c 58%, #063175 100%);
    box-shadow: 0 10px 26px rgba(2, 16, 48, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    color: #ffffff;
}
body.landlord-dashboard-shell[data-page="profile"] .reference-profile.landlord-profile-modern .customer-reference-banner .reference-banner-copy {
    flex: 1 1 360px;
    max-width: none;
    min-width: 0;
    padding: 0;
}
body.landlord-dashboard-shell[data-page="profile"] .reference-profile.landlord-profile-modern .customer-reference-banner .ld-hero-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 6px;
}
body.landlord-dashboard-shell[data-page="profile"] .reference-profile.landlord-profile-modern .customer-reference-banner .eyebrow {
    color: #5ee2fc;
    font-size: 9.5px;
    font-weight: 760;
    letter-spacing: 1.35px;
    text-transform: uppercase;
}
body.landlord-dashboard-shell[data-page="profile"] .reference-profile.landlord-profile-modern .customer-reference-banner .ld-hero-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 2.5px 9px;
    border-radius: 999px;
    border: 1px solid #155e75;
    background: rgba(4, 53, 76, 0.72);
    color: #9ef3e6;
    font-size: 10px;
    font-weight: 660;
}
body.landlord-dashboard-shell[data-page="profile"] .reference-profile.landlord-profile-modern .customer-reference-banner .ld-hero-status[data-status="pending"] {
    border-color: #7c5816;
    background: rgba(70, 48, 8, 0.72);
    color: #ffd98a;
}
body.landlord-dashboard-shell[data-page="profile"] .reference-profile.landlord-profile-modern .customer-reference-banner .ld-status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #19e6c1;
    box-shadow: 0 0 6px #19e6c1;
}
body.landlord-dashboard-shell[data-page="profile"] .reference-profile.landlord-profile-modern .customer-reference-banner .ld-hero-status[data-status="pending"] .ld-status-dot {
    background: #fbbf24;
    box-shadow: 0 0 6px #fbbf24;
}
body.landlord-dashboard-shell[data-page="profile"] .reference-profile.landlord-profile-modern .customer-reference-banner h1 {
    margin: 0 0 5px;
    color: #f8fbff;
    font-size: clamp(21px, 1.85vw, 26px);
    font-weight: 770;
    line-height: 1.18;
    letter-spacing: -0.55px;
}
body.landlord-dashboard-shell[data-page="profile"] .reference-profile.landlord-profile-modern .customer-reference-banner h1 em {
    font-style: normal;
    color: #05d3f1;
    background: none;
    -webkit-text-fill-color: currentColor;
}
body.landlord-dashboard-shell[data-page="profile"] .reference-profile.landlord-profile-modern .customer-reference-banner p {
    margin: 0;
    color: #bdd3f0;
    font-size: 12.5px;
    line-height: 1.5;
}
body.landlord-dashboard-shell[data-page="profile"] .reference-profile.landlord-profile-modern .ldpf-banner-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}
body.landlord-dashboard-shell[data-page="profile"] .reference-profile.landlord-profile-modern .ldpf-banner-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 11px;
    border-radius: 999px;
    border: 1px solid rgba(94, 226, 252, 0.24);
    background: rgba(4, 27, 70, 0.65);
    color: #dcebff;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.2;
}
body.landlord-dashboard-shell[data-page="profile"] .reference-profile.landlord-profile-modern .ldpf-banner-chip svg {
    width: 13px;
    height: 13px;
    color: #05d3f1;
    flex-shrink: 0;
}

/* Preview Notice (when viewing unauthenticated local preview) */
body.landlord-dashboard-shell[data-page="profile"] .reference-profile.landlord-profile-modern .profile-preview-notice {
    margin: 0;
    padding: 14px 18px;
    border: 1px solid #bfd8fb;
    border-radius: 14px;
    background: linear-gradient(180deg, #f3f8ff 0%, #e9f2ff 100%);
    color: #153769;
}
body.landlord-dashboard-shell[data-page="profile"] .reference-profile.landlord-profile-modern .profile-preview-notice > svg {
    color: #075fff;
}

/* 2. Crisp Architectural Identity Sheet (`.profile-identity-hero`) */
body.landlord-dashboard-shell[data-page="profile"] .reference-profile.landlord-profile-modern .profile-identity-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    margin: 0;
    padding: 22px 26px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    border: 1px solid #c7dcf8;
    border-radius: 16px;
    background: linear-gradient(180deg, #ffffff 0%, #f6faff 100%);
    box-shadow: 0 8px 22px rgba(5, 25, 64, 0.05);
    color: #041638;
}
body.landlord-dashboard-shell[data-page="profile"] .reference-profile.landlord-profile-modern .profile-identity-hero::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 3px;
    background: linear-gradient(90deg, #075fff 0%, #05d3f1 55%, #0e9f6e 100%);
    pointer-events: none;
}

/* Portrait + Synthetic GD Stamp Replacement + Camera Trigger */
body.landlord-dashboard-shell[data-page="profile"] .reference-profile.landlord-profile-modern .profile-photo-workspace {
    position: relative;
    flex-shrink: 0;
    margin-top: 20px;
}
body.landlord-dashboard-shell[data-page="profile"] .reference-profile.landlord-profile-modern .profile-portrait {
    position: relative;
    width: 88px;
    height: 88px;
    border-radius: 50%;
    border: 3px solid #ffffff;
    outline: 0;
    background: linear-gradient(135deg, #075fff 0%, #032970 100%);
    box-shadow: 0 0 0 1.5px #9ec2f7, 0 8px 20px rgba(7, 95, 255, 0.18);
    color: #ffffff;
    font-size: 26px;
    font-weight: 780;
    letter-spacing: 0.6px;
    transform: none;
    overflow: hidden;
}
body.landlord-dashboard-shell[data-page="profile"] .reference-profile.landlord-profile-modern .profile-portrait:hover {
    transform: none;
}
body.landlord-dashboard-shell[data-page="profile"] .reference-profile.landlord-profile-modern .profile-portrait img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
body.landlord-dashboard-shell[data-page="profile"] .reference-profile.landlord-profile-modern .profile-portrait[data-ld-synthetic-stamp="true"] img {
    opacity: 0;
}
body.landlord-dashboard-shell[data-page="profile"] .reference-profile.landlord-profile-modern .profile-portrait[data-ld-synthetic-stamp="true"]::after {
    content: attr(data-ld-initials);
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: #ffffff;
    font-size: 26px;
    font-weight: 780;
    letter-spacing: 0.8px;
    pointer-events: none;
}
body.landlord-dashboard-shell[data-page="profile"] .reference-profile.landlord-profile-modern .profile-camera {
    position: absolute;
    right: -2px;
    bottom: -1px;
    width: 30px;
    height: 30px;
    padding: 0;
    border-radius: 50%;
    border: 2.5px solid #ffffff;
    background: linear-gradient(135deg, #075fff 0%, #0044cf 100%);
    box-shadow: 0 3px 8px rgba(7, 95, 255, 0.3);
    color: #ffffff;
    cursor: pointer;
    transition: background 140ms ease, transform 140ms ease;
}
body.landlord-dashboard-shell[data-page="profile"] .reference-profile.landlord-profile-modern .profile-camera svg {
    width: 14px;
    height: 14px;
}
body.landlord-dashboard-shell[data-page="profile"] .reference-profile.landlord-profile-modern .profile-camera:hover:not(:disabled) {
    background: linear-gradient(135deg, #1b6fff 0%, #0652eb 100%);
}

/* Identity Copy & Photo Controls */
body.landlord-dashboard-shell[data-page="profile"] .reference-profile.landlord-profile-modern .profile-hero-copy {
    flex: 1 1 240px;
    min-width: 0;
}
body.landlord-dashboard-shell[data-page="profile"] .reference-profile.landlord-profile-modern .profile-hero-copy > .eyebrow {
    display: inline-block;
    margin: 0 0 3px;
    color: #075fff;
    font-size: 9.5px;
    font-weight: 760;
    letter-spacing: 1.15px;
    text-transform: uppercase;
}
body.landlord-dashboard-shell[data-page="profile"] .reference-profile.landlord-profile-modern .profile-hero-copy h2 {
    margin: 0 0 4px;
    color: #041638;
    font-size: clamp(20px, 1.6vw, 24px);
    font-weight: 780;
    line-height: 1.2;
    letter-spacing: -0.45px;
}
body.landlord-dashboard-shell[data-page="profile"] .reference-profile.landlord-profile-modern .profile-email {
    display: inline-block;
    color: #3d5a84;
    font-size: 13px;
    font-weight: 520;
    text-decoration: none;
}
body.landlord-dashboard-shell[data-page="profile"] .reference-profile.landlord-profile-modern .profile-email:hover {
    color: #075fff;
    text-decoration: underline;
    text-underline-offset: 3px;
}
body.landlord-dashboard-shell[data-page="profile"] .reference-profile.landlord-profile-modern .profile-categories {
    margin-top: 9px;
    gap: 7px;
}
body.landlord-dashboard-shell[data-page="profile"] .reference-profile.landlord-profile-modern .profile-category {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 11px;
    border-radius: 999px;
    border: 1px solid #bfd8fb;
    background: linear-gradient(180deg, #f3f8ff 0%, #e7f1ff 100%);
    color: #075fff;
    font-size: 11px;
    font-weight: 720;
}
body.landlord-dashboard-shell[data-page="profile"] .reference-profile.landlord-profile-modern .profile-category svg {
    width: 13px;
    height: 13px;
}
body.landlord-dashboard-shell[data-page="profile"] .reference-profile.landlord-profile-modern .profile-photo-actions {
    margin-top: 11px;
    gap: 8px 10px;
    align-items: center;
    flex-wrap: wrap;
}
body.landlord-dashboard-shell[data-page="profile"] .reference-profile.landlord-profile-modern .profile-photo-actions .text-button {
    padding: 5px 11px;
    border-radius: 8px;
    border: 1px solid #c5dcfb;
    background: #f4f8ff;
    color: #0b4fd6;
    font-size: 11px;
    font-weight: 670;
    text-decoration: none;
    transition: background 140ms ease, border-color 140ms ease, color 140ms ease;
}
body.landlord-dashboard-shell[data-page="profile"] .reference-profile.landlord-profile-modern .profile-photo-actions .text-button:hover:not(:disabled) {
    border-color: #96bcf5;
    background: #e7f0ff;
    color: #053ba8;
}
body.landlord-dashboard-shell[data-page="profile"] .reference-profile.landlord-profile-modern .profile-photo-actions .text-button[data-profile-photo="remove"] {
    border-color: #d6e3f5;
    background: #f9fbff;
    color: #4b658b;
}
body.landlord-dashboard-shell[data-page="profile"] .reference-profile.landlord-profile-modern .profile-photo-actions .text-button[data-profile-photo="remove"]:hover:not(:disabled) {
    border-color: #fecdd3;
    background: #fff1f3;
    color: #be123c;
}
body.landlord-dashboard-shell[data-page="profile"] .reference-profile.landlord-profile-modern .profile-photo-actions small {
    flex-basis: 100%;
    line-height: 1.5;
    color: #637d9f;
    font-size: 10.5px;
    font-weight: 500;
}

/* Membership date */
body.landlord-dashboard-shell[data-page="profile"] .reference-profile.landlord-profile-modern .profile-membership {
    margin-left: auto;
    min-width: 148px;
    padding: 12px 15px;
    display: grid;
    gap: 4px;
    border: 1px solid #d4e4fa;
    border-radius: 13px;
    background: linear-gradient(180deg, #f7faff 0%, #edf4ff 100%);
    color: #041638;
}
body.landlord-dashboard-shell[data-page="profile"] .reference-profile.landlord-profile-modern .profile-membership > span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #4f6b93;
    font-size: 9.5px;
    font-weight: 730;
    letter-spacing: 0.85px;
    text-transform: uppercase;
}
body.landlord-dashboard-shell[data-page="profile"] .reference-profile.landlord-profile-modern .profile-membership svg {
    width: 13.5px;
    height: 13.5px;
    color: #075fff;
}
body.landlord-dashboard-shell[data-page="profile"] .reference-profile.landlord-profile-modern .profile-membership strong {
    color: #041638;
    font-size: 15px;
    font-weight: 770;
    letter-spacing: -0.25px;
    font-variant-numeric: tabular-nums;
}
body.landlord-dashboard-shell[data-page="profile"] .reference-profile.landlord-profile-modern .profile-membership small {
    color: #5b759a;
    font-size: 10.5px;
    font-weight: 560;
}

body.landlord-dashboard-shell[data-page="profile"] .reference-profile.landlord-profile-modern .reference-profile-status {
    display: flex;
    align-items: stretch;
    gap: 10px;
    margin: 0;
    padding: 0;
}
body.landlord-dashboard-shell[data-page="profile"] .reference-profile.landlord-profile-modern .reference-profile-status > div {
    min-width: 136px;
    padding: 11px 14px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    gap: 6px;
    border: 1px solid #d4e4fa;
    border-radius: 13px;
    background: linear-gradient(180deg, #f7faff 0%, #edf4ff 100%);
    color: #041638;
}
body.landlord-dashboard-shell[data-page="profile"] .reference-profile.landlord-profile-modern .reference-profile-status > div > svg {
    width: 17px;
    height: 17px;
    color: #075fff;
}
body.landlord-dashboard-shell[data-page="profile"] .reference-profile.landlord-profile-modern .reference-profile-status > div:first-child > svg {
    color: #0e9f6e;
}
body.landlord-dashboard-shell[data-page="profile"] .reference-profile.landlord-profile-modern .reference-profile-status.reference-email-unverified > div:first-child > svg {
    color: #d97706;
}
body.landlord-dashboard-shell[data-page="profile"] .reference-profile.landlord-profile-modern .reference-profile-status > div > span:not(.badge) {
    color: #4f6b93;
    font-size: 10.5px;
    font-weight: 650;
    line-height: 1.25;
}
body.landlord-dashboard-shell[data-page="profile"] .reference-profile.landlord-profile-modern .reference-profile-status .badge {
    margin: 0;
    padding: 3.5px 9px;
    border-radius: 999px;
    border: 1px solid #a7ebd0;
    background: #e3f9f0;
    color: #067a55;
    font-size: 10px;
    font-weight: 730;
}
body.landlord-dashboard-shell[data-page="profile"] .reference-profile.landlord-profile-modern .reference-profile-status .badge.amber,
body.landlord-dashboard-shell[data-page="profile"] .reference-profile.landlord-profile-modern .reference-profile-status .badge.neutral,
body.landlord-dashboard-shell[data-page="profile"] .reference-profile.landlord-profile-modern .reference-email-unverified > div:first-child .badge {
    border-color: #fcd34d;
    background: #fef3c7;
    color: #92400e;
}

/* 3. Two-Column Details Grid (`Personal information` & `Bank Details`) */
body.landlord-dashboard-shell[data-page="profile"] .reference-profile.landlord-profile-modern .profile-details-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
    gap: 18px;
    align-items: stretch;
}
body.landlord-dashboard-shell[data-page="profile"] .reference-profile.landlord-profile-modern :is(.profile-info-panel, .profile-bank-panel) {
    min-width: 0;
    padding: 22px 24px;
    display: flex;
    flex-direction: column;
    border: 1px solid #c7dcf8;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 6px 18px rgba(5, 25, 64, 0.04);
}
body.landlord-dashboard-shell[data-page="profile"] .reference-profile.landlord-profile-modern .profile-section-title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid #e7effc;
}
body.landlord-dashboard-shell[data-page="profile"] .reference-profile.landlord-profile-modern .profile-section-icon {
    width: 40px;
    height: 40px;
    border-radius: 11px;
    border: 1px solid #c3dcfb;
    background: linear-gradient(135deg, #edf4ff 0%, #dceaff 100%);
    color: #075fff;
    flex-shrink: 0;
}
body.landlord-dashboard-shell[data-page="profile"] .reference-profile.landlord-profile-modern .profile-section-icon.bank {
    border-color: #b5e4f0;
    background: linear-gradient(135deg, #e6f7fb 0%, #d5f1f8 100%);
    color: #0891b2;
}
body.landlord-dashboard-shell[data-page="profile"] .reference-profile.landlord-profile-modern .profile-section-icon svg {
    width: 19px;
    height: 19px;
}
body.landlord-dashboard-shell[data-page="profile"] .reference-profile.landlord-profile-modern .ldpf-kicker {
    display: block;
    margin-bottom: 2px;
    color: #075fff;
    font-size: 9px;
    font-weight: 770;
    letter-spacing: 1.1px;
    text-transform: uppercase;
}
body.landlord-dashboard-shell[data-page="profile"] .reference-profile.landlord-profile-modern .profile-bank-panel .ldpf-kicker {
    color: #0891b2;
}
body.landlord-dashboard-shell[data-page="profile"] .reference-profile.landlord-profile-modern .profile-section-title h2 {
    margin: 0 0 2px;
    color: #041638;
    font-size: 17.5px;
    font-weight: 760;
    letter-spacing: -0.35px;
}
body.landlord-dashboard-shell[data-page="profile"] .reference-profile.landlord-profile-modern .profile-section-title p {
    margin: 0;
    color: #567096;
    font-size: 11.5px;
}

/* Section Action Buttons (`Edit` & `+ Add bank`) — zero purple */
body.landlord-dashboard-shell[data-page="profile"] .reference-profile.landlord-profile-modern .button.primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 36px;
    padding: 0 14px;
    border-radius: 10px;
    border: 1px solid #0550e6;
    background: linear-gradient(135deg, #075fff 0%, #0045d8 100%);
    box-shadow: 0 4px 12px rgba(7, 95, 255, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    color: #ffffff;
    font-size: 12px;
    font-weight: 690;
    transition: background 140ms ease, box-shadow 140ms ease;
}
body.landlord-dashboard-shell[data-page="profile"] .reference-profile.landlord-profile-modern .button.primary svg {
    width: 14px;
    height: 14px;
}
body.landlord-dashboard-shell[data-page="profile"] .reference-profile.landlord-profile-modern .button.primary:hover:not(:disabled) {
    background: linear-gradient(135deg, #1b6fff 0%, #0650eb 100%);
    box-shadow: 0 6px 16px rgba(7, 95, 255, 0.28);
}
body.landlord-dashboard-shell[data-page="profile"] .reference-profile.landlord-profile-modern .profile-info-panel .profile-section-title > .button.primary {
    border: 1px solid #bfd8fb;
    background: linear-gradient(180deg, #f5f9ff 0%, #eaf2ff 100%);
    box-shadow: 0 1px 3px rgba(6, 28, 72, 0.05);
    color: #075fff;
}
body.landlord-dashboard-shell[data-page="profile"] .reference-profile.landlord-profile-modern .profile-info-panel .profile-section-title > .button.primary:hover:not(:disabled) {
    border-color: #075fff;
    background: #075fff;
    color: #ffffff;
}

/* Personal Information Rows & Address Sub-Panel */
body.landlord-dashboard-shell[data-page="profile"] .reference-profile.landlord-profile-modern .profile-detail-list > div {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.15fr);
    gap: 14px;
    align-items: baseline;
    padding: 12px 4px;
    border-bottom: 1px solid #ebf2fd;
}
body.landlord-dashboard-shell[data-page="profile"] .reference-profile.landlord-profile-modern .profile-detail-list > div:last-child {
    border-bottom: 0;
}
body.landlord-dashboard-shell[data-page="profile"] .reference-profile.landlord-profile-modern .profile-detail-list dt {
    color: #556f95;
    font-size: 12px;
    font-weight: 560;
}
body.landlord-dashboard-shell[data-page="profile"] .reference-profile.landlord-profile-modern .profile-detail-list dd {
    margin: 0;
    color: #041638;
    font-size: 13px;
    font-weight: 690;
    line-height: 1.5;
    overflow-wrap: anywhere;
}
body.landlord-dashboard-shell[data-page="profile"] .reference-profile.landlord-profile-modern .profile-address-section {
    margin-top: 14px;
    padding: 13px 15px;
    border: 1px solid #d8e6fb;
    border-radius: 12px;
    background: linear-gradient(180deg, #f8fbff 0%, #f2f7ff 100%);
}
body.landlord-dashboard-shell[data-page="profile"] .reference-profile.landlord-profile-modern .profile-address-heading h3 {
    margin: 0;
    color: #163564;
    font-size: 12.5px;
    font-weight: 720;
}
body.landlord-dashboard-shell[data-page="profile"] .reference-profile.landlord-profile-modern .profile-address-heading button {
    color: #075fff;
    font-size: 11.5px;
    font-weight: 680;
}
body.landlord-dashboard-shell[data-page="profile"] .reference-profile.landlord-profile-modern .profile-address-section address {
    margin-top: 8px;
    color: #092047;
    font-size: 12.5px;
    font-weight: 540;
    line-height: 1.65;
}
body.landlord-dashboard-shell[data-page="profile"] .reference-profile.landlord-profile-modern .profile-info-panel > .profile-small-note {
    margin-top: auto;
    padding-top: 14px;
    color: #5d779c;
    font-size: 10.5px;
    line-height: 1.6;
}

/* Bank Details Card & Empty/Compliance States */
body.landlord-dashboard-shell[data-page="profile"] .reference-profile.landlord-profile-modern .profile-bank-register {
    display: grid;
    gap: 12px;
    margin-bottom: 14px;
}
body.landlord-dashboard-shell[data-page="profile"] .reference-profile.landlord-profile-modern .profile-bank-card {
    position: relative;
    padding: 18px 20px;
    border: 1px solid #c5dcf9;
    border-left: 3.5px solid #075fff;
    border-radius: 14px;
    background: linear-gradient(180deg, #f7faff 0%, #ffffff 100%);
    box-shadow: 0 4px 12px rgba(5, 25, 64, 0.035);
    transform: none;
}
body.landlord-dashboard-shell[data-page="profile"] .reference-profile.landlord-profile-modern .profile-bank-card:hover {
    transform: none;
    border-color: #a4c6f5;
    border-left-color: #075fff;
}
body.landlord-dashboard-shell[data-page="profile"] .reference-profile.landlord-profile-modern .profile-bank-card-heading {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-bottom: 14px;
}
body.landlord-dashboard-shell[data-page="profile"] .reference-profile.landlord-profile-modern .profile-bank-card-heading > span:first-child {
    width: 36px;
    height: 36px;
    padding: 0;
    border-radius: 10px;
    border: 1px solid #c5dcfb;
    background: #eaf2ff;
    color: #075fff;
    display: grid;
    place-items: center;
    flex-shrink: 0;
}
body.landlord-dashboard-shell[data-page="profile"] .reference-profile.landlord-profile-modern .profile-bank-card-heading > span:first-child svg {
    width: 18px;
    height: 18px;
}
body.landlord-dashboard-shell[data-page="profile"] .reference-profile.landlord-profile-modern .profile-bank-card-heading h3 {
    margin: 0;
    color: #041638;
    font-size: 15.5px;
    font-weight: 760;
    letter-spacing: -0.25px;
}
body.landlord-dashboard-shell[data-page="profile"] .reference-profile.landlord-profile-modern .profile-bank-card-heading small {
    margin-top: 2px;
    color: #536d93;
    font-size: 11.5px;
    font-weight: 540;
}
body.landlord-dashboard-shell[data-page="profile"] .reference-profile.landlord-profile-modern .profile-bank-card-heading > .badge {
    min-width: 0;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 730;
}
body.landlord-dashboard-shell[data-page="profile"] .reference-profile.landlord-profile-modern .profile-bank-card-heading > .badge.green {
    border: 1px solid #a7ebd0;
    background: #e3f9f0;
    color: #067a55;
}
body.landlord-dashboard-shell[data-page="profile"] .reference-profile.landlord-profile-modern .profile-bank-card-heading > .badge.amber {
    border: 1px solid #fcd34d;
    background: #fef3c7;
    color: #92400e;
}

body.landlord-dashboard-shell[data-page="profile"] .reference-profile.landlord-profile-modern .profile-bank-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 18px;
    margin: 0;
    padding: 13px 15px;
    border: 1px solid #dce9fb;
    border-radius: 11px;
    background: #f4f8ff;
}
body.landlord-dashboard-shell[data-page="profile"] .reference-profile.landlord-profile-modern .profile-bank-fields dt {
    margin-bottom: 4px;
    color: #567096;
    font-size: 10.5px;
    font-weight: 620;
    text-transform: uppercase;
    letter-spacing: 0.45px;
}
body.landlord-dashboard-shell[data-page="profile"] .reference-profile.landlord-profile-modern .profile-bank-fields dd {
    margin: 0;
    color: #041638;
    font-size: 13px;
    font-weight: 690;
}
body.landlord-dashboard-shell[data-page="profile"] .reference-profile.landlord-profile-modern .profile-bank-fields .masked-account {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 14.5px;
    font-weight: 760;
    letter-spacing: 0.8px;
    color: #041638;
}
body.landlord-dashboard-shell[data-page="profile"] .reference-profile.landlord-profile-modern .profile-bank-fields > div:nth-child(2) dd {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 13px;
    font-weight: 740;
    letter-spacing: 0.4px;
    color: #073b8a;
}

body.landlord-dashboard-shell[data-page="profile"] .reference-profile.landlord-profile-modern .profile-bank-footer {
    margin-top: 14px;
    padding-top: 13px;
    border-top: 1px solid #e1ecfc;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
body.landlord-dashboard-shell[data-page="profile"] .reference-profile.landlord-profile-modern .profile-bank-footer small {
    color: #567096;
    font-size: 11px;
    font-weight: 540;
}
body.landlord-dashboard-shell[data-page="profile"] .reference-profile.landlord-profile-modern .profile-bank-footer button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 13px;
    border-radius: 9px;
    border: 1px solid #bfd8fb;
    background: #ffffff;
    box-shadow: 0 1px 3px rgba(6, 28, 72, 0.05);
    color: #075fff;
    font-size: 11.5px;
    font-weight: 690;
    transition: background 140ms ease, border-color 140ms ease, color 140ms ease;
}
body.landlord-dashboard-shell[data-page="profile"] .reference-profile.landlord-profile-modern .profile-bank-footer button svg {
    width: 14px;
    height: 14px;
}
body.landlord-dashboard-shell[data-page="profile"] .reference-profile.landlord-profile-modern .profile-bank-footer button:hover:not(:disabled) {
    border-color: #075fff;
    background: #edf4ff;
    color: #053ba8;
}

body.landlord-dashboard-shell[data-page="profile"] .reference-profile.landlord-profile-modern .profile-bank-empty {
    min-height: 210px;
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px dashed #bdd5f6;
    border-radius: 14px;
    background: linear-gradient(180deg, #f8fbff 0%, #f1f7ff 100%);
}
body.landlord-dashboard-shell[data-page="profile"] .reference-profile.landlord-profile-modern .profile-bank-empty > span {
    width: 48px;
    height: 48px;
    margin: 0 auto 12px;
    border-radius: 13px;
    border: 1px solid #c3dcfb;
    background: linear-gradient(135deg, #edf4ff 0%, #dceaff 100%);
    color: #075fff;
    transform: none;
}
body.landlord-dashboard-shell[data-page="profile"] .reference-profile.landlord-profile-modern .profile-bank-empty > span svg {
    width: 22px;
    height: 22px;
}
body.landlord-dashboard-shell[data-page="profile"] .reference-profile.landlord-profile-modern .profile-bank-empty h3 {
    margin: 0;
    color: #041638;
    font-size: 16px;
    font-weight: 750;
}
body.landlord-dashboard-shell[data-page="profile"] .reference-profile.landlord-profile-modern .profile-bank-empty p {
    margin: 8px auto 16px;
    color: #546e93;
    font-size: 12px;
    line-height: 1.6;
}

body.landlord-dashboard-shell[data-page="profile"] .reference-profile.landlord-profile-modern .profile-verification-note {
    margin-top: auto;
    padding: 12px 14px;
    border: 1px solid #d5e5fb;
    border-radius: 12px;
    background: linear-gradient(180deg, #f5f9ff 0%, #edf4ff 100%);
    color: #4d678d;
    gap: 10px;
}
body.landlord-dashboard-shell[data-page="profile"] .reference-profile.landlord-profile-modern .profile-verification-note svg {
    width: 17px;
    height: 17px;
    margin-top: 2px;
    color: #075fff;
}
body.landlord-dashboard-shell[data-page="profile"] .reference-profile.landlord-profile-modern .profile-verification-note p {
    margin: 0;
    font-size: 11px;
    line-height: 1.55;
    color: #4d678d;
}
body.landlord-dashboard-shell[data-page="profile"] .reference-profile.landlord-profile-modern .profile-verification-note b {
    color: #082352;
    font-weight: 720;
}

/* 4. Workspace Summary Strip (`.reference-profile-summaries`) */
body.landlord-dashboard-shell[data-page="profile"] .reference-profile.landlord-profile-modern .reference-profile-summaries {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}
body.landlord-dashboard-shell[data-page="profile"] .reference-profile.landlord-profile-modern .reference-profile-summaries:where(:has(> :nth-child(3):last-child)) {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
body.landlord-dashboard-shell[data-page="profile"] .reference-profile.landlord-profile-modern .reference-summary-card {
    position: relative;
    overflow: hidden;
    padding: 16px 18px;
    display: flex;
    align-items: center;
    gap: 13px;
    border: 1px solid #c7dcf8;
    border-radius: 15px;
    background: linear-gradient(180deg, #ffffff 0%, #f6faff 100%);
    box-shadow: 0 5px 15px rgba(5, 25, 64, 0.04);
    text-align: left;
    cursor: pointer;
    transition: border-color 140ms ease, box-shadow 140ms ease, transform 140ms ease;
}
body.landlord-dashboard-shell[data-page="profile"] .reference-profile.landlord-profile-modern .reference-summary-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 3px;
    background: linear-gradient(90deg, #075fff 0%, #05d3f1 100%);
}
body.landlord-dashboard-shell[data-page="profile"] .reference-profile.landlord-profile-modern .reference-summary-card[data-ldpf-slot="1"]::before {
    background: linear-gradient(90deg, #06489e 0%, #075fff 100%);
}
body.landlord-dashboard-shell[data-page="profile"] .reference-profile.landlord-profile-modern .reference-summary-card[data-ldpf-slot="2"]::before {
    background: linear-gradient(90deg, #0e9f6e 0%, #10b981 100%);
}
body.landlord-dashboard-shell[data-page="profile"] .reference-profile.landlord-profile-modern .reference-summary-card[data-ldpf-slot="3"]::before {
    background: linear-gradient(90deg, #0891b2 0%, #05d3f1 100%);
}
body.landlord-dashboard-shell[data-page="profile"] .reference-profile.landlord-profile-modern .reference-summary-card:hover {
    border-color: #96bdf4;
    box-shadow: 0 8px 20px rgba(7, 95, 255, 0.09);
    transform: translateY(-1px);
}
body.landlord-dashboard-shell[data-page="profile"] .reference-profile.landlord-profile-modern .reference-summary-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    border: 1px solid #c3dcfb;
    background: linear-gradient(135deg, #edf4ff 0%, #dceaff 100%);
    color: #075fff;
    flex-shrink: 0;
}
body.landlord-dashboard-shell[data-page="profile"] .reference-profile.landlord-profile-modern .reference-summary-card[data-ldpf-slot="1"] .reference-summary-icon {
    border-color: #bfd4f4;
    background: linear-gradient(135deg, #ebf2fc 0%, #dae8fa 100%);
    color: #06489e;
}
body.landlord-dashboard-shell[data-page="profile"] .reference-profile.landlord-profile-modern .reference-summary-card[data-ldpf-slot="2"] .reference-summary-icon {
    border-color: #a9e9cf;
    background: linear-gradient(135deg, #e7fbf2 0%, #d3f6e7 100%);
    color: #067a55;
}
body.landlord-dashboard-shell[data-page="profile"] .reference-profile.landlord-profile-modern .reference-summary-card[data-ldpf-slot="3"] .reference-summary-icon {
    border-color: #b2e3ef;
    background: linear-gradient(135deg, #e6f7fb 0%, #d4f0f7 100%);
    color: #0891b2;
}
body.landlord-dashboard-shell[data-page="profile"] .reference-profile.landlord-profile-modern .reference-summary-icon svg {
    width: 20px;
    height: 20px;
}
body.landlord-dashboard-shell[data-page="profile"] .reference-profile.landlord-profile-modern .reference-summary-card > div {
    flex: 1;
    min-width: 0;
}
body.landlord-dashboard-shell[data-page="profile"] .reference-profile.landlord-profile-modern .reference-summary-card small {
    display: block;
    color: #536e94;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.35px;
    text-transform: uppercase;
}
body.landlord-dashboard-shell[data-page="profile"] .reference-profile.landlord-profile-modern .reference-summary-card strong {
    display: block;
    margin-top: 2px;
    color: #041638;
    font-size: clamp(19px, 1.55vw, 23px);
    font-weight: 780;
    line-height: 1.25;
    letter-spacing: -0.45px;
    font-variant-numeric: tabular-nums;
}
body.landlord-dashboard-shell[data-page="profile"] .reference-profile.landlord-profile-modern .reference-summary-card[data-ldpf-slot="2"] strong {
    color: #067a55;
}
body.landlord-dashboard-shell[data-page="profile"] .reference-profile.landlord-profile-modern .ldpf-summary-note {
    display: block;
    margin-top: 2px;
    color: #617b9f;
    font-size: 10.5px;
    font-weight: 500;
}
body.landlord-dashboard-shell[data-page="profile"] .reference-profile.landlord-profile-modern .ldpf-summary-arrow {
    width: 26px;
    height: 26px;
    border-radius: 8px;
    background: #eef5ff;
    color: #075fff;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    transition: background 140ms ease, color 140ms ease;
}
body.landlord-dashboard-shell[data-page="profile"] .reference-profile.landlord-profile-modern .ldpf-summary-arrow svg {
    width: 14px;
    height: 14px;
}
body.landlord-dashboard-shell[data-page="profile"] .reference-profile.landlord-profile-modern .reference-summary-card:hover .ldpf-summary-arrow {
    background: #075fff;
    color: #ffffff;
}

/* 5. Profile Responsive Breakpoints (`1672px` -> `320px`) */
@media (max-width: 1280px) {
    body.landlord-dashboard-shell[data-page="profile"] .reference-profile.landlord-profile-modern .profile-identity-hero {
        flex-wrap: wrap;
        gap: 16px;
    }
    body.landlord-dashboard-shell[data-page="profile"] .reference-profile.landlord-profile-modern .profile-membership {
        margin-left: 0;
        flex: 1 1 160px;
    }
    body.landlord-dashboard-shell[data-page="profile"] .reference-profile.landlord-profile-modern .reference-profile-status {
        flex: 2 1 280px;
    }
    body.landlord-dashboard-shell[data-page="profile"] .reference-profile.landlord-profile-modern .reference-profile-status > div {
        flex: 1;
    }
    body.landlord-dashboard-shell[data-page="profile"] .reference-profile.landlord-profile-modern .reference-profile-summaries {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 960px) {
    body.landlord-dashboard-shell[data-page="profile"] .reference-profile.landlord-profile-modern .profile-details-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}
@media (max-width: 760px) {
    body.landlord-dashboard-shell[data-page="profile"] .reference-profile.landlord-profile-modern {
        gap: 16px;
    }
    body.landlord-dashboard-shell[data-page="profile"] .reference-profile.landlord-profile-modern .customer-reference-banner {
        padding: 18px 18px;
        gap: 12px;
    }
    body.landlord-dashboard-shell[data-page="profile"] .reference-profile.landlord-profile-modern .customer-reference-banner .reference-banner-copy {
        flex: 0 0 auto;
        width: 100%;
    }
    body.landlord-dashboard-shell[data-page="profile"] .reference-profile.landlord-profile-modern .profile-identity-hero {
        margin: 0;
        padding: 18px;
        gap: 14px;
    }
    body.landlord-dashboard-shell[data-page="profile"] .reference-profile.landlord-profile-modern .profile-portrait {
        width: 72px;
        height: 72px;
        font-size: 22px;
    }
    body.landlord-dashboard-shell[data-page="profile"] .reference-profile.landlord-profile-modern .profile-portrait[data-ld-synthetic-stamp="true"]::after {
        font-size: 22px;
    }
    body.landlord-dashboard-shell[data-page="profile"] .reference-profile.landlord-profile-modern .profile-membership {
        display: grid;
        flex: 1 1 100%;
    }
    body.landlord-dashboard-shell[data-page="profile"] .reference-profile.landlord-profile-modern .reference-profile-status {
        flex: 1 1 100%;
        padding-top: 0;
        border-top: 0;
    }
    body.landlord-dashboard-shell[data-page="profile"] .reference-profile.landlord-profile-modern :is(.profile-info-panel, .profile-bank-panel) {
        padding: 18px;
    }
}
@media (max-width: 520px) {
    body.landlord-dashboard-shell[data-page="profile"] .reference-profile.landlord-profile-modern .ldpf-banner-chips {
        gap: 6px;
    }
    body.landlord-dashboard-shell[data-page="profile"] .reference-profile.landlord-profile-modern .ldpf-banner-chip {
        font-size: 10px;
        padding: 5px 9px;
    }
    body.landlord-dashboard-shell[data-page="profile"] .reference-profile.landlord-profile-modern .reference-profile-status {
        flex-direction: column;
        gap: 8px;
    }
    body.landlord-dashboard-shell[data-page="profile"] .reference-profile.landlord-profile-modern .profile-detail-list > div {
        grid-template-columns: minmax(0, 1fr);
        gap: 4px;
    }
    body.landlord-dashboard-shell[data-page="profile"] .reference-profile.landlord-profile-modern .profile-bank-fields {
        grid-template-columns: minmax(0, 1fr);
        gap: 11px;
    }
    body.landlord-dashboard-shell[data-page="profile"] .reference-profile.landlord-profile-modern .reference-profile-summaries {
        grid-template-columns: minmax(0, 1fr);
        gap: 10px;
    }
}

/* ==========================================================================
   Landlord Left Navigation Sidebar (`#sidebar.ld-sidebar-enhanced`)
   ========================================================================== */
body:not([data-staff-workspace="true"]) #sidebar.sidebar.ld-sidebar-enhanced {
    padding: 0 12px 14px;
    overflow-y: auto;
    min-height: 100dvh;
    background:
        radial-gradient(135% 36% at 0% 0%, rgba(5, 211, 241, 0.075) 0%, transparent 58%),
        linear-gradient(180deg, #020f2b 0%, #03173c 52%, #02102b 100%);
    border-right: 1px solid #102f5c;
    box-shadow: 6px 0 22px rgba(1, 12, 36, 0.12), inset -1px 0 0 rgba(120, 180, 255, 0.06);
}
body:not([data-staff-workspace="true"]) #sidebar.sidebar.ld-sidebar-enhanced::after,
body:not([data-staff-workspace="true"]) #sidebar.sidebar.ld-sidebar-enhanced :is(.fintech-sidebar-promo, .reference-sidebar-promo) {
    display: none !important;
}

/* 1. Brand Header — Exact 66px Horizon Flush with `.topbar.ld-topbar-enhanced` */
body:not([data-staff-workspace="true"]) #sidebar.sidebar.ld-sidebar-enhanced > .brand {
    height: 66px;
    min-height: 66px;
    margin: 0 -12px;
    padding: 0 16px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 11px;
    border-bottom: 1px solid rgba(56, 130, 214, 0.22);
    background: linear-gradient(180deg, rgba(6, 30, 74, 0.44) 0%, rgba(2, 16, 44, 0.12) 100%);
    text-decoration: none;
}
body:not([data-staff-workspace="true"]) #sidebar.sidebar.ld-sidebar-enhanced .ld-brand-emblem {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    background: #031735;
    border: 1px solid rgba(94, 226, 252, 0.25);
    box-shadow: 0 4px 12px rgba(0, 10, 28, 0.48), inset 0 1px 0 rgba(255, 255, 255, 0.14);
}
body:not([data-staff-workspace="true"]) #sidebar.sidebar.ld-sidebar-enhanced .ld-brand-emblem .brand-mark {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.08);
    display: block;
}
body:not([data-staff-workspace="true"]) #sidebar.sidebar.ld-sidebar-enhanced .ld-brand-copy {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}
body:not([data-staff-workspace="true"]) #sidebar.sidebar.ld-sidebar-enhanced .ld-brand-name {
    display: block;
    color: #f8fbff;
    font-size: 15.5px;
    font-weight: 760;
    letter-spacing: -0.35px;
    line-height: 1.15;
    white-space: nowrap;
}
body:not([data-staff-workspace="true"]) #sidebar.sidebar.ld-sidebar-enhanced .ld-brand-sub {
    display: block;
    color: #67daf6;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.2px;
    line-height: 1.2;
    overflow-wrap: anywhere;
    opacity: 0.9;
}

/* 2. Structured 3-Domain Navigation Rail (`#nav`) */
body:not([data-staff-workspace="true"]) #sidebar.sidebar.ld-sidebar-enhanced #nav {
    margin-top: 12px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}
body:not([data-staff-workspace="true"]) #sidebar.sidebar.ld-sidebar-enhanced .ld-nav-group-label {
    padding: 13px 10px 5px;
    color: #6989b6;
    font-size: 9.5px;
    font-weight: 740;
    letter-spacing: 1.1px;
    text-transform: uppercase;
    line-height: 1.2;
    user-select: none;
}
body:not([data-staff-workspace="true"]) #sidebar.sidebar.ld-sidebar-enhanced .ld-nav-group-label:first-child {
    padding-top: 2px;
}

body:not([data-staff-workspace="true"]) #sidebar.sidebar.ld-sidebar-enhanced #nav button {
    position: relative;
    min-height: 40px;
    height: auto;
    margin: 0;
    padding: 6px 10px 6px 8px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 11px;
    border: 1px solid transparent;
    border-radius: 10px;
    background: transparent;
    box-shadow: none;
    color: #bdd1ec;
    font-size: 12.5px;
    font-weight: 560;
    letter-spacing: -0.1px;
    transform: none;
    transition: background 140ms ease, border-color 140ms ease, color 140ms ease, box-shadow 140ms ease;
}
body:not([data-staff-workspace="true"]) #sidebar.sidebar.ld-sidebar-enhanced #nav button > i {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    background: rgba(12, 38, 80, 0.58);
    border: 1px solid rgba(98, 152, 226, 0.15);
    color: #84aad9;
    transition: background 140ms ease, border-color 140ms ease, color 140ms ease, box-shadow 140ms ease;
}
body:not([data-staff-workspace="true"]) #sidebar.sidebar.ld-sidebar-enhanced #nav button svg {
    width: 16.5px;
    height: 16.5px;
    flex-shrink: 0;
    transform: none !important;
}
body:not([data-staff-workspace="true"]) #sidebar.sidebar.ld-sidebar-enhanced #nav button > span {
    display: block;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    line-height: 1.3;
}

/* Hover State (Inactive) */
body:not([data-staff-workspace="true"]) #sidebar.sidebar.ld-sidebar-enhanced #nav button:hover:not(.active) {
    background: rgba(14, 46, 98, 0.58);
    border-color: rgba(82, 144, 230, 0.24);
    color: #f4f8ff;
}
body:not([data-staff-workspace="true"]) #sidebar.sidebar.ld-sidebar-enhanced #nav button:hover:not(.active) > i {
    background: rgba(7, 95, 255, 0.22);
    border-color: rgba(94, 226, 252, 0.3);
    color: #5ee2fc;
}

/* Active State — Tailored Samruddhi Sapphire-Cobalt + Precision Cyan Accent Rail */
body:not([data-staff-workspace="true"]) #sidebar.sidebar.ld-sidebar-enhanced #nav button.active {
    background: linear-gradient(92deg, rgba(11, 66, 160, 0.78) 0%, rgba(7, 44, 112, 0.65) 64%, rgba(5, 34, 88, 0.52) 100%);
    border-color: rgba(62, 142, 248, 0.44);
    box-shadow: 0 4px 14px rgba(1, 10, 30, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.09);
    color: #ffffff;
    font-weight: 660;
}
body:not([data-staff-workspace="true"]) #sidebar.sidebar.ld-sidebar-enhanced #nav button.active::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    bottom: 10px;
    width: 3px;
    border-radius: 0 3px 3px 0;
    background: linear-gradient(180deg, #05d3f1 0%, #2f80ff 100%);
}
body:not([data-staff-workspace="true"]) #sidebar.sidebar.ld-sidebar-enhanced #nav button.active > i {
    background: linear-gradient(135deg, #075fff 0%, #0044d6 100%);
    border-color: rgba(118, 185, 255, 0.56);
    box-shadow: 0 3px 9px rgba(7, 95, 255, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.24);
    color: #ffffff;
}

#sidebar > #sidebar-logout:not([hidden]) {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
    min-height: 44px;
    margin-top: 8px;
    padding: 0 12px;
    border: 1px solid transparent;
    border-radius: 10px;
    background: transparent;
    color: #dbeaff;
    text-align: left;
    font-size: 13px;
    font-weight: 600;
}
#sidebar-logout i {
    display: grid;
    place-items: center;
}
#sidebar-logout svg {
    width: 18px;
    height: 18px;
}
#sidebar-logout:hover,
#sidebar-logout:focus-visible {
    background: #102b54;
    border-color: #527aab;
    color: #fff;
}

/* 3. Bottom Concierge Utility Zone (`#support.support-card`) */
body:not([data-staff-workspace="true"]) #sidebar.sidebar.ld-sidebar-enhanced .ld-sidebar-divider {
    margin-top: auto;
    padding-top: 14px;
    margin-bottom: 12px;
    border-bottom: 1px solid rgba(56, 130, 214, 0.18);
}
body:not([data-staff-workspace="true"]) #sidebar.sidebar.ld-sidebar-enhanced #support.support-card {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    margin: 0;
    padding: 10px 11px;
    min-height: 52px;
    border: 1px solid rgba(52, 126, 214, 0.28);
    border-radius: 11px;
    background: linear-gradient(135deg, rgba(8, 40, 88, 0.72) 0%, rgba(4, 23, 55, 0.88) 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
    color: #eaf4ff;
    text-align: left;
    cursor: pointer;
    transition: background 140ms ease, border-color 140ms ease, box-shadow 140ms ease;
}
body:not([data-staff-workspace="true"]) #sidebar.sidebar.ld-sidebar-enhanced #support.support-card > i {
    width: 32px;
    height: 32px;
    border-radius: 9px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    background: rgba(5, 211, 241, 0.12);
    border: 1px solid rgba(5, 211, 241, 0.28);
    color: #2ce0f9;
    transition: background 140ms ease, border-color 140ms ease, color 140ms ease;
}
body:not([data-staff-workspace="true"]) #sidebar.sidebar.ld-sidebar-enhanced #support.support-card > i svg {
    width: 16.5px;
    height: 16.5px;
}
body:not([data-staff-workspace="true"]) #sidebar.sidebar.ld-sidebar-enhanced #support.support-card > span:not(.ld-support-chevron) {
    display: flex;
    flex-direction: column;
    gap: 1.5px;
    min-width: 0;
    flex: 1;
}
body:not([data-staff-workspace="true"]) #sidebar.sidebar.ld-sidebar-enhanced #support.support-card b {
    color: #f4f8ff;
    font-size: 12px;
    font-weight: 660;
    line-height: 1.25;
}
body:not([data-staff-workspace="true"]) #sidebar.sidebar.ld-sidebar-enhanced #support.support-card small {
    display: block;
    margin: 0;
    color: #80a3cf;
    font-size: 10.5px;
    font-weight: 500;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
body:not([data-staff-workspace="true"]) #sidebar.sidebar.ld-sidebar-enhanced #support.support-card > .ld-support-chevron {
    margin-left: auto;
    width: 24px;
    height: 24px;
    border-radius: 7px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    font-size: 0;
    background: rgba(15, 52, 108, 0.65);
    border: 1px solid rgba(86, 148, 232, 0.2);
    color: #9ec3ef;
    transition: background 140ms ease, border-color 140ms ease, color 140ms ease;
}
body:not([data-staff-workspace="true"]) #sidebar.sidebar.ld-sidebar-enhanced #support.support-card > .ld-support-chevron svg {
    width: 13px;
    height: 13px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.1;
    stroke-linecap: round;
    stroke-linejoin: round;
}
body:not([data-staff-workspace="true"]) #sidebar.sidebar.ld-sidebar-enhanced #support.support-card:hover {
    background: linear-gradient(135deg, rgba(12, 54, 118, 0.84) 0%, rgba(6, 32, 76, 0.94) 100%);
    border-color: rgba(82, 158, 248, 0.46);
    box-shadow: 0 4px 14px rgba(1, 10, 30, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
body:not([data-staff-workspace="true"]) #sidebar.sidebar.ld-sidebar-enhanced #support.support-card:hover > .ld-support-chevron {
    background: #075fff;
    border-color: #3d84ff;
    color: #ffffff;
}

/* 4. Sidebar Responsive Breakpoints (`1100px`, `900px` Mobile Drawer, `760px`) */
@media (min-width: 901px) and (max-width: 1100px) {
    body:not([data-staff-workspace="true"]) #sidebar.sidebar.ld-sidebar-enhanced {
        padding: 0 10px 12px;
    }
    body:not([data-staff-workspace="true"]) #sidebar.sidebar.ld-sidebar-enhanced > .brand {
        margin: 0 -10px;
        padding: 0 12px;
        gap: 9px;
    }
    body:not([data-staff-workspace="true"]) #sidebar.sidebar.ld-sidebar-enhanced .ld-brand-emblem {
        width: 33px;
        height: 33px;
    }
    body:not([data-staff-workspace="true"]) #sidebar.sidebar.ld-sidebar-enhanced .ld-brand-name {
        font-size: 14.5px;
    }
    body:not([data-staff-workspace="true"]) #sidebar.sidebar.ld-sidebar-enhanced #nav button {
        padding: 6px 8px 6px 7px;
        gap: 9px;
        font-size: 12px;
    }
    body:not([data-staff-workspace="true"]) #sidebar.sidebar.ld-sidebar-enhanced #nav button > i {
        width: 26px;
        height: 26px;
    }
}
@media (max-width: 900px) {
    body:not([data-staff-workspace="true"]) #sidebar.sidebar.ld-sidebar-enhanced {
        width: 264px;
        max-width: calc(100vw - 36px);
        transform: translateX(-100%);
        z-index: 70;
    }
    body:not([data-staff-workspace="true"]) #sidebar.sidebar.ld-sidebar-enhanced.open {
        transform: translateX(0);
        box-shadow: 18px 0 44px rgba(1, 10, 30, 0.45);
    }
    body:not([data-staff-workspace="true"]) #sidebar.sidebar.ld-sidebar-enhanced > .brand {
        padding-right: 52px;
    }
    body:not([data-staff-workspace="true"]) #sidebar.sidebar.ld-sidebar-enhanced #drawer-close {
        display: grid;
        place-items: center;
        position: absolute;
        top: 17px;
        right: 12px;
        width: 32px;
        height: 32px;
        min-width: 32px;
        min-height: 32px;
        padding: 0;
        border-radius: 8px;
        border: 1px solid rgba(94, 226, 252, 0.22);
        background: rgba(8, 38, 84, 0.78);
        color: #dcebff;
        font-size: 19px;
        line-height: 1;
    }
    body:not([data-staff-workspace="true"]) #sidebar.sidebar.ld-sidebar-enhanced #drawer-close:hover {
        background: #075fff;
        border-color: #3d84ff;
        color: #ffffff;
    }
}
@media (max-width: 760px) {
    body:not([data-staff-workspace="true"]) #sidebar.sidebar.ld-sidebar-enhanced > .brand {
        height: 60px;
        min-height: 60px;
    }
    body:not([data-staff-workspace="true"]) #sidebar.sidebar.ld-sidebar-enhanced #drawer-close {
        top: 14px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .landlord-dashboard-modern *, .landlord-dashboard-modern *::before, .landlord-dashboard-modern *::after,
    .landlord-investments-modern *, .landlord-investments-modern *::before, .landlord-investments-modern *::after,
    .landlord-earnings-modern *, .landlord-earnings-modern *::before, .landlord-earnings-modern *::after,
    .landlord-history-modern *, .landlord-history-modern *::before, .landlord-history-modern *::after,
    .landlord-property-modern *, .landlord-property-modern *::before, .landlord-property-modern *::after,
    .landlord-referral-modern *, .landlord-referral-modern *::before, .landlord-referral-modern *::after,
    .landlord-profile-modern *, .landlord-profile-modern *::before, .landlord-profile-modern *::after,
    .ld-sidebar-enhanced *, .ld-sidebar-enhanced *::before, .ld-sidebar-enhanced *::after,
    .ld-topbar-enhanced *, .ld-topbar-enhanced *::before, .ld-topbar-enhanced *::after,
    .ld-footer-enhanced *, .ld-footer-enhanced *::before, .ld-footer-enhanced *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* Balance the profile identity, photo controls and membership date on wide screens. */
@media (min-width: 901px) {
    body.landlord-dashboard-shell[data-page="profile"] .reference-profile.landlord-profile-modern .profile-identity-hero { align-items: center; }
    body.landlord-dashboard-shell[data-page="profile"] .reference-profile.landlord-profile-modern .profile-photo-workspace { margin-top: 0; }
    body.landlord-dashboard-shell[data-page="profile"] .reference-profile.landlord-profile-modern .profile-hero-copy { display: grid; grid-template-columns: minmax(180px, 1fr) minmax(180px, .85fr); column-gap: 24px; align-items: start; }
    body.landlord-dashboard-shell[data-page="profile"] .reference-profile.landlord-profile-modern .profile-hero-copy > :is(.eyebrow, h2, .profile-email, .profile-categories) { grid-column: 1; }
    body.landlord-dashboard-shell[data-page="profile"] .reference-profile.landlord-profile-modern .profile-photo-actions { grid-column: 2; grid-row: 1 / span 4; align-self: center; justify-self: center; margin: 0; max-width: 250px; }
    body.landlord-dashboard-shell[data-page="profile"] .reference-profile.landlord-profile-modern .profile-membership { flex: 0 0 auto; margin-left: 4px; align-self: center; }
}
