/* Landlord dialog presentation only. Existing native forms, validation and callbacks remain authoritative. */
:is(#modal,#notification-panel).landlord-modal {
    --ldm-ink: #081c42;
    --ldm-muted: #4b648a;
    --ldm-blue: #075fff;
    --ldm-cyan: #05d3f1;
    --ldm-line: #c7dcf8;
    position: fixed;
    inset: 0;
    box-sizing: border-box;
    width: min(560px, calc(100vw - 32px));
    height: fit-content;
    max-width: none;
    max-height: calc(100dvh - 36px);
    margin: auto;
    padding: 0;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: #9cb8df transparent;
    border: 1px solid #1c4e8f45;
    border-radius: 20px;
    color: var(--ldm-ink);
    background: linear-gradient(180deg, #ffffff 0%, #f5f9ff 100%);
    box-shadow: 0 28px 72px #02102d47, 0 0 0 1px #ffffff26;
    font-family: Inter, Arial, sans-serif;
    font-size: 14px;
    line-height: 1.55;
    text-align: left;
}
:is(#modal,#notification-panel).landlord-modal *,
:is(#modal,#notification-panel).landlord-modal *::before,
:is(#modal,#notification-panel).landlord-modal *::after {
    box-sizing: border-box;
}
:is(#modal,#notification-panel).landlord-modal::backdrop {
    background: radial-gradient(circle at 50% 35%, #06285e73 0%, #020e299e 100%);
    backdrop-filter: blur(7px);
}
#modal.landlord-modal[data-landlord-modal-layout="money"] { width: min(540px, calc(100vw - 32px)); }
#modal.landlord-modal[data-landlord-modal-layout="form"] { width: min(780px, calc(100vw - 32px)); }
#modal.landlord-modal[data-landlord-modal-layout="media"] { width: min(720px, calc(100vw - 32px)); }
#notification-panel.landlord-modal { width: min(600px, calc(100vw - 32px)); padding-bottom: 24px; }
:is(#modal,#notification-panel).landlord-modal [hidden] { display: none !important; }
#modal.landlord-modal #modal-form { margin: 0; padding: 0 0 26px; min-width: 0; }

/* Flush Samruddhi Brand Header Band */
:is(#modal,#notification-panel).landlord-modal .modal-heading {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    align-items: center;
    justify-content: initial;
    gap: 15px;
    min-height: 0;
    margin: 0;
    padding: 22px 68px 20px 26px;
    border-bottom: 1px solid #15468a;
    background: radial-gradient(90% 135% at 96% 0%, #05d3f136 0%, transparent 55%), linear-gradient(125deg, #02163b 0%, #063175 56%, #0752d4 100%);
    color: #ffffff;
    box-shadow: inset 0 -1px 0 #66d9ff24;
}
:is(#modal,#notification-panel).landlord-modal .modal-heading::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 3.5px;
    background: linear-gradient(90deg, #05d3f1 0%, #3898ff 52%, #075fff 100%);
    z-index: 2;
    pointer-events: none;
}
#modal.landlord-modal[data-landlord-modal-kind="investment"] .modal-heading {
    background: radial-gradient(90% 135% at 96% 0%, #05d3f13b 0%, transparent 55%), linear-gradient(125deg, #02163b 0%, #053882 54%, #087ca1 100%);
}
#modal.landlord-modal[data-landlord-modal-kind="investment"] .modal-heading::before {
    background: linear-gradient(90deg, #05d3f1 0%, #0891b2 54%, #0e9f6e 100%);
}
#modal.landlord-modal[data-landlord-modal-kind="withdraw"] .modal-heading {
    background: radial-gradient(90% 135% at 96% 0%, #38bdf833 0%, transparent 55%), linear-gradient(125deg, #02163b 0%, #072f6b 58%, #055a8c 100%);
}
:is(#modal,#notification-panel).landlord-modal .ldm-heading-icon {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border: 1px solid #67e8f959;
    border-radius: 13px;
    background: linear-gradient(135deg, #05d3f12e 0%, #3b82f62b 100%);
    color: #7ee8ff;
    box-shadow: inset 0 1px 0 #ffffff33, 0 6px 14px #010d2638;
    flex-shrink: 0;
}
:is(#modal,#notification-panel).landlord-modal .ldm-heading-icon svg {
    width: 24px;
    height: 24px;
    color: currentColor !important;
}
:is(#modal,#notification-panel).landlord-modal .ldm-title-copy { min-width: 0; padding: 0; }
:is(#modal,#notification-panel).landlord-modal :is(.ldm-eyebrow, .modal-heading .eyebrow) {
    display: block;
    margin: 0 0 3px;
    color: #67e8f9;
    font-size: 9.5px;
    line-height: 1.3;
    letter-spacing: 1.35px;
    font-weight: 760;
    text-transform: uppercase;
}
#modal.landlord-modal #modal-eyebrow { display: none; }
:is(#modal,#notification-panel).landlord-modal .modal-heading h2 {
    margin: 0 0 3px;
    font-size: 22px;
    line-height: 1.22;
    letter-spacing: -.55px;
    font-weight: 750;
    color: #ffffff;
    overflow-wrap: anywhere;
}
:is(#modal,#notification-panel).landlord-modal .ldm-description {
    margin: 0;
    color: #c7ddf8;
    font-size: 12.5px;
    line-height: 1.45;
    font-weight: 450;
}
:is(#modal,#notification-panel).landlord-modal :is(#modal-close,#notifications-close) {
    position: absolute;
    top: 20px;
    right: 20px;
    display: grid;
    place-items: center;
    width: 40px;
    min-width: 40px;
    height: 40px;
    min-height: 40px;
    margin: 0;
    padding: 0;
    border: 1px solid #ffffff2e;
    border-radius: 11px;
    color: #eaf4ff;
    background: #ffffff14;
    box-shadow: inset 0 1px 0 #ffffff1f;
    font-size: 23px;
    line-height: 1;
    z-index: 2;
    transition: background .15s ease, border-color .15s ease, color .15s ease;
}
:is(#modal,#notification-panel).landlord-modal :is(#modal-close,#notifications-close):hover {
    background: #ffffff29;
    border-color: #67e8f980;
    color: #ffffff;
}
#modal.landlord-modal :is(.investment-dialog-intro,.investment-dialog-icon,.investment-dialog-art,.profile-reference-art,.ldm-header-art) {
    display: none !important;
}

/* Live Context Bar for Add Money */
#modal.landlord-modal .ldm-context-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px 14px;
    margin: 18px 26px 0;
    padding: 11px 15px;
    border: 1px solid #c3daf7;
    border-radius: 12px;
    background: radial-gradient(85% 130% at 100% 50%, #05d3f11c 0%, transparent 58%), linear-gradient(90deg, #edf5ff 0%, #f7fbff 100%);
    box-shadow: 0 2px 8px #07235708, inset 0 1px 0 #ffffff;
}
#modal.landlord-modal .ldm-context-metric {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 8px;
}
#modal.landlord-modal .ldm-context-metric span {
    color: #466189;
    font-size: 11.5px;
    font-weight: 600;
}
#modal.landlord-modal .ldm-context-metric strong {
    color: #081c42;
    font-size: 14.5px;
    font-weight: 760;
    letter-spacing: -.3px;
    font-variant-numeric: tabular-nums;
}
#modal.landlord-modal .ldm-context-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 10px;
    border-radius: 999px;
    border: 1px solid #b6e8d7;
    background: #e3f8f0;
    color: #096c4e;
    font-size: 10.5px;
    font-weight: 680;
    white-space: nowrap;
}
#modal.landlord-modal .ldm-context-pill i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #0e9f6e;
    box-shadow: 0 0 0 2px #0e9f6e29;
}
#modal.landlord-modal .ldm-context-pill[data-enabled="false"] {
    border-color: #fde68a;
    background: #fef3c7;
    color: #92400e;
}
#modal.landlord-modal .ldm-context-pill[data-enabled="false"] i {
    background: #d97706;
    box-shadow: 0 0 0 2px #d9770629;
}

/* Consistent controls; preserve every existing input node and its constraints. */
#modal.landlord-modal #modal-body {
    min-width: 0;
    padding: 22px 26px 0;
}
#modal.landlord-modal #modal-form > .ldm-context-bar + #modal-body {
    padding-top: 16px;
}
#modal.landlord-modal #modal-body label {
    display: block;
    min-width: 0;
    margin: 0 0 16px;
    padding: 0;
    color: #091e44;
    font-size: 12.5px;
    line-height: 1.45;
    font-weight: 680;
}
#modal.landlord-modal #modal-body :where(input:not([type="checkbox"]):not([type="radio"]),select,textarea) {
    display: block;
    width: 100%;
    min-width: 0;
    min-height: 46px;
    max-width: 100%;
    margin: 7px 0 0;
    padding: 11px 14px;
    border: 1px solid #c3d8f5;
    border-radius: 11px;
    background: #f9fcff;
    color: #091e44;
    box-shadow: inset 0 1px 2px #07235706;
    font-family: inherit;
    font-size: 13.5px;
    line-height: 1.5;
    font-weight: 500;
    outline: none;
    transition: border-color .15s ease, background .15s ease, box-shadow .15s ease;
}
#modal.landlord-modal #modal-body :where(input:not([type="checkbox"]):not([type="radio"]),select,textarea):focus {
    border-color: #075fff;
    background: #ffffff;
    box-shadow: 0 0 0 3px #075fff17;
}
#modal.landlord-modal #modal-body :is(input,textarea)::placeholder { color: #7e93b3; opacity: 1; font-weight: 450; }
#modal.landlord-modal #modal-body :is(input,select,textarea):disabled { color: #6d82a3; background: #eef3fa; }
#modal.landlord-modal #modal-body textarea { min-height: 98px; resize: vertical; }
#modal.landlord-modal #modal-body :is(input[type="checkbox"],input[type="radio"]) { accent-color: #075fff; }
#modal.landlord-modal #modal-body input[type="file"] { overflow: hidden; padding: 9px 10px; font-size: 12px; font-weight: 450; }
#modal.landlord-modal #modal-body input[type="file"]::file-selector-button {
    margin-right: 10px;
    padding: 6px 11px;
    border: 1px solid #b9d3fa;
    border-radius: 8px;
    background: linear-gradient(180deg, #ffffff 0%, #eaf3ff 100%);
    color: #0545c4;
    font: inherit;
    font-weight: 650;
    cursor: pointer;
}
#modal.landlord-modal .form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 18px; margin: 0; padding: 0; border: 0; }
#modal.landlord-modal .form-grid .full { grid-column: 1 / -1; }
#modal.landlord-modal #modal-body :is(.field-note,.subtle-note) {
    display: block;
    position: static;
    min-height: 0;
    margin: 4px 0 16px;
    padding: 11px 14px;
    border: 1px solid #cce0fa;
    border-radius: 11px;
    background: linear-gradient(90deg, #eef5ff 0%, #f7fbff 100%);
    color: #435e86;
    font-size: 11.5px;
    line-height: 1.6;
    font-weight: 460;
}
#modal.landlord-modal #modal-body .field-note::before { display: none; }
#modal.landlord-modal #modal-body .profile-dialog-intro {
    max-width: none;
    min-height: 0;
    margin: 0 0 18px;
    padding: 11px 14px;
    border: 1px solid #cce0fa;
    border-radius: 11px;
    background: linear-gradient(90deg, #eef5ff 0%, #f7fbff 100%);
    color: #435e86;
    font-size: 12px;
    line-height: 1.6;
}
#modal.landlord-modal #modal-body label > small { display: block; margin-top: 6px; color: #5b7399; font-size: 11px; line-height: 1.6; font-weight: 450; }
#modal.landlord-modal :is(.profile-reference-section,.profile-address-form-title) {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 8px 0 16px;
    padding: 10px 13px;
    border: 1px solid #cce0fa;
    border-radius: 11px;
    color: #081c42;
    background: linear-gradient(90deg, #eaf3ff 0%, #f6faff 100%);
    font-size: 14.5px;
    line-height: 1.4;
    letter-spacing: -.2px;
    font-weight: 700;
}
#modal.landlord-modal .profile-reference-section svg { width: 19px; height: 19px; color: #075fff; }
#modal.landlord-modal .profile-required { color: #ca3449; margin-right: 4px; }
#modal.landlord-modal .profile-reference-input {
    display: flex;
    width: 100%;
    min-height: 46px;
    margin-top: 7px;
    border: 1px solid #c3d8f5;
    border-radius: 11px;
    background: #f9fcff;
    box-shadow: none;
    overflow: hidden;
}
#modal.landlord-modal .profile-reference-input:focus-within { border-color: #075fff; background: #ffffff; box-shadow: 0 0 0 3px #075fff17; }
#modal.landlord-modal .profile-reference-input > span {
    flex: 0 0 44px;
    width: 44px;
    display: grid;
    place-items: center;
    border-right: 1px solid #d5e4fa;
    color: #075fff;
    background: #edf5ff;
}
#modal.landlord-modal .profile-reference-input > span svg { width: 19px; height: 19px; color: currentColor !important; }
#modal.landlord-modal #modal-body .profile-reference-input input {
    margin: 0;
    padding: 10px 12px;
    min-height: 44px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    font-size: 13.5px;
}
#modal.landlord-modal .profile-password-toggle {
    min-width: 52px;
    min-height: 44px;
    padding: 0 11px;
    color: #0545c4;
    background: #eaf3ff;
    border: 0;
    border-left: 1px solid #d5e4fa;
    font-size: 11px;
    font-weight: 660;
    cursor: pointer;
}
#modal.landlord-modal #modal-body :is(.profile-photo-preview img,.reference-full-photo img) { display: block; width: auto; max-width: 100%; height: auto; max-height: 55dvh; margin: 0 auto 14px; border-radius: 13px; object-fit: contain; }
#modal.landlord-modal #property-record-photo-preview { max-width: 100%; max-height: 180px; height: auto; width: auto; margin-top: 10px; border: 1px solid #cce0fa; border-radius: 11px; object-fit: contain; }
#modal.landlord-modal .profile-photo-preview p { color: #4b648a; font-size: 12px; line-height: 1.65; }

/* Money forms retain existing amount normalization and Quick Add handlers. */
#modal.landlord-modal #modal-body .request-amount {
    color: #081c42;
    font-size: 13px;
    font-weight: 720;
    letter-spacing: -.1px;
    margin-bottom: 18px;
}
#modal.landlord-modal .request-amount > span {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 74px;
    margin-top: 8px;
    padding: 12px 18px;
    border: 1.5px solid #adcbf9;
    border-radius: 14px;
    background: linear-gradient(180deg, #ffffff 0%, #f2f7ff 100%);
    box-shadow: inset 0 1px 2px #07235708, 0 3px 10px #07235706;
    transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
#modal.landlord-modal .request-amount > span:focus-within {
    border-color: #075fff;
    background: #ffffff;
    box-shadow: 0 0 0 4px #075fff17, 0 6px 16px #075fff12;
}
#modal.landlord-modal .request-amount > span > span {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    padding: 0;
    border: 1px solid #1e5ed4;
    border-radius: 11px;
    background: linear-gradient(135deg, #03225c 0%, #075fff 100%);
    color: #ffffff;
    box-shadow: 0 4px 10px #075fff26, inset 0 1px 0 #ffffff33;
    font-size: 21px;
    line-height: 1;
    font-weight: 740;
}
#modal.landlord-modal #modal-body .request-amount input {
    min-height: 0;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: #081c42;
    font-size: 32px;
    line-height: 1.25;
    letter-spacing: -.65px;
    font-weight: 740;
    font-variant-numeric: tabular-nums;
}
#modal.landlord-modal #modal-body .request-amount input:focus { border: 0; background: transparent; box-shadow: none; }
#modal.landlord-modal #modal-body .request-amount input::placeholder { color: #8fa3c2; font-weight: 650; }
#modal.landlord-modal .request-balance {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 16px;
    justify-content: space-between;
    margin: 0 0 18px;
    padding: 12px 16px;
    border: 1px solid #174fa8;
    border-radius: 12px;
    background: radial-gradient(90% 140% at 100% 50%, #05d3f129 0%, transparent 55%), linear-gradient(120deg, #02163b 0%, #06327a 58%, #0752d4 100%);
    color: #d4e6ff;
    font-size: 12px;
    font-weight: 560;
    box-shadow: 0 6px 14px #0319421a, inset 0 1px 0 #ffffff21;
}
#modal.landlord-modal .request-balance strong {
    color: #ffffff;
    font-size: 20px;
    line-height: 1.25;
    letter-spacing: -.45px;
    font-weight: 760;
    font-variant-numeric: tabular-nums;
    overflow-wrap: anywhere;
}
#modal.landlord-modal .topup-quick-add {
    margin: 18px 0 0;
    padding: 14px 15px;
    border: 1px solid #d5e5fb;
    border-radius: 14px;
    background: linear-gradient(180deg, #f7faff 0%, #eef5ff 100%);
}
#modal.landlord-modal .topup-quick-heading {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 6px 12px;
    margin: 0 0 11px;
}
#modal.landlord-modal .topup-quick-heading h3 {
    margin: 0;
    color: #081c42;
    font-size: 13px;
    font-weight: 730;
    letter-spacing: -.15px;
}
#modal.landlord-modal .topup-quick-heading > span {
    display: inline-flex;
    align-items: center;
    padding: 2px 9px;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid #cce0fa;
    color: #466189;
    font-size: 10.5px;
    font-weight: 560;
    line-height: 1.45;
}
#modal.landlord-modal .topup-quick-options {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 9px;
}
#modal.landlord-modal .topup-quick-options button {
    min-width: 0;
    min-height: 46px;
    padding: 8px 6px;
    border: 1px solid #bed6f8;
    border-radius: 11px;
    background: linear-gradient(180deg, #ffffff 0%, #f4f9ff 100%);
    color: #092047;
    box-shadow: 0 2px 6px #07235708;
    font-size: 14px;
    line-height: 1.3;
    font-weight: 730;
    font-variant-numeric: tabular-nums;
    cursor: pointer;
    transition: background .15s ease, border-color .15s ease, color .15s ease, box-shadow .15s ease;
}
#modal.landlord-modal .topup-quick-options button:hover {
    background: linear-gradient(180deg, #eef5ff 0%, #e1edff 100%);
    border-color: #075fff;
    color: #0545c4;
    box-shadow: 0 4px 10px #075fff14;
    transform: none;
}
#modal.landlord-modal .topup-quick-options button[aria-pressed="true"] {
    color: #ffffff;
    border-color: #075fff;
    background: linear-gradient(120deg, #03225c 0%, #075fff 100%);
    box-shadow: 0 5px 14px #075fff2e, inset 0 1px 0 #ffffff33;
}

/* Original submit visibility, error display and busy protection stay intact. */
#modal.landlord-modal #modal-submit:not([hidden]) {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: calc(100% - 52px);
    min-height: 50px;
    margin: 20px 26px 0;
    padding: 13px 20px;
    border: 1px solid #1d68ff;
    border-radius: 12px;
    color: #ffffff;
    background: linear-gradient(110deg, #03225c 0%, #075fff 56%, #0088cc 100%);
    box-shadow: 0 8px 20px #075fff29, inset 0 1px 0 #ffffff2e;
    font-size: 15px;
    line-height: 1.35;
    font-weight: 710;
    letter-spacing: -.15px;
    transform: none;
    transition: filter .15s ease, box-shadow .15s ease;
}
#modal.landlord-modal #modal-submit:not([hidden]):hover {
    filter: brightness(1.06);
    box-shadow: 0 10px 24px #075fff36, inset 0 1px 0 #ffffff38;
    transform: none;
}
#modal.landlord-modal #modal-submit:not([hidden]):active { filter: brightness(.97); box-shadow: none; transform: none; }
#modal.landlord-modal #modal-submit:disabled { cursor: wait; opacity: .65; }
:is(#modal,#notification-panel).landlord-modal :is(button,a,input,select,textarea,summary):focus-visible { outline: 3px solid #35c3f3; outline-offset: 2px; }
#modal.landlord-modal #modal-body :is(input,select,textarea):focus-visible { outline: none; }
#modal.landlord-modal #modal-error:not(:empty) {
    margin: 16px 26px 0;
    padding: 11px 14px;
    border: 1px solid #f4c7d2;
    border-radius: 11px;
    color: #a6263d;
    background: #fff3f6;
    font-size: 12px;
    line-height: 1.6;
    font-weight: 500;
    overflow-wrap: anywhere;
}
#modal.landlord-modal #modal-error:empty { display: none; }
#modal.landlord-modal #modal-body :is(.notice,.empty-state) {
    max-width: 100%;
    padding: 16px;
    border: 1px solid #cce0fa;
    border-radius: 12px;
    background: linear-gradient(180deg, #f4f9ff 0%, #edf5ff 100%);
    color: #466189;
    font-size: 12px;
    line-height: 1.65;
}
#modal.landlord-modal #modal-body .empty-state h3 { font-size: 17px; color: #081c42; margin: 8px 0; }
#modal.landlord-modal #modal-body .empty-state p { font-size: 12px; color: #4b648a; }
#modal.landlord-modal #modal-body .empty-icon { width: 46px; height: 46px; margin: 0 auto; background: #e3eeff; color: #075fff; border-radius: 12px; }
#modal.landlord-modal #modal-body .button { min-height: 44px; max-width: 100%; border-radius: 10px; padding: 10px 14px; font-size: 12px; white-space: normal; }
#modal.landlord-modal #modal-body .review-list {
    margin: 0;
    padding: 4px 16px;
    border: 1px solid #cce0fa;
    border-radius: 12px;
    background: linear-gradient(180deg, #ffffff 0%, #f6faff 100%);
    box-shadow: 0 2px 8px #07235706;
}
#modal.landlord-modal #modal-body .review-list > div { gap: 14px; padding: 12px 0; border-bottom-color: #e1ecfc; font-size: 12px; line-height: 1.6; }
#modal.landlord-modal #modal-body .review-list > div:last-child { border-bottom: 0; }
#modal.landlord-modal .review-list span { color: #526c92; }
#modal.landlord-modal .review-list b { color: #081c42; font-weight: 680; overflow-wrap: anywhere; }
#modal.landlord-modal .detail-grid { gap: 0 20px; }
#modal.landlord-modal .detail-item { padding: 12px 0; border-bottom-color: #e1ecfc; }
#modal.landlord-modal .detail-item small { color: #526c92; font-size: 11px; }
#modal.landlord-modal .detail-item b { color: #081c42; font-size: 13px; line-height: 1.65; }
#modal.landlord-modal :is(.table-wrap,pre) { max-width: 100%; overflow: auto; }
#modal.landlord-modal :is(p,dl,dd,b) { overflow-wrap: anywhere; }

/* Notifications use the same centered dialog family and recorded event states. */
#notification-panel.landlord-modal .push-controls {
    margin: 0 0 14px;
    padding: 10px 14px;
    border: 1px solid #cce0fa;
    border-radius: 11px;
    background: linear-gradient(90deg, #eef5ff 0%, #f7fbff 100%);
    gap: 8px 14px;
}
#notification-panel.landlord-modal #notification-content { min-width: 0; padding: 18px 26px 0; }
#notification-panel.landlord-modal .request-notification {
    margin: 0 0 11px;
    padding: 15px 16px;
    border: 1px solid #cce0fa;
    border-radius: 13px;
    background: linear-gradient(180deg, #ffffff 0%, #f6faff 100%);
    box-shadow: 0 3px 10px #07235708;
}
#notification-panel.landlord-modal .request-notification:last-child { margin-bottom: 0; }
#notification-panel.landlord-modal .request-notification-heading { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; justify-content: space-between; color: #081c42; font-size: 13px; }
#notification-panel.landlord-modal .request-notification-heading strong { color: #081c42; font-size: 15.5px; font-weight: 740; font-variant-numeric: tabular-nums; }
#notification-panel.landlord-modal .request-notification p { margin: 6px 0; color: #4b648a; font-size: 12px; overflow-wrap: anywhere; }
#notification-panel.landlord-modal :is(.request-notification time,.notification-item time) { display: block; margin-top: 6px; color: #5e769c; font-size: 11px; line-height: 1.5; }
#notification-panel.landlord-modal .request-status { margin-top: 10px; padding: 4px 10px; font-size: 10px; font-weight: 680; }
#notification-panel.landlord-modal .request-status.pending { color: #92400e; background: #fef3c7; border: 1px solid #fde68a; }
#notification-panel.landlord-modal .request-status.approved { color: #096c4e; background: #e1f7ef; border: 1px solid #b4ebd6; }
#notification-panel.landlord-modal .request-status.rejected { color: #b6384c; background: #ffedf1; border: 1px solid #fbcfe8; }
#notification-panel.landlord-modal .notification-item { gap: 12px; padding: 14px 0; border-bottom-color: #e1ecfc; }
#notification-panel.landlord-modal .notification-item p { margin: 0; color: #3d5880; font-size: 12px; line-height: 1.7; overflow-wrap: anywhere; }
#notification-panel.landlord-modal .request-empty { padding: 28px 18px; border: 1px solid #cce0fa; border-radius: 13px; color: #526c92; background: #f6faff; font-size: 13px; }
#notification-panel.landlord-modal #notification-content > p[role="status"] { padding: 26px 18px; border-radius: 13px; color: #526c92; background: #f6faff; text-align: center; font-size: 13px; }

@media (max-width: 650px) {
    :is(#modal,#notification-panel).landlord-modal,
    #modal.landlord-modal[data-landlord-modal-layout],
    #notification-panel.landlord-modal {
        width: calc(100vw - 24px);
        max-height: calc(100dvh - 24px);
        border-radius: 18px;
    }
    #modal.landlord-modal #modal-form { padding-bottom: 22px; }
    #notification-panel.landlord-modal { padding-bottom: 20px; }
    :is(#modal,#notification-panel).landlord-modal .modal-heading {
        grid-template-columns: 44px minmax(0, 1fr);
        gap: 12px;
        padding: 18px 60px 17px 20px;
    }
    :is(#modal,#notification-panel).landlord-modal .ldm-heading-icon { width: 44px; height: 44px; border-radius: 12px; }
    :is(#modal,#notification-panel).landlord-modal .ldm-heading-icon svg { width: 22px; height: 22px; }
    :is(#modal,#notification-panel).landlord-modal .modal-heading h2 { font-size: 19.5px; letter-spacing: -.45px; }
    :is(#modal,#notification-panel).landlord-modal .ldm-description { font-size: 11.5px; line-height: 1.45; }
    :is(#modal,#notification-panel).landlord-modal :is(#modal-close,#notifications-close) { top: 14px; right: 14px; width: 40px; min-width: 40px; height: 40px; min-height: 40px; font-size: 22px; }
    #modal.landlord-modal .ldm-context-bar { margin: 15px 20px 0; padding: 10px 13px; }
    #modal.landlord-modal #modal-body { padding: 18px 20px 0; }
    #modal.landlord-modal #modal-form > .ldm-context-bar + #modal-body { padding-top: 14px; }
    #modal.landlord-modal .form-grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
    #modal.landlord-modal .form-grid .full { grid-column: 1; }
    #modal.landlord-modal #modal-body label { font-size: 12.5px; margin-bottom: 15px; }
    #modal.landlord-modal #modal-body :where(input:not([type="checkbox"]):not([type="radio"]),select,textarea) { font-size: 16px; padding: 10px 12px; }
    #modal.landlord-modal #modal-body .profile-reference-input input { font-size: 16px; }
    #modal.landlord-modal .request-amount > span { gap: 12px; min-height: 66px; padding: 10px 14px; border-radius: 13px; }
    #modal.landlord-modal .request-amount > span > span { width: 38px; height: 38px; font-size: 19px; }
    #modal.landlord-modal #modal-body .request-amount input { font-size: 28px; padding: 0; }
    #modal.landlord-modal .request-balance { padding: 11px 14px; }
    #modal.landlord-modal .request-balance strong { font-size: 18.5px; }
    #modal.landlord-modal .topup-quick-add { margin-top: 15px; padding: 12px 13px; }
    #modal.landlord-modal .topup-quick-heading { align-items: flex-start; flex-direction: column; gap: 5px; }
    #modal.landlord-modal .topup-quick-options { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
    #modal.landlord-modal .topup-quick-options button { min-height: 44px; font-size: 14px; }
    #modal.landlord-modal #modal-submit:not([hidden]) { width: calc(100% - 40px); min-height: 48px; margin: 18px 20px 0; font-size: 14.5px; }
    #modal.landlord-modal #modal-error:not(:empty) { margin: 14px 20px 0; }
    #modal.landlord-modal .detail-grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
    #modal.landlord-modal #modal-body .review-list { padding-inline: 13px; }
    #modal.landlord-modal #modal-body .review-list > div { gap: 12px; font-size: 11.5px; }
    #modal.landlord-modal .review-list b { max-width: 62%; }
    #notification-panel.landlord-modal .push-controls { margin: 0 0 12px; padding: 9px 12px; }
    #notification-panel.landlord-modal #notification-content { padding: 15px 20px 0; }
    #notification-panel.landlord-modal .request-notification { padding: 14px; }
    #notification-panel.landlord-modal .request-notification-heading { font-size: 12px; }
}
@media (max-width: 360px) {
    :is(#modal,#notification-panel).landlord-modal .modal-heading {
        grid-template-columns: 40px minmax(0, 1fr);
        gap: 10px;
        padding: 16px 56px 15px 16px;
    }
    :is(#modal,#notification-panel).landlord-modal .ldm-heading-icon { width: 40px; height: 40px; border-radius: 10px; }
    :is(#modal,#notification-panel).landlord-modal .modal-heading h2 { font-size: 18px; }
    :is(#modal,#notification-panel).landlord-modal .ldm-description { font-size: 11px; }
    :is(#modal,#notification-panel).landlord-modal :is(#modal-close,#notifications-close) { top: 12px; right: 12px; }
    #modal.landlord-modal .ldm-context-bar { margin: 13px 16px 0; padding: 9px 11px; }
    #modal.landlord-modal #modal-body { padding: 16px 16px 0; }
    #modal.landlord-modal #modal-submit:not([hidden]) { width: calc(100% - 32px); margin: 16px 16px 0; }
    #modal.landlord-modal #modal-error:not(:empty) { margin: 12px 16px 0; }
    #notification-panel.landlord-modal .push-controls { margin: 0 0 12px; }
    #notification-panel.landlord-modal #notification-content { padding: 14px 16px 0; }
    #modal.landlord-modal .request-balance { flex-direction: column; align-items: flex-start; }
    #modal.landlord-modal .topup-quick-options button { font-size: 13.5px; }
}
@media (prefers-reduced-motion: reduce) {
    :is(#modal,#notification-panel).landlord-modal,
    :is(#modal,#notification-panel).landlord-modal::backdrop,
    :is(#modal,#notification-panel).landlord-modal *,
    :is(#modal,#notification-panel).landlord-modal *::before,
    :is(#modal,#notification-panel).landlord-modal *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
