body.portal-live-body {
    margin: 0;
    font-family: "Segoe UI", Arial, sans-serif;
    background: #0f172a;
    color: #e5eefc;
}

a {
    color: inherit;
}

.portal-shell {
    min-height: 100vh;
}

.portal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 32px 18px;
    background: linear-gradient(135deg, #0f172a, #1d3d72);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.portal-eyebrow {
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #b9cbe8;
}

.portal-title {
    margin: 4px 0 0;
    font-size: 30px;
}

.portal-account {
    display: flex;
    align-items: center;
    gap: 12px;
}

.portal-account-card {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 12px 16px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.08);
    font-size: 14px;
}

.portal-account-card span {
    color: #c5d4ee;
}

.portal-logout,
.portal-nav-link,
.portal-button,
.portal-button-secondary {
    text-decoration: none;
}

.portal-logout,
.portal-nav-link,
.portal-button,
.portal-button-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    padding: 10px 16px;
    font-weight: 600;
    transition: 0.2s ease;
}

.portal-logout {
    background: rgba(255, 255, 255, 0.12);
}

.portal-logout:hover,
.portal-nav-link:hover,
.portal-button:hover,
.portal-button-secondary:hover {
    transform: translateY(-1px);
}

.portal-nav {
    display: flex;
    gap: 10px;
    padding: 16px 32px 0;
    flex-wrap: wrap;
}

.portal-nav-link {
    background: rgba(255, 255, 255, 0.06);
    color: #d7e5fb;
}

.portal-nav-link.is-active {
    background: #ffffff;
    color: #16335f;
}

.portal-main {
    padding: 24px 32px 40px;
}

.portal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.portal-form-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 14px;
}

.portal-card {
    background: #13213d;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 20px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25);
}

.portal-card h2,
.portal-card h3 {
    margin-top: 0;
}

.portal-muted {
    color: #b9cbe8;
}

.portal-alert {
    margin-bottom: 18px;
    padding: 14px 16px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.portal-alert.info {
    background: rgba(59, 130, 246, 0.12);
    color: #dbeafe;
}

.portal-alert.error {
    background: rgba(220, 38, 38, 0.15);
    color: #fee2e2;
}

.portal-alert.good {
    background: rgba(22, 163, 74, 0.15);
    color: #dcfce7;
}

.portal-form {
    max-width: 560px;
}

.portal-field {
    margin-bottom: 16px;
}

.portal-field label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
}

.portal-input {
    width: 100%;
    box-sizing: border-box;
    border-radius: 12px;
    border: 1px solid #334155;
    background: #0b152b;
    color: #eef4ff;
    padding: 12px 14px;
}

.portal-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 18px;
}

.portal-password-row {
    display: flex;
    gap: 8px;
    align-items: stretch;
}

.portal-password-row .portal-input {
    flex: 1 1 auto;
}

.portal-trial-row {
    display: grid;
    grid-template-columns: minmax(180px, 1fr) 110px 110px;
    gap: 8px;
}

.portal-autofill-trap {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.portal-button {
    background: #ffffff;
    color: #16335f;
    border: 0;
    cursor: pointer;
}

html.modal-open,
body.modal-open {
    background:
        radial-gradient(1200px 800px at 20% 0%, rgba(96, 165, 250, 0.18), transparent 55%),
        radial-gradient(900px 600px at 90% 10%, rgba(94, 234, 212, 0.14), transparent 50%),
        #0b0f14 !important;
}

body.modal-open #root {
    filter: none !important;
    transform: none !important;
    opacity: 1 !important;
}

#modal.modal {
    position: fixed;
    inset: 0;
    padding: 24px;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(circle at 50% 42%, rgba(59, 130, 246, 0.24), transparent 32%),
        radial-gradient(circle at 50% 42%, rgba(34, 211, 238, 0.12), transparent 46%),
        linear-gradient(180deg, rgba(2, 6, 23, 0.34), rgba(2, 6, 23, 0.54)) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    z-index: 9999;
}

#modal.modal.show,
#modal.modal.open {
    display: flex;
}

#modal .box {
    position: relative;
    margin: auto;
    border-radius: 24px;
    border: 1px solid rgba(96, 165, 250, 0.24);
    background:
        radial-gradient(circle at top right, rgba(59, 130, 246, 0.16), transparent 40%),
        radial-gradient(circle at bottom left, rgba(45, 212, 191, 0.08), transparent 48%),
        linear-gradient(180deg, rgba(15, 23, 42, 0.98), rgba(10, 15, 28, 0.98));
    box-shadow:
        0 0 0 1px rgba(96, 165, 250, 0.16),
        0 0 44px rgba(34, 211, 238, 0.32),
        0 0 96px rgba(59, 130, 246, 0.42),
        0 0 180px rgba(37, 99, 235, 0.34),
        0 0 240px rgba(56, 189, 248, 0.18),
        0 32px 80px rgba(2, 8, 23, 0.58);
    overflow: hidden;
}

#modal .box:not(.taskChatModal):not(.possessionCaseModal):not(.depositModal):not(.epPackModal):not(.addPropertyModal):not(.wide) {
    width: min(860px, calc(100vw - 40px));
    max-height: calc(100vh - 40px);
}

#modal .box.wide {
    width: min(1040px, calc(100vw - 40px));
    max-height: calc(100vh - 40px);
}

#modal .hd {
    padding: 18px 22px 14px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.12);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0));
    display: flex;
    align-items: center;
    gap: 12px;
}

#modal .hd b,
#modalTitle {
    font-size: 30px;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: #f8fafc;
}

#modal .hd .btn,
#modal .hd button:not(.tlg-modal-drag-handle) {
    margin-left: auto;
}

#modal .tlg-modal-drag-handle {
    width: 36px;
    height: 36px;
    min-width: 36px;
    padding: 0;
    border: 1px solid rgba(125, 211, 252, 0.34);
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.82), rgba(14, 116, 144, 0.68));
    color: #f8fafc;
    font-size: 18px;
    font-weight: 900;
    line-height: 1;
    cursor: move;
    box-shadow: 0 10px 22px rgba(14, 116, 144, 0.22);
}

#modal .tlg-modal-drag-handle:hover,
#modal .tlg-modal-drag-handle:focus-visible {
    border-color: rgba(186, 230, 253, 0.62);
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.92), rgba(8, 145, 178, 0.84));
    outline: none;
}

#modal .box.tlg-modal-dragging {
    user-select: none;
    cursor: move;
}

#modal .bd,
#modalBody {
    padding: 20px 22px 24px;
    font-size: 16px;
    line-height: 1.7;
    color: #e2e8f0;
}

#modalBody {
    overflow-y: auto;
    overflow-x: hidden;
}

#modal .lock,
#modal .notice,
#modal .modalBody,
#modal .tlg-modal-copy-live {
    padding: 18px 18px 16px;
    border-radius: 18px;
    border: 1px solid rgba(148, 163, 184, 0.12);
    background: rgba(15, 23, 42, 0.48);
}

#modalBody > .grid.tlg-modal-grid-live {
    width: 100% !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 14px !important;
    align-items: stretch !important;
}

#modal .tlg-modal-lock-live {
    width: 100%;
    max-width: none !important;
    display: grid;
    gap: 14px;
    background:
        linear-gradient(180deg, rgba(15, 23, 42, 0.68), rgba(15, 23, 42, 0.58));
}

#modal .lock b,
#modal .notice b,
#modal .modalBody b {
    display: block;
    font-size: 21px;
    line-height: 1.25;
    margin-bottom: 8px;
    color: #f8fafc;
}

#modal .muted {
    font-size: 16px;
    line-height: 1.72;
    color: #cbd5e1;
}

#modal .tlg-modal-lock-live .muted {
    max-width: none;
}

#modal .field label {
    font-size: 14px;
    font-weight: 700;
    color: #e2e8f0;
    margin-bottom: 8px;
}

#modal textarea,
#modal input,
#modal select {
    font-size: 15px;
}

#modal .tlg-modal-actions-live,
#modal .lock .row,
#modal .modalBody .row:last-child {
    gap: 10px !important;
    flex-wrap: wrap;
}

#modal .tlg-modal-lock-meta,
#modal .tlg-modal-lock-actions {
    width: 100%;
    justify-content: flex-start !important;
}

#modal .pill,
#modal .tag,
#modal .tlg-modal-chip-live {
    min-height: 34px;
    padding: 7px 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.02em;
}

#modal .tag,
#modal .tlg-modal-chip-live {
    border-color: rgba(96, 165, 250, 0.32);
    background: rgba(59, 130, 246, 0.12);
    color: #dbeafe;
}

#modal .pill {
    border-color: rgba(45, 212, 191, 0.28);
    background: rgba(45, 212, 191, 0.1);
    color: #ccfbf1;
}

#modal .tlg-modal-property-pill,
#modal .tlg-modal-property-heading {
    white-space: normal;
    overflow-wrap: anywhere;
    line-height: 1.35;
}

#modal .tlg-modal-property-pill {
    width: 100%;
    justify-content: flex-start;
    color: #f8fafc;
}

#modal .tlg-modal-lock-meta .pill:first-child {
    border-color: rgba(248, 113, 113, 0.4) !important;
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.98), rgba(190, 24, 93, 0.98)) !important;
    color: #ffffff !important;
    box-shadow: 0 8px 18px rgba(190, 24, 93, 0.26);
}

#modal .tlg-modal-lock-meta .tag {
    min-width: 168px;
    justify-content: flex-start;
    background: rgba(37, 99, 235, 0.16);
    border-color: rgba(96, 165, 250, 0.38);
}

#modal .btn,
#modal .tlg-modal-btn-live {
    min-height: 40px;
    padding: 0 16px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
}

#modal .hd .btn {
    min-height: 38px;
    padding: 0 14px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(148, 163, 184, 0.14);
    color: #f8fafc;
}

#modal .btn.primary,
#modal .tlg-modal-upgrade-btn {
    border: 1px solid rgba(34, 211, 238, 0.42);
    background: linear-gradient(135deg, #22d3ee, #2563eb) !important;
    color: #f8fafc !important;
    box-shadow: 0 14px 30px rgba(37, 99, 235, 0.26);
}

#modal .btn.primary:hover,
#modal .tlg-modal-upgrade-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 34px rgba(37, 99, 235, 0.32);
}

#modal .tlg-modal-lock-actions .tlg-modal-upgrade-btn,
#modal .tlg-modal-lock-actions .btn.primary {
    min-width: 180px;
}

/* Keep the main header logo, but remove the duplicate logo above the sidebar nav. */
.sidebar > .portalShellBrand--sidebar {
    display: none !important;
}

.sidebar .nav button.tlg-plan-locked {
    position: relative;
    padding-right: 64px;
    opacity: 0.92;
}

.sidebar .nav button .tlgLockBadge {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.02em;
    padding: 3px 8px;
    border-radius: 999px;
    background: rgba(88, 28, 135, 0.22);
    color: #d8b4fe;
    border: 1px solid rgba(216, 180, 254, 0.3);
}

.sidebar .nav button.tlg-plan-locked.active .tlgLockBadge {
    background: rgba(30, 41, 59, 0.8);
    color: #f5d0fe;
}

.portal-button-secondary {
    background: rgba(255, 255, 255, 0.08);
    color: #e5eefc;
    border: 0;
    cursor: pointer;
}

.portal-button-small {
    padding: 8px 12px;
    font-size: 13px;
    border-radius: 10px;
}

.portal-list {
    margin: 0;
    padding-left: 18px;
}

.portal-kv {
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 8px 14px;
}

.portal-kv strong {
    color: #ffffff;
}

.portal-demo-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.portal-demo-table th,
.portal-demo-table td {
    padding: 10px 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    text-align: left;
    vertical-align: top;
}

.portal-table-wrap {
    overflow-x: auto;
}

.portal-prototype-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 10px;
}

.portal-pill {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 4px 10px;
    background: rgba(255, 255, 255, 0.08);
    color: #d7e5fb;
    font-size: 12px;
}

.portal-signup-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(260px, 0.8fr);
    gap: 24px;
    align-items: center;
    background:
        radial-gradient(circle at top right, rgba(59, 130, 246, 0.18), transparent 38%),
        radial-gradient(circle at bottom left, rgba(45, 212, 191, 0.14), transparent 42%),
        #13213d;
}

.portal-signup-hero.is-essential {
    border-color: rgba(45, 212, 191, 0.56);
    box-shadow: 0 18px 44px rgba(20, 184, 166, 0.22);
}

.portal-signup-hero.is-plus {
    border-color: rgba(59, 130, 246, 0.88);
    box-shadow: 0 18px 50px rgba(37, 99, 235, 0.34);
}

.portal-signup-hero.is-protect {
    border-color: rgba(244, 114, 182, 0.58);
    box-shadow: 0 18px 44px rgba(236, 72, 153, 0.22);
}

.portal-signup-hero h2 {
    margin: 10px 0 12px;
    font-size: 34px;
    line-height: 1.1;
}

.portal-signup-hero-side {
    display: grid;
    gap: 12px;
    justify-items: start;
    padding: 18px;
    border-radius: 18px;
    background: rgba(11, 21, 43, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.portal-signup-hero-side.is-essential {
    background: linear-gradient(180deg, rgba(20, 184, 166, 0.26), rgba(11, 21, 43, 0.84));
    border-color: rgba(45, 212, 191, 0.52);
    box-shadow: inset 0 0 0 1px rgba(45, 212, 191, 0.14), 0 10px 28px rgba(20, 184, 166, 0.12);
}

.portal-signup-hero-side.is-plus {
    background: linear-gradient(180deg, rgba(37, 99, 235, 0.42), rgba(11, 21, 43, 0.86));
    border-color: rgba(96, 165, 250, 0.92);
    box-shadow: inset 0 0 0 1px rgba(147, 197, 253, 0.24), 0 14px 34px rgba(37, 99, 235, 0.24);
}

.portal-signup-hero-side.is-protect {
    background: linear-gradient(180deg, rgba(236, 72, 153, 0.26), rgba(11, 21, 43, 0.84));
    border-color: rgba(244, 114, 182, 0.54);
    box-shadow: inset 0 0 0 1px rgba(244, 114, 182, 0.14), 0 10px 28px rgba(236, 72, 153, 0.12);
}

.portal-signup-price,
.portal-signup-plan-price {
    display: inline-flex;
    align-items: baseline;
    gap: 6px;
    font-size: 42px;
    font-weight: 700;
    color: #ffffff;
}

.portal-signup-price span,
.portal-signup-plan-price span {
    font-size: 18px;
    color: #b9cbe8;
}

.portal-signup-steps {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.portal-signup-steps span,
.portal-plan-badge {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.portal-signup-steps span {
    background: rgba(255, 255, 255, 0.08);
    color: #d7e5fb;
}

.portal-plan-badge {
    width: fit-content;
    background: rgba(255, 255, 255, 0.08);
    color: #eef4ff;
}

.portal-plan-badge.is-essential {
    background: rgba(45, 212, 191, 0.18);
    color: #a7f3d0;
    border: 1px solid rgba(45, 212, 191, 0.34);
}

.portal-plan-badge.is-plus {
    background: rgba(96, 165, 250, 0.18);
    color: #bfdbfe;
    border: 1px solid rgba(96, 165, 250, 0.34);
}

.portal-plan-badge.is-protect {
    background: rgba(244, 114, 182, 0.18);
    color: #f9a8d4;
    border: 1px solid rgba(244, 114, 182, 0.34);
}

.portal-plan-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
    margin-top: 20px;
}

.portal-plan-option {
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.portal-plan-option:hover,
.portal-plan-option.is-selected {
    transform: translateY(-2px);
    border-color: rgba(96, 165, 250, 0.38);
    box-shadow: 0 22px 50px rgba(2, 6, 23, 0.34);
}

.portal-plan-option.is-essential.is-selected {
    border-color: rgba(45, 212, 191, 0.72);
    background: linear-gradient(180deg, rgba(20, 184, 166, 0.24), rgba(19, 33, 61, 0.96));
    box-shadow: 0 22px 50px rgba(13, 148, 136, 0.24);
}

.portal-plan-option.is-plus.is-selected {
    border-color: rgba(96, 165, 250, 0.98);
    background: linear-gradient(180deg, rgba(37, 99, 235, 0.42), rgba(19, 33, 61, 0.98));
    box-shadow: 0 26px 56px rgba(37, 99, 235, 0.34), inset 0 0 0 1px rgba(191, 219, 254, 0.22);
}

.portal-plan-option.is-protect.is-selected {
    border-color: rgba(244, 114, 182, 0.74);
    background: linear-gradient(180deg, rgba(236, 72, 153, 0.24), rgba(19, 33, 61, 0.96));
    box-shadow: 0 22px 50px rgba(219, 39, 119, 0.24);
}

.portal-plan-option.is-selected::after {
    content: "Selected";
    position: absolute;
    top: 14px;
    right: 14px;
    display: inline-flex;
    align-items: center;
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.03em;
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff;
}

.portal-plan-option {
    position: relative;
}

.portal-signup-layout {
    margin-top: 20px;
    align-items: start;
}

.portal-signup-form {
    max-width: none;
}

.portal-signup-feature-list {
    display: grid;
    gap: 10px;
}

.portal-check-row {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin-top: 10px;
    padding: 14px 16px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.portal-check-row input {
    margin-top: 3px;
}

.portal-check-row-weak {
    background: rgba(234, 179, 8, 0.1);
    border-color: rgba(250, 204, 21, 0.28);
}

.portal-password-meter {
    margin-top: 10px;
}

.portal-password-meter-bar {
    width: 100%;
    height: 10px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.portal-password-meter-bar span {
    display: block;
    height: 100%;
    width: 0;
    border-radius: 999px;
    background: linear-gradient(90deg, #ef4444, #f59e0b);
    transition: width 0.2s ease, background 0.2s ease;
}

.portal-password-meter-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 8px;
    flex-wrap: wrap;
}

.portal-password-meter-row strong {
    color: #ffffff;
}

.portal-signup-summary {
    display: grid;
    gap: 12px;
}

.portal-signup-summary-item {
    display: grid;
    gap: 5px;
    padding: 14px 16px;
    border-radius: 16px;
    background: rgba(11, 21, 43, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.portal-signup-summary-item strong {
    color: #ffffff;
}

.portal-signup-note {
    margin-top: 18px;
    padding: 18px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.portal-signup-success {
    max-width: 860px;
}

.portal-signup-cta-card {
    background:
        radial-gradient(circle at top right, rgba(96, 165, 250, 0.16), transparent 35%),
        radial-gradient(circle at bottom left, rgba(45, 212, 191, 0.1), transparent 40%),
        #13213d;
}

.portal-payment-shell {
    max-width: 1180px;
    margin: 0 auto;
}

.portal-payment-head {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(260px, 0.8fr);
    gap: 20px;
    align-items: center;
    margin-bottom: 20px;
}

.portal-payment-head h2 {
    margin: 10px 0 8px;
    font-size: 34px;
}

.portal-payment-price {
    display: grid;
    gap: 6px;
    padding: 18px 20px;
    border-radius: 18px;
    background: rgba(11, 21, 43, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.portal-payment-price strong {
    font-size: 28px;
    color: #ffffff;
}

.portal-payment-price span {
    color: #b9cbe8;
}

.portal-payment-price.is-essential {
    border-color: rgba(45, 212, 191, 0.48);
    background: linear-gradient(180deg, rgba(20, 184, 166, 0.22), rgba(11, 21, 43, 0.82));
}

.portal-payment-price.is-plus {
    border-color: rgba(96, 165, 250, 0.74);
    background: linear-gradient(180deg, rgba(37, 99, 235, 0.28), rgba(11, 21, 43, 0.84));
}

.portal-payment-price.is-protect {
    border-color: rgba(244, 114, 182, 0.52);
    background: linear-gradient(180deg, rgba(236, 72, 153, 0.24), rgba(11, 21, 43, 0.82));
}

.portal-payment-status {
    display: grid;
    gap: 6px;
    margin-bottom: 20px;
    padding: 16px 18px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
}

.portal-payment-status strong {
    color: #ffffff;
}

.portal-payment-status.is-warn {
    border-color: rgba(250, 204, 21, 0.32);
    background: rgba(250, 204, 21, 0.08);
}

.portal-payment-status.is-plus,
.portal-payment-status.is-info {
    border-color: rgba(96, 165, 250, 0.32);
    background: rgba(96, 165, 250, 0.08);
}

.portal-payment-status.is-essential {
    border-color: rgba(45, 212, 191, 0.32);
    background: rgba(45, 212, 191, 0.08);
}

.portal-payment-status.is-good {
    border-color: rgba(34, 197, 94, 0.32);
    background: rgba(34, 197, 94, 0.08);
}

.portal-payment-status.is-error {
    border-color: rgba(248, 113, 113, 0.32);
    background: rgba(248, 113, 113, 0.08);
}

.portal-payment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 18px;
}

.portal-payment-option {
    display: grid;
    gap: 12px;
}

.portal-payment-option.is-plus {
    border-color: rgba(96, 165, 250, 0.48);
    background: linear-gradient(180deg, rgba(37, 99, 235, 0.16), rgba(19, 33, 61, 0.98));
}

.portal-payment-option.is-essential {
    border-color: rgba(45, 212, 191, 0.42);
    background: linear-gradient(180deg, rgba(20, 184, 166, 0.12), rgba(19, 33, 61, 0.98));
}

.portal-payment-lower {
    margin-top: 20px;
    align-items: start;
}

.portal-queue-pill {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 5px 10px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.02em;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(148, 163, 184, 0.16);
    color: #e5eefc;
}

.portal-queue-pill.is-good {
    background: rgba(22, 163, 74, 0.18);
    color: #dcfce7;
    border-color: rgba(74, 222, 128, 0.32);
}

.portal-queue-pill.is-error {
    background: rgba(220, 38, 38, 0.18);
    color: #fee2e2;
    border-color: rgba(248, 113, 113, 0.32);
}

.portal-queue-pill.is-warn {
    background: rgba(245, 158, 11, 0.18);
    color: #fef3c7;
    border-color: rgba(251, 191, 36, 0.32);
}

.portal-queue-pill.is-info,
.portal-queue-pill.is-plus {
    background: rgba(59, 130, 246, 0.18);
    color: #dbeafe;
    border-color: rgba(96, 165, 250, 0.32);
}

.portal-queue-pill.is-essential {
    background: rgba(20, 184, 166, 0.18);
    color: #ccfbf1;
    border-color: rgba(45, 212, 191, 0.32);
}

.portal-queue-pill.route-card,
.portal-queue-pill.route-stripe {
    background: linear-gradient(180deg, rgba(22, 163, 74, 0.34), rgba(21, 128, 61, 0.24));
    color: #dcfce7;
    border-color: rgba(74, 222, 128, 0.62);
    box-shadow: 0 0 0 1px rgba(34, 197, 94, 0.12), 0 0 22px rgba(34, 197, 94, 0.18);
}

.portal-queue-pill.route-bacs {
    background: linear-gradient(180deg, rgba(220, 38, 38, 0.34), rgba(153, 27, 27, 0.22));
    color: #fee2e2;
    border-color: rgba(248, 113, 113, 0.62);
    box-shadow: 0 0 0 1px rgba(239, 68, 68, 0.12), 0 0 22px rgba(239, 68, 68, 0.18);
}

.portal-queue-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.portal-queue-actions form {
    margin: 0;
}

.portal-users-layout {
    grid-template-columns: minmax(320px, 0.88fr) minmax(700px, 1.42fr);
    align-items: start;
}

.portal-users-form-card .portal-form {
    max-width: 100%;
}

.portal-users-table-card {
    min-width: 0;
}

.portal-user-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.portal-user-actions form {
    margin: 0;
}

.portal-button-danger {
    background: rgba(220, 38, 38, 0.16);
    color: #fee2e2;
    border: 1px solid rgba(248, 113, 113, 0.28);
}

/* Landlord sidebar: give long account details more room and cleaner wrapping. */
.sidebarRail {
    width: clamp(250px, 19vw, 294px);
    min-width: clamp(250px, 19vw, 294px);
}

.sidebar {
    width: 100%;
    max-width: none;
}

.sidebarAccountCard:not(.sidebarAccountCard--admin) {
    padding: 0;
    overflow: hidden;
}

.sidebarAccountCard:not(.sidebarAccountCard--admin) .sidebarAccountBody {
    padding: 18px 18px 16px;
}

.sidebarAccountCard:not(.sidebarAccountCard--admin) .sidebarAccountMeta,
.sidebarAccountCard:not(.sidebarAccountCard--admin) .sidebarAccountSummary,
.sidebarAccountCard:not(.sidebarAccountCard--admin) .sidebarAccountContext,
.sidebarAccountCard:not(.sidebarAccountCard--admin) .sidebarAccountHighlightValue {
    min-width: 0;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.sidebarAccountCard:not(.sidebarAccountCard--admin) .sidebarAccountPlanRow {
    flex-wrap: wrap;
    gap: 8px;
}

.sidebarAccountCard:not(.sidebarAccountCard--admin) .sidebarAccountPlanRow .tag {
    white-space: normal;
}

.sidebarAccountCard:not(.sidebarAccountCard--admin) .sidebarAccountActions {
    flex-wrap: wrap;
}

/* Personal control / My tasks panel polish. */
.tasksPanel {
    border: 1px solid rgba(59, 130, 246, 0.26);
    background:
        radial-gradient(circle at top right, rgba(59, 130, 246, 0.16), transparent 40%),
        radial-gradient(circle at bottom left, rgba(45, 212, 191, 0.12), transparent 46%),
        linear-gradient(180deg, rgba(17, 24, 39, 0.96), rgba(15, 23, 42, 0.98));
    box-shadow: 0 18px 44px rgba(8, 15, 32, 0.34);
}

.tasksPanel .tasksHero {
    padding: 18px 18px 14px;
    border-radius: 18px 18px 0 0;
    background: linear-gradient(180deg, rgba(29, 78, 216, 0.12), rgba(15, 23, 42, 0));
    border-bottom: 1px solid rgba(148, 163, 184, 0.14);
}

.tasksPanel .tasksEyebrow {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.2);
    color: #bfdbfe;
    border: 1px solid rgba(96, 165, 250, 0.28);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.tasksPanel .tasksLead {
    max-width: 34ch;
}

.tasksPanel .tasksMetric {
    min-width: 72px;
    padding: 10px 12px;
    border-radius: 14px;
    border: 1px solid rgba(51, 65, 85, 0.9);
    background: rgba(15, 23, 42, 0.72);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02);
}

.tasksPanel .tasksMetricValue {
    display: block;
    font-size: 31px;
    line-height: 1;
    font-weight: 800;
    color: #f8fafc;
}

.tasksPanel .tasksMetricLabel {
    display: block;
    margin-top: 4px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #cbd5e1;
}

.tasksPanel .tasksMetric.is-empty {
    background: linear-gradient(180deg, rgba(22, 163, 74, 0.18), rgba(15, 23, 42, 0.88));
    border-color: rgba(74, 222, 128, 0.34);
}

.tasksPanel .tasksMetric.is-empty .tasksMetricValue,
.tasksPanel .tasksMetric.is-empty .tasksMetricLabel {
    color: #dcfce7;
}

.tasksPanel .tasksMetric.metric-open {
    background: linear-gradient(180deg, rgba(22, 163, 74, 0.18), rgba(15, 23, 42, 0.88));
    border-color: rgba(74, 222, 128, 0.34);
}

.tasksPanel .tasksMetric.metric-open .tasksMetricValue,
.tasksPanel .tasksMetric.metric-open .tasksMetricLabel {
    color: #dcfce7;
}

.tasksPanel .tasksMetric.metric-overdue.has-items {
    background: linear-gradient(180deg, rgba(220, 38, 38, 0.18), rgba(15, 23, 42, 0.88));
    border-color: rgba(248, 113, 113, 0.34);
}

.tasksPanel .tasksMetric.metric-overdue.has-items .tasksMetricValue,
.tasksPanel .tasksMetric.metric-overdue.has-items .tasksMetricLabel {
    color: #fecaca;
}

.tasksPanel .tasksMetric.metric-soon.has-items {
    background: linear-gradient(180deg, rgba(249, 115, 22, 0.18), rgba(15, 23, 42, 0.88));
    border-color: rgba(251, 146, 60, 0.34);
}

.tasksPanel .tasksMetric.metric-soon.has-items .tasksMetricValue,
.tasksPanel .tasksMetric.metric-soon.has-items .tasksMetricLabel {
    color: #fed7aa;
}

.tasksPanel .tasksBody {
    padding-top: 16px;
}

.tasksPanel .tasksEmpty,
.tasksPanel .tasksSummaryPill {
    border: 1px solid rgba(96, 165, 250, 0.18);
    background: rgba(15, 23, 42, 0.68);
}

.banner.tlg-trial-banner-live {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.tlg-trial-banner-main {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
}

.tlg-trial-banner-copy {
    flex: 1 1 340px;
    min-width: 260px;
}

.tlg-trial-banner-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.tlg-trial-banner-head strong {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
}

.tlg-trial-banner-copy .muted {
    margin-top: 4px !important;
}

.tlg-trial-banner-actions {
    margin-top: 0 !important;
    gap: 8px !important;
    align-items: center;
    flex-wrap: wrap;
}

.tlg-trial-banner-actions .pill,
.tlg-trial-banner-actions .tag {
    min-height: 34px;
    display: inline-flex;
    align-items: center;
}

.tlg-trial-countdown {
    margin-left: auto;
    min-width: 186px;
    padding: 8px 10px;
    border-radius: 12px;
    border: 1px solid rgba(45, 212, 191, 0.34);
    background:
        radial-gradient(circle at top right, rgba(45, 212, 191, 0.18), transparent 46%),
        linear-gradient(180deg, rgba(15, 23, 42, 0.92), rgba(15, 23, 42, 0.82));
    box-shadow: 0 14px 34px rgba(2, 8, 23, 0.26);
}

.tlg-trial-countdown-label {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #99f6e4;
}

.tlg-trial-countdown-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    margin-top: 6px;
}

.tlg-trial-countdown-cell {
    padding: 7px 5px;
    border-radius: 9px;
    border: 1px solid rgba(148, 163, 184, 0.16);
    background: rgba(15, 23, 42, 0.56);
    text-align: center;
}

.tlg-trial-countdown-cell b {
    display: block;
    font-size: 16px;
    line-height: 1;
    color: #f8fafc;
}

.tlg-trial-countdown-cell span {
    display: block;
    margin-top: 4px;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #cbd5e1;
}

.tlg-trial-upgrade-cta {
    min-height: 38px;
    padding: 0 16px;
    border: 1px solid rgba(34, 211, 238, 0.48);
    background: linear-gradient(135deg, #22d3ee, #2563eb) !important;
    color: #f8fafc !important;
    font-weight: 800;
    box-shadow: 0 10px 22px rgba(37, 99, 235, 0.26);
}

.tlg-trial-upgrade-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 26px rgba(34, 211, 238, 0.24);
}

.tlg-trial-countdown.is-expired {
    border-color: rgba(248, 113, 113, 0.34);
    background:
        radial-gradient(circle at top right, rgba(248, 113, 113, 0.16), transparent 44%),
        linear-gradient(180deg, rgba(15, 23, 42, 0.92), rgba(15, 23, 42, 0.82));
}

.tlg-trial-countdown.is-expired .tlg-trial-countdown-label {
    color: #fecaca;
}

@media (max-width: 1180px) {
    .sidebarRail {
        width: clamp(226px, 24vw, 268px);
        min-width: clamp(226px, 24vw, 268px);
    }
}

@media (max-width: 720px) {
    #modal.modal {
        padding: 14px;
    }

    #modal .hd b,
    #modalTitle {
        font-size: 24px;
    }

    #modal .bd,
    #modalBody {
        padding: 16px 16px 18px;
        font-size: 15px;
    }

    .portal-header {
        padding: 20px;
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }

    .portal-nav,
    .portal-main {
        padding-left: 20px;
        padding-right: 20px;
    }

    .portal-kv {
        grid-template-columns: 1fr;
    }

    .portal-trial-row {
        grid-template-columns: 1fr;
    }

    .portal-signup-hero {
        grid-template-columns: 1fr;
    }

    .portal-signup-hero h2 {
        font-size: 28px;
    }

    .portal-payment-head {
        grid-template-columns: 1fr;
    }

    .portal-payment-head h2 {
        font-size: 28px;
    }

    .portal-users-layout {
        grid-template-columns: 1fr;
    }

    .tlg-trial-countdown {
        width: 100%;
        min-width: 0;
        margin-left: 0;
    }

    .tlg-trial-banner-head {
        align-items: flex-start;
    }
}

.landlordDash--onboarding .tlg-onb-dashboard-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.landlordDash--onboarding .tlg-onb-dashboard-pill {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    border-radius: 999px;
    border: 1px solid rgba(74, 222, 128, 0.34);
    background: linear-gradient(135deg, rgba(25, 95, 74, 0.95), rgba(34, 197, 94, 0.25));
    color: #ecfff2;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.01em;
    box-shadow: 0 10px 28px rgba(34, 197, 94, 0.18);
}

.landlordDash--onboarding .tlg-onb-guide-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 14px;
    padding: 14px 16px;
    border-radius: 18px;
    border: 1px solid rgba(72, 187, 255, 0.22);
    background: linear-gradient(135deg, rgba(18, 42, 84, 0.92), rgba(25, 77, 137, 0.48));
    box-shadow: 0 18px 34px rgba(7, 18, 38, 0.34);
}

.landlordDash--onboarding .tlg-onb-guide-copy {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 220px;
    flex: 1 1 320px;
}

.landlordDash--onboarding .tlg-onb-guide-copy b {
    color: #f8fbff;
    font-size: 14px;
}

.landlordDash--onboarding .tlg-onb-guide-copy span {
    color: #d4e7ff;
    font-size: 13px;
    line-height: 1.45;
}

.landlordDash--onboarding .tlg-onb-guide-toggle {
    appearance: none;
    border: 1px solid rgba(90, 205, 255, 0.26);
    border-radius: 999px;
    padding: 10px 16px;
    background: linear-gradient(135deg, rgba(33, 159, 255, 0.24), rgba(28, 90, 185, 0.7));
    color: #f7fbff;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 12px 26px rgba(22, 117, 255, 0.22);
}

.landlordDash--onboarding .tlg-onb-guide-toggle.is-off {
    background: linear-gradient(135deg, rgba(54, 64, 85, 0.9), rgba(31, 41, 55, 0.92));
    border-color: rgba(255, 255, 255, 0.12);
    color: #dce6fb;
    box-shadow: none;
}

.landlordDash--onboarding .onbCompactSidebar.tlg-onb-sidebar-live {
    position: relative;
    overflow: visible;
    z-index: 6;
}

.landlordDash--onboarding .onbCard--compact,
.landlordDash--onboarding .onbCard--compact .bd,
.landlordDash--onboarding .onbCompactShell,
.landlordDash--onboarding .onbCompactBody,
.landlordDash--onboarding .dashMain {
    overflow: visible !important;
}

.landlordDash--onboarding .onbCard--compact {
    position: relative;
    z-index: 8;
    isolation: isolate;
}

.landlordDash--onboarding .onbCompactStep {
    position: relative;
    transition: transform .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease;
}

.landlordDash--onboarding .onbCompactStep.tlg-onb-step-pending {
    border-color: rgba(255, 95, 132, 0.28) !important;
    background: linear-gradient(180deg, rgba(55, 24, 36, 0.96), rgba(34, 18, 27, 0.98)) !important;
    box-shadow: inset 0 0 0 1px rgba(255, 95, 132, 0.04);
}

.landlordDash--onboarding .onbCompactStep.tlg-onb-step-pending .onbCompactStepNo {
    border-color: rgba(255, 116, 148, 0.34) !important;
    background: rgba(84, 21, 40, 0.92) !important;
    color: #ffdce5 !important;
}

.landlordDash--onboarding .onbCompactStep.tlg-onb-step-pending .pill {
    border-color: rgba(255, 105, 146, 0.28) !important;
    background: rgba(108, 25, 50, 0.84) !important;
    color: #ffe2ea !important;
}

.landlordDash--onboarding .onbCompactStep.tlg-onb-step-current {
    border-color: rgba(255, 123, 152, 0.46) !important;
    box-shadow: 0 0 0 1px rgba(255, 123, 152, 0.16), 0 18px 36px rgba(82, 19, 40, 0.28) !important;
}

.landlordDash--onboarding .onbCompactStep.tlg-onb-step-done {
    border-color: rgba(58, 198, 124, 0.28) !important;
    background: linear-gradient(180deg, rgba(18, 68, 51, 0.96), rgba(15, 47, 39, 0.98)) !important;
    box-shadow: inset 0 0 0 1px rgba(74, 222, 128, 0.06);
}

.landlordDash--onboarding .onbCompactStep.tlg-onb-step-done .onbCompactStepNo {
    border-color: rgba(84, 228, 146, 0.3) !important;
    background: rgba(16, 82, 54, 0.94) !important;
    color: #dcffea !important;
}

.landlordDash--onboarding .onbCompactStep.tlg-onb-step-done .pill {
    border-color: rgba(74, 222, 128, 0.28) !important;
    background: rgba(18, 105, 63, 0.8) !important;
    color: #e9fff1 !important;
}

.landlordDash--onboarding .onbCompactStep.tlg-onb-guide-focus {
    transform: translateX(3px);
    box-shadow: 0 0 0 1px rgba(106, 214, 255, 0.22), 0 20px 34px rgba(17, 72, 132, 0.22) !important;
}

.landlordDash--onboarding .tlg-onb-callout {
    position: absolute;
    top: 0;
    left: calc(100% + 18px);
    width: 320px;
    padding: 18px 18px 16px;
    border-radius: 22px;
    border: 1px solid rgba(108, 218, 255, 0.36);
    background: linear-gradient(145deg, rgba(22, 46, 89, 0.98), rgba(18, 78, 123, 0.96));
    color: #f5fbff;
    box-shadow:
        0 0 0 1px rgba(105, 217, 255, 0.08),
        0 0 34px rgba(49, 164, 255, 0.36),
        0 20px 44px rgba(4, 12, 29, 0.42);
    z-index: 80;
}

.landlordDash--onboarding .tlg-onb-callout::before {
    content: "";
    position: absolute;
    left: -13px;
    top: 28px;
    width: 0;
    height: 0;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    border-right: 13px solid rgba(27, 92, 142, 0.98);
    filter: drop-shadow(-4px 0 10px rgba(49, 164, 255, 0.24));
}

.landlordDash--onboarding .tlg-onb-callout-kicker {
    color: #a9e8ff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.landlordDash--onboarding .tlg-onb-callout-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.landlordDash--onboarding .tlg-onb-callout-title {
    margin-top: 8px;
    color: #ffffff;
    font-size: 22px;
    font-weight: 800;
    line-height: 1.08;
}

.landlordDash--onboarding .tlg-onb-callout-body {
    margin-top: 10px;
    color: #dcecff;
    font-size: 14px;
    line-height: 1.55;
}

.landlordDash--onboarding .tlg-onb-callout-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 14px;
}

.landlordDash--onboarding .tlg-onb-guide-btn {
    appearance: none;
    border: 1px solid rgba(106, 214, 255, 0.24);
    border-radius: 999px;
    padding: 9px 13px;
    background: linear-gradient(135deg, rgba(33, 159, 255, 0.22), rgba(28, 90, 185, 0.72));
    color: #f7fbff;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
}

.landlordDash--onboarding .tlg-onb-guide-btn.ghost {
    background: rgba(11, 19, 39, 0.44);
    color: #d8e7fb;
}

.landlordDash--onboarding .tlg-onb-guide-btn[disabled] {
    opacity: .48;
    cursor: not-allowed;
}

.landlordDash--onboarding .tlg-onb-guide-dismiss {
    appearance: none;
    border: 0;
    background: transparent;
    color: #bfe4ff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.02em;
    cursor: pointer;
    white-space: nowrap;
    padding: 0;
}

.landlordDash--onboarding .tlg-onb-guide-dismiss span {
    font-size: 15px;
    margin-left: 4px;
}

.landlordDash--onboarding .tlg-onb-guide-dismiss:hover {
    color: #ffffff;
    text-decoration: underline;
}

@media (max-width: 1180px) {
    .landlordDash--onboarding .tlg-onb-callout {
        position: relative;
        left: auto;
        top: auto !important;
        width: 100%;
        margin-top: 14px;
    }

    .landlordDash--onboarding .tlg-onb-callout::before {
        left: 28px;
        top: -13px;
        border-right: 12px solid transparent;
        border-left: 12px solid transparent;
        border-bottom: 13px solid rgba(27, 92, 142, 0.98);
        border-top: 0;
        filter: drop-shadow(0 -4px 10px rgba(49, 164, 255, 0.24));
    }
}

.landlordDash--onboarding .tlg-onb-panel-compliance .onbCompactFields {
    align-items: start;
}

.landlordDash--onboarding .tlg-onb-panel-compliance .tlg-onb-date-field {
    position: relative;
}

.landlordDash--onboarding .tlg-onb-panel-compliance input[type="date"],
#modal input[type="date"] {
    color-scheme: dark !important;
    min-height: 46px;
    padding-right: 44px;
    background-image: none !important;
}

.landlordDash--onboarding .tlg-onb-panel-compliance input[type="date"]::-webkit-calendar-picker-indicator,
#modal input[type="date"]::-webkit-calendar-picker-indicator {
    filter: none !important;
    opacity: 0 !important;
    cursor: pointer;
    width: 22px;
    height: 22px;
    margin-right: 8px;
    position: relative;
    z-index: 2;
}

.landlordDash--onboarding .tlg-onb-panel-compliance input[type="date"]::-webkit-datetime-edit,
.landlordDash--onboarding .tlg-onb-panel-compliance input[type="date"]::-webkit-datetime-edit-text,
.landlordDash--onboarding .tlg-onb-panel-compliance input[type="date"]::-webkit-datetime-edit-month-field,
.landlordDash--onboarding .tlg-onb-panel-compliance input[type="date"]::-webkit-datetime-edit-day-field,
.landlordDash--onboarding .tlg-onb-panel-compliance input[type="date"]::-webkit-datetime-edit-year-field,
#modal input[type="date"]::-webkit-datetime-edit,
#modal input[type="date"]::-webkit-datetime-edit-text,
#modal input[type="date"]::-webkit-datetime-edit-month-field,
#modal input[type="date"]::-webkit-datetime-edit-day-field,
#modal input[type="date"]::-webkit-datetime-edit-year-field {
    color: #eef6ff;
}

.landlordDash--onboarding .tlg-date-visible-icon,
#modal .tlg-date-visible-icon {
    position: relative;
}

.landlordDash--onboarding .tlg-date-visible-icon input[type="date"],
#modal .tlg-date-visible-icon input[type="date"] {
    position: relative;
    z-index: 2;
}

#modal .tlg-date-visible-icon input[data-tlg-popup-date="1"] {
    position: relative;
    z-index: 2;
    padding-right: 44px;
}

.landlordDash--onboarding .tlg-date-visible-icon::after,
#modal .tlg-date-visible-icon::after {
    content: "";
    position: absolute;
    right: 14px;
    top: 50%;
    width: 17px;
    height: 17px;
    transform: translateY(-50%);
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.25' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3.5' y='5' width='17' height='15' rx='2.5'/%3E%3Cpath d='M8 3.75v3.5M16 3.75v3.5M3.5 9.5h17'/%3E%3Cpath d='M8.25 13h.01M12 13h.01M15.75 13h.01M8.25 16.5h.01M12 16.5h.01'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    filter: drop-shadow(0 0 8px rgba(96, 212, 255, 0.28));
    opacity: 1;
    z-index: 3;
}

#modal input[type="date"]::-webkit-calendar-picker-indicator {
    filter: none !important;
    opacity: 0 !important;
}

#modal input[type="date"],
#modal select {
    color-scheme: normal !important;
}

#modal select option,
#modal select optgroup {
    background: #ffffff !important;
    color: #0f172a !important;
}

#modal select,
#modal input[data-tlg-popup-date="1"] {
    background-color: rgba(2, 6, 23, 0.68) !important;
    color: #eef6ff !important;
}

#modal select:focus {
    background-color: #ffffff !important;
    color: #0f172a !important;
}

#modal .tlg-native-select-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

#modal .tlg-custom-select {
    position: relative;
    z-index: 4;
}

#modal .tlg-custom-select-button {
    width: 100%;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 0 14px;
    border: 1px solid rgba(148, 163, 184, 0.26);
    border-radius: 12px;
    background: rgba(2, 6, 23, 0.74);
    color: #eef6ff;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

#modal .tlg-custom-select.is-open .tlg-custom-select-button {
    border-color: rgba(45, 212, 191, 0.62);
    box-shadow: 0 0 0 3px rgba(45, 212, 191, 0.13);
}

#modal .tlg-custom-select-arrow {
    color: #bae6fd;
    font-size: 12px;
    font-weight: 900;
}

#modal .tlg-custom-select-list {
    display: none;
    position: fixed;
    z-index: 10090;
    max-height: 220px;
    overflow: auto;
    padding: 6px;
    border: 1px solid rgba(96, 165, 250, 0.34);
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.99), rgba(2, 6, 23, 0.99));
    box-shadow: 0 18px 44px rgba(2, 8, 23, 0.58);
}

#modal .tlg-custom-select.is-open .tlg-custom-select-list {
    display: grid;
    gap: 4px;
}

#modal .tlg-custom-select-option {
    min-height: 36px;
    width: 100%;
    padding: 0 10px;
    border: 0;
    border-radius: 9px;
    background: transparent;
    color: #eef6ff;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

#modal .tlg-custom-select-option:hover,
#modal .tlg-custom-select-option:focus-visible {
    background: rgba(37, 99, 235, 0.42);
    color: #ffffff;
    outline: none;
}

#modal .tlg-date-visible-icon::after {
    width: 15px;
    height: 15px;
    right: 16px;
}

.tlg-modal-date-picker {
    position: fixed;
    z-index: 10080;
    width: 284px;
    padding: 12px;
    border: 1px solid rgba(96, 165, 250, 0.34);
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.98), rgba(2, 6, 23, 0.98));
    box-shadow: 0 24px 60px rgba(2, 8, 23, 0.6), 0 0 0 1px rgba(125, 211, 252, 0.12);
    color: #f8fafc;
}

.tlg-modal-date-picker-head,
.tlg-modal-date-picker-week,
.tlg-modal-date-picker-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 6px;
}

.tlg-modal-date-picker-head {
    grid-template-columns: 34px 1fr 34px;
    align-items: center;
    margin-bottom: 10px;
}

.tlg-modal-date-picker-head strong {
    text-align: center;
    font-size: 13px;
}

.tlg-modal-date-picker button {
    min-height: 32px;
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 9px;
    background: rgba(15, 23, 42, 0.82);
    color: #eef6ff;
    font-weight: 800;
    cursor: pointer;
}

.tlg-modal-date-picker button:hover,
.tlg-modal-date-picker button.is-selected {
    border-color: rgba(56, 189, 248, 0.68);
    background: linear-gradient(135deg, #0f766e, #2563eb);
    color: #ffffff;
}

.tlg-modal-date-picker-week {
    margin-bottom: 6px;
}

.tlg-modal-date-picker-week span {
    text-align: center;
    color: #94a3b8;
    font-size: 11px;
    font-weight: 800;
}

.landlordDash--onboarding .tlg-onb-upload-row {
    display: flex;
    justify-content: flex-start;
    margin-top: 10px;
}

.landlordDash--onboarding .tlg-onb-upload-btn {
    border-color: rgba(87, 199, 255, 0.28);
    background: linear-gradient(135deg, rgba(13, 35, 73, 0.94), rgba(18, 74, 123, 0.72));
    color: #e8f6ff;
    box-shadow: 0 10px 22px rgba(5, 15, 33, 0.24);
    max-width: 100%;
    white-space: normal;
    text-align: left;
}

.landlordDash--onboarding .tlg-onb-upload-btn:hover {
    border-color: rgba(87, 199, 255, 0.4);
    background: linear-gradient(135deg, rgba(18, 47, 94, 0.98), rgba(25, 103, 165, 0.82));
}

.landlordDash--onboarding .tlg-onb-upload-btn.is-uploaded {
    border-color: rgba(82, 230, 162, 0.68) !important;
    background: linear-gradient(135deg, rgba(19, 115, 74, 0.98), rgba(36, 168, 111, 0.96)) !important;
    color: #f4fff8 !important;
    box-shadow: 0 14px 30px rgba(7, 49, 30, 0.38), 0 0 0 1px rgba(140, 255, 200, 0.16) inset !important;
}

.landlordDash--onboarding .tlg-onb-upload-btn.is-uploaded:hover {
    border-color: rgba(115, 245, 186, 0.82) !important;
    background: linear-gradient(135deg, rgba(22, 132, 84, 0.99), rgba(41, 189, 127, 0.97)) !important;
    color: #ffffff !important;
}

.landlordDash--onboarding .tlg-onb-upload-btn[data-uploaded="1"] {
    border-color: rgba(82, 230, 162, 0.68) !important;
    background: linear-gradient(135deg, rgba(19, 115, 74, 0.98), rgba(36, 168, 111, 0.96)) !important;
    color: #f4fff8 !important;
    box-shadow: 0 14px 30px rgba(7, 49, 30, 0.38), 0 0 0 1px rgba(140, 255, 200, 0.16) inset !important;
}

.landlordDash--onboarding .tlg-onb-upload-btn[data-uploaded="1"]:hover {
    border-color: rgba(115, 245, 186, 0.82) !important;
    background: linear-gradient(135deg, rgba(22, 132, 84, 0.99), rgba(41, 189, 127, 0.97)) !important;
    color: #ffffff !important;
}

.landlordDash--onboarding .onbCompactWalkRow.tlg-onb-walk-ready,
.landlordDash--onboarding .onbCompactWalkRow.tlg-onb-walk-visited {
    border-color: rgba(78, 218, 146, 0.34);
    background:
        linear-gradient(135deg, rgba(14, 57, 40, 0.9), rgba(16, 84, 58, 0.6)),
        rgba(255, 255, 255, 0.02);
    box-shadow: inset 0 0 0 1px rgba(124, 255, 182, 0.08);
}

.landlordDash--onboarding .onbCompactWalkRow.tlg-onb-walk-required {
    border-color: rgba(255, 90, 128, 0.34);
    background:
        linear-gradient(135deg, rgba(76, 19, 39, 0.9), rgba(104, 26, 52, 0.58)),
        rgba(255, 255, 255, 0.02);
    box-shadow: inset 0 0 0 1px rgba(255, 132, 163, 0.08);
}

.landlordDash--onboarding .onbCompactWalkRow.tlg-onb-walk-optional {
    border-color: rgba(98, 128, 180, 0.18);
}

.landlordDash--onboarding .onbCompactWalkRow.tlg-onb-walk-ready .pill,
.landlordDash--onboarding .onbCompactWalkRow.tlg-onb-walk-visited .pill {
    border-color: rgba(104, 255, 179, 0.34) !important;
    background: rgba(29, 139, 88, 0.32) !important;
    color: #eafff2 !important;
}

.landlordDash--onboarding .onbCompactWalkRow.tlg-onb-walk-required .pill {
    border-color: rgba(255, 120, 155, 0.34) !important;
    background: rgba(164, 44, 78, 0.3) !important;
    color: #fff1f6 !important;
}

.tlg-rich-hover-card {
    position: absolute;
    z-index: 10060;
    width: min(420px, calc(100vw - 32px));
    padding: 16px 18px;
    border-radius: 18px;
    border: 1px solid rgba(92, 201, 255, 0.28);
    background:
        linear-gradient(180deg, rgba(18, 28, 48, 0.98), rgba(11, 18, 31, 0.98));
    box-shadow:
        0 24px 56px rgba(4, 10, 20, 0.44),
        0 0 0 1px rgba(130, 220, 255, 0.08) inset,
        0 0 28px rgba(66, 186, 255, 0.18);
    color: #eef7ff;
    pointer-events: none;
}

.tlg-rich-hover-head {
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.01em;
    margin-bottom: 8px;
    color: #ffffff;
}

.tlg-rich-hover-copy {
    font-size: 13px;
    line-height: 1.55;
    color: rgba(225, 238, 255, 0.88);
}

.tlg-rich-hover-list {
    margin: 10px 0 0;
    padding-left: 18px;
    color: rgba(236, 244, 255, 0.95);
    font-size: 13px;
    line-height: 1.5;
}

.tlg-rich-hover-list li + li {
    margin-top: 4px;
}

.landlordDash .tlg-compliance-progress {
    position: relative;
    overflow: hidden;
    border-color: rgba(250, 189, 88, 0.38) !important;
    background: rgba(88, 61, 22, 0.52) !important;
    color: #fff4d3 !important;
}

.landlordDash .tlg-compliance-progress::before {
    content: "";
    position: absolute;
    inset: 0;
    width: var(--tlg-progress, 0%);
    background: linear-gradient(90deg, rgba(255, 177, 58, 0.9), rgba(255, 213, 116, 0.88));
    opacity: 0.28;
    pointer-events: none;
}

.landlordDash .tlg-compliance-progress.is-complete {
    border-color: rgba(84, 232, 156, 0.46) !important;
    background: rgba(25, 94, 63, 0.6) !important;
    color: #effff6 !important;
}

.landlordDash .tlg-compliance-progress.is-complete::before {
    width: 100%;
    background: linear-gradient(90deg, rgba(42, 184, 116, 0.9), rgba(99, 255, 177, 0.9));
    opacity: 0.26;
}

.appShell.view-properties .propChip,
.appShell.view-tenancies .propChip {
    width: min(920px, 100%);
    max-width: min(920px, 100%);
    justify-content: flex-start;
}

.appShell.view-properties .propChip .mono,
.appShell.view-tenancies .propChip .mono {
    flex: 0 0 auto;
    white-space: nowrap;
}

.appShell.view-properties .propChip .sub,
.appShell.view-tenancies .propChip .sub {
    flex: 1 1 auto;
    min-width: 0;
}

.appShell.view-properties .tenPageGrid {
    grid-template-columns: clamp(320px, 25vw, 380px) minmax(0, 1fr);
    gap: 18px;
}

.appShell.view-tenancies .tenPageGrid {
    grid-template-columns: clamp(320px, 25vw, 380px) minmax(0, 1fr);
    gap: 18px;
}

.appShell.view-properties .tenSummaryStack > .card .bd > .grid.two {
    grid-template-columns: minmax(340px, 0.95fr) minmax(460px, 1.05fr);
    gap: 16px;
}

.appShell.view-tenancies .tenSummaryStack > .card .bd > .grid.two {
    grid-template-columns: minmax(360px, 1.1fr) minmax(320px, 0.9fr);
    gap: 16px;
}

.appShell.view-properties .tenSummaryStack .tableWrap.scrollY,
.appShell.view-tenancies .tenSummaryStack .tableWrap.scrollY {
    max-height: clamp(220px, 36vh, 360px);
}

.appShell.view-properties .tenSummaryStack > .card .bd > .grid.two > .card.subcard,
.appShell.view-tenancies .tenSummaryStack > .card .bd > .grid.two > .card.subcard {
    min-width: 0;
}

.appShell.view-properties .tenSummaryStack .card .hd,
.appShell.view-tenancies .tenSummaryStack .card .hd {
    gap: 12px;
}

@media (max-width: 1180px) {
    .appShell.view-properties .tenPageGrid,
    .appShell.view-tenancies .tenPageGrid {
        grid-template-columns: 1fr;
    }

    .appShell.view-properties .tenSummaryStack > .card .bd > .grid.two,
    .appShell.view-tenancies .tenSummaryStack > .card .bd > .grid.two {
        grid-template-columns: 1fr;
    }
}

#pageComplianceNoticeReady .pill.good,
#modalComplianceHistory .pill.good {
    border-color: rgba(100, 245, 172, 0.42) !important;
    background: linear-gradient(135deg, rgba(18, 118, 77, 0.96), rgba(29, 161, 104, 0.92)) !important;
    color: #f2fff8 !important;
    box-shadow: 0 10px 24px rgba(6, 44, 27, 0.24);
}

#pageComplianceNoticeReady .pill.warn,
#modalComplianceHistory .pill.warn {
    border-color: rgba(255, 133, 151, 0.38) !important;
}

#pageComplianceNoticeReady .nrActions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: flex-start;
}

#pageComplianceNoticeReady .nrActions .btn.small,
#pageComplianceNoticeReady .nrActions .btn.xs {
    min-width: 132px;
    justify-content: center;
}

#pageComplianceNoticeReady .nrEvCell {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
}

#pageComplianceNoticeReady .nrEvTop {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

#pageComplianceNoticeReady table td,
#pageComplianceNoticeReady table th,
#modalComplianceHistory table td,
#modalComplianceHistory table th {
    vertical-align: top;
}

#pageComplianceNoticeReady td .muted.small {
    line-height: 1.45;
}

.tlg-compliance-history-table tbody tr:first-child {
    background: rgba(58, 39, 98, 0.28);
}

.tlg-compliance-history-preview {
    margin-top: 14px;
}

.tlg-doc-preview-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin-bottom: 12px;
}

.tlg-doc-preview-frame {
    padding: 12px;
    border: 1px solid rgba(99, 211, 255, 0.18);
    border-radius: 18px;
    background: rgba(7, 15, 28, 0.86);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.03);
}

.landlordDash--onboarding .tlg-onb-panel-defaults .onbCompactFields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    align-items: start;
}

.landlordDash--onboarding .tlg-onb-panel-defaults .onbCompactField,
.landlordDash--onboarding .tlg-onb-panel-defaults .onbCompactToggle {
    min-width: 0;
}

.landlordDash--onboarding .tlg-onb-panel-defaults .onbCompactToggle {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 12px;
    padding: 14px 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.02);
    text-align: left;
    min-height: 0;
}

.landlordDash--onboarding .tlg-onb-panel-defaults .onbCompactToggle input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 2px 0 0;
    flex: 0 0 auto;
    accent-color: #2ea7ff;
}

.landlordDash--onboarding .tlg-onb-panel-defaults .onbCompactToggle span {
    display: block;
    flex: 1 1 auto;
    min-width: 0;
    color: #e6eefc;
    line-height: 1.45;
    white-space: normal;
    overflow-wrap: anywhere;
}

.landlordDash--onboarding .tlg-onb-panel-defaults .onbCompactField > span {
    display: block;
    margin-bottom: 8px;
}

@media (max-width: 980px) {
    .landlordDash--onboarding .tlg-onb-panel-defaults .onbCompactFields {
        grid-template-columns: 1fr;
    }
}

.appShell.view-properties .propChip,
.appShell.view-tenancies .propChip {
    display: grid !important;
    grid-template-columns: auto auto minmax(0, 1fr) !important;
    align-items: center !important;
    width: min(1080px, 100%) !important;
    max-width: min(1080px, 100%) !important;
    gap: 10px !important;
}

.appShell.view-properties .propChip .mono,
.appShell.view-tenancies .propChip .mono {
    white-space: nowrap !important;
}

.appShell.view-properties .propChip .sub,
.appShell.view-tenancies .propChip .sub {
    min-width: 0 !important;
    max-width: none !important;
}

.appShell.view-properties .tenPageGrid,
.appShell.view-tenancies .tenPageGrid {
    grid-template-columns: clamp(340px, 26vw, 400px) minmax(0, 1fr) !important;
    gap: 18px !important;
}

.appShell.view-properties .tenSummaryStack > .card > .bd > .grid.two {
    grid-template-columns: minmax(420px, 0.95fr) minmax(620px, 1.05fr) !important;
    gap: 18px !important;
}

.appShell.view-tenancies .tenSummaryStack > .card > .bd > .grid.two {
    grid-template-columns: minmax(420px, 1.08fr) minmax(340px, 0.92fr) !important;
    gap: 18px !important;
}

.appShell.view-properties .tenSummaryStack > .card > .bd > .grid.two > .card.subcard:first-child,
.appShell.view-tenancies .tenSummaryStack > .card > .bd > .grid.two > .card.subcard:first-child {
    min-width: 420px !important;
}

.appShell.view-properties .tenSummaryStack > .card > .bd > .grid.two > .card.subcard:last-child,
.appShell.view-tenancies .tenSummaryStack > .card > .bd > .grid.two > .card.subcard:last-child {
    min-width: 0 !important;
}

.appShell.view-properties .tenSummaryStack .tableWrap.scrollY,
.appShell.view-tenancies .tenSummaryStack .tableWrap.scrollY {
    max-height: clamp(240px, 38vh, 380px) !important;
}

@media (max-width: 1180px) {
    .appShell.view-properties .tenPageGrid,
    .appShell.view-tenancies .tenPageGrid {
        grid-template-columns: 1fr !important;
    }

    .appShell.view-properties .tenSummaryStack > .card > .bd > .grid.two,
    .appShell.view-tenancies .tenSummaryStack > .card > .bd > .grid.two {
        grid-template-columns: 1fr !important;
    }

    .appShell.view-properties .tenSummaryStack > .card > .bd > .grid.two > .card.subcard:first-child,
    .appShell.view-tenancies .tenSummaryStack > .card > .bd > .grid.two > .card.subcard:first-child {
        min-width: 0 !important;
    }
}

.appShell.view-properties .tenPageGrid > .card,
.appShell.view-tenancies .tenPageGrid > .card,
.appShell.view-properties .tenSummaryStack > .card,
.appShell.view-tenancies .tenSummaryStack > .card,
#pageComplianceNoticeReady > .card {
    border-radius: 24px;
    border-color: rgba(122, 162, 255, 0.16) !important;
    background:
        linear-gradient(180deg, rgba(16, 23, 39, 0.96), rgba(12, 18, 31, 0.96)),
        radial-gradient(circle at top left, rgba(37, 99, 235, 0.08), transparent 42%);
    box-shadow: 0 22px 48px rgba(2, 8, 20, 0.36);
}

.appShell.view-properties .propChip,
.appShell.view-tenancies .propChip {
    padding: 14px 18px !important;
    border-radius: 20px !important;
    border-color: rgba(148, 163, 184, 0.18) !important;
    background:
        linear-gradient(180deg, rgba(20, 28, 45, 0.98), rgba(14, 21, 35, 0.98)) !important;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.03), 0 14px 30px rgba(2, 8, 20, 0.28);
}

.appShell.view-properties .propChip .mono,
.appShell.view-tenancies .propChip .mono {
    align-self: center;
    padding: 4px 0;
}

.appShell.view-properties .tenSummaryStack > .card > .hd,
.appShell.view-tenancies .tenSummaryStack > .card > .hd,
#pageComplianceNoticeReady > .card > .hd {
    margin-bottom: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

.appShell.view-properties .tenSummaryStack > .card > .bd,
.appShell.view-tenancies .tenSummaryStack > .card > .bd,
#pageComplianceNoticeReady > .card > .bd {
    gap: 18px;
}

.appShell.view-properties .tenSummaryStack > .card > .bd > .grid.two > .card.subcard,
.appShell.view-tenancies .tenSummaryStack > .card > .bd > .grid.two > .card.subcard {
    border-radius: 22px;
    border-color: rgba(122, 162, 255, 0.14) !important;
    background: linear-gradient(180deg, rgba(17, 24, 39, 0.96), rgba(10, 15, 28, 0.96));
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.02);
}

.appShell.view-properties .tenSummaryStack .tableWrap.scrollY,
.appShell.view-tenancies .tenSummaryStack .tableWrap.scrollY,
#pageComplianceNoticeReady .tableWrap {
    border-radius: 20px;
    border: 1px solid rgba(148, 163, 184, 0.12);
    background: rgba(10, 15, 26, 0.92);
    overflow: hidden;
}

.appShell.view-properties .tenSummaryStack table thead th,
.appShell.view-tenancies .tenSummaryStack table thead th,
#pageComplianceNoticeReady table thead th,
#modalComplianceHistory table thead th {
    background: rgba(28, 39, 66, 0.92);
    border-bottom: 1px solid rgba(148, 163, 184, 0.12);
    letter-spacing: 0.03em;
}

.appShell.view-properties .tenSummaryStack table tbody tr:hover,
.appShell.view-tenancies .tenSummaryStack table tbody tr:hover,
#pageComplianceNoticeReady table tbody tr:hover {
    background: rgba(28, 53, 98, 0.18);
}

.appShell.view-properties .tenSummaryStack table td,
.appShell.view-tenancies .tenSummaryStack table td,
#pageComplianceNoticeReady table td {
    padding-top: 14px;
    padding-bottom: 14px;
}

#pageComplianceNoticeReady .nrFilters,
#pageComplianceNoticeReady .row.wrap {
    gap: 10px;
}

#pageComplianceNoticeReady .nrActions .btn.small,
#pageComplianceNoticeReady .nrActions .btn.xs {
    min-height: 40px;
    padding-top: 0;
    padding-bottom: 0;
    font-weight: 700;
}

#pageComplianceNoticeReady .pill.good,
#pageComplianceNoticeReady .pill.warn,
#modalComplianceHistory .pill.good,
#modalComplianceHistory .pill.warn {
    letter-spacing: 0.01em;
    box-shadow: 0 12px 24px rgba(3, 8, 20, 0.24);
}

.landlordDash .dashLandlordActivation .tlg-activation-quick,
.landlordDash .dashLandlordActivation .tlg-activation-guide-item,
.landlordDash .dashLandlordActivation .dashLandlordActivationSummary .pill,
.landlordDash .dashLandlordActivation .dashLandlordCheckAction .pill {
    transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.landlordDash .dashLandlordActivation .tlg-activation-quick.tlg-live-state-green {
    border-color: rgba(98, 240, 171, 0.62) !important;
    background: linear-gradient(135deg, rgba(17, 101, 67, 0.98), rgba(30, 157, 103, 0.96)) !important;
    color: #f5fff8 !important;
    box-shadow: 0 12px 28px rgba(6, 48, 30, 0.28);
}

.landlordDash .dashLandlordActivation .tlg-activation-quick.tlg-live-state-amber {
    border-color: rgba(255, 200, 104, 0.58) !important;
    background: linear-gradient(135deg, rgba(121, 78, 16, 0.98), rgba(182, 123, 22, 0.94)) !important;
    color: #fff7e6 !important;
    box-shadow: 0 12px 28px rgba(58, 36, 7, 0.24);
}

.landlordDash .dashLandlordActivation .tlg-activation-quick.tlg-live-state-red {
    border-color: rgba(255, 131, 157, 0.56) !important;
    background: linear-gradient(135deg, rgba(117, 28, 53, 0.98), rgba(176, 47, 81, 0.94)) !important;
    color: #fff3f6 !important;
    box-shadow: 0 12px 28px rgba(61, 12, 26, 0.24);
}

.landlordDash .dashLandlordActivation .tlg-activation-guide-item {
    border-radius: 18px;
    border: 1px solid rgba(148, 163, 184, 0.12);
    padding: 14px 14px;
    margin: 0 -6px;
}

.landlordDash .dashLandlordActivation .tlg-activation-guide-item.tlg-live-state-green {
    border-color: rgba(98, 240, 171, 0.24);
    background:
        linear-gradient(135deg, rgba(12, 53, 38, 0.94), rgba(14, 77, 53, 0.62)),
        rgba(255, 255, 255, 0.01);
}

.landlordDash .dashLandlordActivation .tlg-activation-guide-item.tlg-live-state-amber {
    border-color: rgba(255, 200, 104, 0.22);
    background:
        linear-gradient(135deg, rgba(76, 51, 14, 0.92), rgba(102, 68, 18, 0.56)),
        rgba(255, 255, 255, 0.01);
}

.landlordDash .dashLandlordActivation .dashLandlordActivationSummary .pill.tlg-live-state-amber,
.landlordDash .dashLandlordActivation .dashLandlordCheckAction .pill.tlg-live-state-amber {
    border-color: rgba(255, 200, 104, 0.38) !important;
    background: rgba(133, 89, 18, 0.34) !important;
    color: #fff5dd !important;
}

.landlordDash .dashLandlordActivation .dashLandlordActivationSummary .pill.tlg-live-state-red,
.landlordDash .dashLandlordActivation .dashLandlordCheckAction .pill.tlg-live-state-red {
    border-color: rgba(255, 131, 157, 0.34) !important;
    background: rgba(136, 34, 61, 0.34) !important;
    color: #fff1f5 !important;
}

.landlordDash .dashLandlordActivation .dashLandlordActivationSummary .pill.tlg-live-state-green,
.landlordDash .dashLandlordActivation .dashLandlordCheckAction .pill.tlg-live-state-green {
    border-color: rgba(98, 240, 171, 0.34) !important;
    background: rgba(22, 126, 82, 0.32) !important;
    color: #effff5 !important;
}

.landlordDash .dashLandlordActivation .tlg-activation-check-item.tlg-live-state-amber {
    border-left: 3px solid rgba(255, 200, 104, 0.44);
    padding-left: 12px;
}

.landlordDash .dashLandlordActivation .tlg-activation-check-item.tlg-live-state-red {
    border-left: 3px solid rgba(255, 131, 157, 0.5);
    padding-left: 12px;
}

.landlordDash .dashLandlordActivation .tlg-activation-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    margin-top: 12px;
}

.landlordDash .dashLandlordActivation .tlg-activation-legend-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 700;
    color: rgba(226, 236, 248, 0.88);
}

.landlordDash .dashLandlordActivation .tlg-activation-legend-item i {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 4px;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.12), 0 6px 14px rgba(3, 8, 20, 0.24);
}

.landlordDash .dashLandlordActivation .tlg-activation-legend-item.is-red i {
    background: linear-gradient(135deg, rgba(168, 44, 74, 0.98), rgba(223, 78, 113, 0.96));
}

.landlordDash .dashLandlordActivation .tlg-activation-legend-item.is-amber i {
    background: linear-gradient(135deg, rgba(150, 99, 20, 0.98), rgba(214, 152, 38, 0.96));
}

.landlordDash .dashLandlordActivation .tlg-activation-legend-item.is-green i {
    background: linear-gradient(135deg, rgba(19, 120, 77, 0.98), rgba(43, 183, 119, 0.96));
}

.landlordDash .tlg-dashboard-live-row.tlg-live-state-green {
    border-radius: 18px;
    border: 1px solid rgba(98, 240, 171, 0.18);
    background:
        linear-gradient(135deg, rgba(11, 57, 40, 0.9), rgba(14, 82, 56, 0.52)),
        rgba(255, 255, 255, 0.01);
    box-shadow: inset 0 0 0 1px rgba(124, 255, 182, 0.05);
    padding: 14px 14px;
    margin: 0 -6px;
}

.landlordDash .tlg-dashboard-live-ready-btn.tlg-live-state-green {
    border-color: rgba(98, 240, 171, 0.58) !important;
    background: linear-gradient(135deg, rgba(17, 101, 67, 0.98), rgba(30, 157, 103, 0.96)) !important;
    color: #f5fff8 !important;
    box-shadow: 0 12px 28px rgba(6, 48, 30, 0.28);
}

.appShell.view-properties .tlg-property-header-live {
    align-items: flex-start !important;
    gap: 16px !important;
    flex-wrap: wrap !important;
    margin-bottom: 18px !important;
    padding-bottom: 16px !important;
}

.appShell.view-properties .tlg-property-address-pill {
    width: min(760px, 100%) !important;
    max-width: min(760px, 100%) !important;
    min-height: 58px !important;
    grid-template-columns: auto auto minmax(0, 1fr) !important;
    border-color: rgba(197, 160, 255, 0.42) !important;
    background:
        radial-gradient(circle at top left, rgba(232, 213, 255, 0.14), transparent 44%),
        linear-gradient(135deg, rgba(83, 43, 155, 0.98), rgba(116, 69, 204, 0.96)) !important;
    color: #ffffff !important;
    box-shadow: 0 18px 36px rgba(42, 20, 88, 0.34), inset 0 0 0 1px rgba(255,255,255,0.08) !important;
}

.appShell.view-properties .tlg-property-address-pill .mono,
.appShell.view-properties .tlg-property-address-pill .dot,
.appShell.view-properties .tlg-property-address-pill .sub {
    color: #ffffff !important;
    opacity: 1 !important;
}

.appShell.view-properties .tlg-property-address-pill .sub {
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    font-weight: 720 !important;
}

.appShell.view-properties .tlg-property-actions-live {
    gap: 10px !important;
    padding-top: 4px !important;
    margin-top: 0 !important;
    align-self: flex-start !important;
}

.appShell.view-properties .tlg-property-list-card.active,
.appShell.view-properties .tlg-property-list-card.active:hover {
    border-color: rgba(98, 240, 171, 0.55) !important;
    background:
        linear-gradient(135deg, rgba(14, 87, 60, 0.98), rgba(21, 125, 83, 0.94)) !important;
    color: #f5fff8 !important;
    box-shadow: 0 18px 36px rgba(5, 47, 31, 0.34), inset 0 0 0 1px rgba(124, 255, 182, 0.08) !important;
}

.appShell.view-properties .tlg-property-list-card.active b,
.appShell.view-properties .tlg-property-list-card.active .muted {
    color: #f5fff8 !important;
    opacity: 0.98 !important;
}

.appShell.view-properties .tlg-prop-action-pill {
    min-height: 42px !important;
    padding: 0 16px !important;
    border-radius: 14px !important;
    font-weight: 800 !important;
    letter-spacing: 0 !important;
    box-shadow: 0 12px 26px rgba(3, 8, 20, 0.25);
}

.appShell.view-properties .tlg-prop-action-pill.tlg-prop-state-purple {
    border-color: rgba(197, 160, 255, 0.56) !important;
    background: linear-gradient(135deg, rgba(83, 43, 155, 0.98), rgba(127, 78, 220, 0.96)) !important;
    color: #ffffff !important;
}

.appShell.view-properties .tlg-prop-action-pill.tlg-prop-state-green {
    border-color: rgba(98, 240, 171, 0.62) !important;
    background: linear-gradient(135deg, rgba(17, 101, 67, 0.98), rgba(30, 157, 103, 0.96)) !important;
    color: #f5fff8 !important;
}

.appShell.view-properties .tlg-prop-action-pill.tlg-prop-state-amber {
    border-color: rgba(255, 200, 104, 0.58) !important;
    background: linear-gradient(135deg, rgba(137, 84, 16, 0.98), rgba(202, 132, 24, 0.96)) !important;
    color: #fff8e8 !important;
}

.appShell.view-properties .tlg-prop-action-pill.tlg-prop-state-red {
    border-color: rgba(255, 131, 157, 0.56) !important;
    background: linear-gradient(135deg, rgba(128, 30, 57, 0.98), rgba(188, 51, 87, 0.96)) !important;
    color: #fff3f6 !important;
}

.appShell.view-properties .tlg-prop-action-pill.tlg-prop-state-mixed {
    border-color: rgba(255, 212, 126, 0.55) !important;
    background:
        linear-gradient(90deg, rgba(19, 120, 77, 0.98) 0%, rgba(43, 183, 119, 0.96) 47%, rgba(197, 128, 23, 0.98) 48%, rgba(222, 151, 36, 0.96) 100%) !important;
    color: #ffffff !important;
}

.appShell.view-properties .tlg-property-guide {
    margin: 0 0 16px 0;
}

.appShell.view-properties .tlg-property-guide-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 18px;
    border: 1px solid rgba(122, 162, 255, 0.18);
    background: linear-gradient(135deg, rgba(20, 28, 45, 0.92), rgba(14, 21, 35, 0.92));
}

.appShell.view-properties .tlg-property-guide-bar b {
    display: block;
    color: #f8fafc;
    font-size: 14px;
}

.appShell.view-properties .tlg-property-guide-bar span {
    display: block;
    margin-top: 2px;
    color: rgba(226, 236, 248, 0.72);
    font-size: 12px;
}

.appShell.view-properties .tlg-property-guide-toggle,
.appShell.view-properties .tlg-property-guide-dismiss {
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 12px;
    background: rgba(15, 23, 42, 0.72);
    color: rgba(239, 246, 255, 0.92);
    font-weight: 800;
    min-height: 34px;
    padding: 0 12px;
}

.appShell.view-properties .tlg-property-callout {
    position: relative;
    margin-top: 12px;
    padding: 16px;
    border-radius: 20px;
    border: 1px solid rgba(122, 162, 255, 0.18);
    background:
        radial-gradient(circle at top left, rgba(122, 162, 255, 0.14), transparent 42%),
        linear-gradient(135deg, rgba(18, 27, 46, 0.98), rgba(12, 18, 31, 0.98));
    box-shadow: 0 18px 36px rgba(3, 8, 20, 0.28);
}

.appShell.view-properties .tlg-property-callout.tlg-prop-state-purple {
    border-color: rgba(197, 160, 255, 0.34);
}

.appShell.view-properties .tlg-property-callout.tlg-prop-state-green {
    border-color: rgba(98, 240, 171, 0.3);
    background:
        radial-gradient(circle at top left, rgba(98, 240, 171, 0.13), transparent 42%),
        linear-gradient(135deg, rgba(12, 53, 38, 0.96), rgba(13, 32, 28, 0.96));
}

.appShell.view-properties .tlg-property-callout.tlg-prop-state-amber,
.appShell.view-properties .tlg-property-callout.tlg-prop-state-mixed {
    border-color: rgba(255, 200, 104, 0.3);
    background:
        radial-gradient(circle at top left, rgba(255, 200, 104, 0.13), transparent 42%),
        linear-gradient(135deg, rgba(67, 45, 15, 0.96), rgba(29, 24, 18, 0.96));
}

.appShell.view-properties .tlg-property-callout.tlg-prop-state-red {
    border-color: rgba(255, 131, 157, 0.32);
    background:
        radial-gradient(circle at top left, rgba(255, 131, 157, 0.12), transparent 42%),
        linear-gradient(135deg, rgba(71, 24, 39, 0.96), rgba(29, 19, 26, 0.96));
}

@media (max-width: 1200px) {
    .appShell.view-properties .tlg-property-address-pill {
        width: 100% !important;
        max-width: 100% !important;
    }

    .appShell.view-properties .tlg-property-actions-live {
        justify-content: flex-start !important;
    }
}

@media (max-width: 760px) {
    .appShell.view-properties .tlg-property-address-pill {
        grid-template-columns: auto auto minmax(0, 1fr) !important;
        min-height: 52px !important;
    }

    .appShell.view-properties .tlg-property-guide-bar {
        align-items: flex-start;
        flex-direction: column;
    }

    .appShell.view-properties .tlg-property-guide-toggle {
        width: 100%;
    }
}

/* Properties page: quieter follow-up polish after first live pass */
.appShell.view-properties .tlg-property-header-live {
    gap: 20px !important;
    margin-bottom: 26px !important;
    padding-bottom: 22px !important;
}

.appShell.view-properties .tlg-property-address-pill {
    width: min(690px, 100%) !important;
    max-width: min(690px, 100%) !important;
    min-height: 46px !important;
    padding: 9px 16px !important;
    border-radius: 16px !important;
    border-color: rgba(159, 126, 232, 0.3) !important;
    background:
        linear-gradient(135deg, rgba(56, 39, 102, 0.96), rgba(82, 53, 143, 0.94)) !important;
    box-shadow: 0 12px 24px rgba(25, 18, 56, 0.24), inset 0 0 0 1px rgba(255,255,255,0.045) !important;
}

.appShell.view-properties .tlg-property-address-pill .mono,
.appShell.view-properties .tlg-property-address-pill .sub {
    font-size: 13px !important;
    line-height: 1.2 !important;
}

.appShell.view-properties .tlg-property-address-pill .sub {
    font-weight: 700 !important;
}

.appShell.view-properties .tlg-property-list-card.active,
.appShell.view-properties .tlg-property-list-card.active:hover {
    border-color: rgba(98, 240, 171, 0.32) !important;
    background:
        linear-gradient(135deg, rgba(13, 63, 47, 0.96), rgba(17, 91, 62, 0.9)) !important;
    box-shadow: 0 12px 24px rgba(6, 34, 24, 0.24), inset 0 0 0 1px rgba(124, 255, 182, 0.045) !important;
}

.appShell.view-properties .tlg-prop-action-pill {
    min-height: 38px !important;
    padding: 0 14px !important;
    border-radius: 13px !important;
    box-shadow: 0 10px 20px rgba(3, 8, 20, 0.2) !important;
}

.appShell.view-properties .tlg-prop-action-pill.tlg-prop-state-purple {
    border-color: rgba(164, 134, 235, 0.38) !important;
    background: linear-gradient(135deg, rgba(61, 44, 111, 0.96), rgba(88, 58, 153, 0.92)) !important;
}

.appShell.view-properties .tlg-prop-action-pill.tlg-prop-state-green {
    border-color: rgba(98, 240, 171, 0.4) !important;
    background: linear-gradient(135deg, rgba(14, 83, 59, 0.96), rgba(25, 130, 85, 0.92)) !important;
}

.appShell.view-properties .tlg-prop-action-pill.tlg-prop-state-amber {
    border-color: rgba(255, 200, 104, 0.42) !important;
    background: linear-gradient(135deg, rgba(112, 75, 20, 0.96), rgba(168, 111, 26, 0.92)) !important;
}

.appShell.view-properties .tlg-prop-action-pill.tlg-prop-state-red {
    border-color: rgba(255, 131, 157, 0.4) !important;
    background: linear-gradient(135deg, rgba(102, 31, 52, 0.96), rgba(150, 45, 76, 0.92)) !important;
}

.appShell.view-properties .tlg-prop-action-pill.tlg-prop-state-mixed {
    border-color: rgba(255, 205, 113, 0.44) !important;
    background:
        linear-gradient(90deg, rgba(17, 107, 72, 0.96) 0%, rgba(32, 151, 96, 0.92) 48%, rgba(151, 98, 24, 0.96) 49%, rgba(197, 132, 32, 0.92) 100%) !important;
}

.appShell.view-properties .tlg-property-guide {
    position: relative;
    overflow: visible;
    margin: 0 0 18px 0;
}

.appShell.view-properties .tlg-onb-guide-bar.tlg-property-guide-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    margin: 0;
    padding: 14px 16px;
    border-radius: 18px;
    border: 1px solid rgba(72, 187, 255, 0.22);
    background: linear-gradient(135deg, rgba(18, 42, 84, 0.92), rgba(25, 77, 137, 0.48));
    box-shadow: 0 18px 34px rgba(7, 18, 38, 0.34);
}

.appShell.view-properties .tlg-onb-guide-copy {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 220px;
    flex: 1 1 320px;
}

.appShell.view-properties .tlg-onb-guide-copy b {
    color: #f8fbff;
    font-size: 14px;
}

.appShell.view-properties .tlg-onb-guide-copy span {
    color: #d4e7ff;
    font-size: 13px;
    line-height: 1.45;
}

.appShell.view-properties .tlg-onb-guide-toggle {
    appearance: none;
    border: 1px solid rgba(90, 205, 255, 0.26);
    border-radius: 999px;
    padding: 10px 16px;
    background: linear-gradient(135deg, rgba(33, 159, 255, 0.24), rgba(28, 90, 185, 0.7));
    color: #f7fbff;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 12px 26px rgba(22, 117, 255, 0.22);
}

.appShell.view-properties .tlg-onb-guide-toggle.is-off {
    background: linear-gradient(135deg, rgba(54, 64, 85, 0.9), rgba(31, 41, 55, 0.92));
    border-color: rgba(255, 255, 255, 0.12);
    color: #dce6fb;
    box-shadow: none;
}

.appShell.view-properties .tlg-onb-callout.tlg-property-callout {
    position: relative;
    width: min(340px, 100%);
    margin-top: 14px;
    padding: 18px 18px 16px;
    border-radius: 22px;
    border: 1px solid rgba(108, 218, 255, 0.36);
    background: linear-gradient(145deg, rgba(22, 46, 89, 0.98), rgba(18, 78, 123, 0.96));
    color: #f5fbff;
    box-shadow:
        0 0 0 1px rgba(105, 217, 255, 0.08),
        0 0 34px rgba(49, 164, 255, 0.28),
        0 20px 44px rgba(4, 12, 29, 0.34);
    z-index: 8;
}

.appShell.view-properties .tlg-onb-callout.tlg-property-callout::before {
    content: "";
    position: absolute;
    top: -13px;
    width: 0;
    height: 0;
    border-right: 12px solid transparent;
    border-left: 12px solid transparent;
    border-bottom: 13px solid rgba(27, 92, 142, 0.98);
    filter: drop-shadow(0 -4px 10px rgba(49, 164, 255, 0.24));
}

.appShell.view-properties .tlg-property-callout.is-guide-summary::before {
    left: 86px;
}

.appShell.view-properties .tlg-property-callout.is-guide-tenancies::before {
    left: 170px;
}

.appShell.view-properties .tlg-property-callout.is-guide-documents::before {
    left: 212px;
}

.appShell.view-properties .tlg-property-callout.is-guide-compliance::before {
    left: 250px;
}

.appShell.view-properties .tlg-property-callout.is-guide-utilities::before {
    left: 288px;
}

.appShell.view-properties .tlg-onb-callout-kicker {
    color: #a9e8ff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.appShell.view-properties .tlg-onb-callout-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.appShell.view-properties .tlg-onb-callout-title {
    margin-top: 8px;
    color: #ffffff;
    font-size: 22px;
    font-weight: 800;
    line-height: 1.08;
}

.appShell.view-properties .tlg-onb-callout-body {
    margin-top: 10px;
    color: #dcecff;
    font-size: 14px;
    line-height: 1.55;
}

.appShell.view-properties .tlg-onb-callout-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 14px;
}

.appShell.view-properties .tlg-onb-guide-btn {
    appearance: none;
    border: 1px solid rgba(106, 214, 255, 0.24);
    border-radius: 999px;
    padding: 9px 13px;
    background: linear-gradient(135deg, rgba(33, 159, 255, 0.22), rgba(28, 90, 185, 0.72));
    color: #f7fbff;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
}

.appShell.view-properties .tlg-onb-guide-btn.ghost {
    background: rgba(11, 19, 39, 0.44);
    color: #d8e7fb;
}

.appShell.view-properties .tlg-onb-guide-btn[disabled] {
    opacity: .48;
    cursor: not-allowed;
}

.appShell.view-properties .tlg-onb-guide-dismiss {
    appearance: none;
    border: 0;
    background: transparent;
    color: #bfe4ff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.02em;
    cursor: pointer;
    white-space: nowrap;
    padding: 0;
}

.appShell.view-properties .tlg-onb-guide-dismiss span {
    font-size: 15px;
    margin-left: 4px;
}

.appShell.view-properties .tlg-property-guide-focus {
    outline: 1px solid rgba(106, 214, 255, 0.28) !important;
    box-shadow: 0 0 0 1px rgba(106, 214, 255, 0.2), 0 18px 30px rgba(17, 72, 132, 0.2) !important;
}

@media (min-width: 1181px) {
    .appShell.view-properties .tlg-onb-callout.tlg-property-callout {
        margin-left: 0;
    }

    .appShell.view-properties .tlg-property-callout.is-guide-summary {
        margin-left: 18px;
    }

    .appShell.view-properties .tlg-property-callout.is-guide-tenancies {
        margin-left: min(520px, 36vw);
    }

    .appShell.view-properties .tlg-property-callout.is-guide-documents {
        margin-left: min(600px, 42vw);
    }

    .appShell.view-properties .tlg-property-callout.is-guide-compliance {
        margin-left: min(675px, 48vw);
    }

    .appShell.view-properties .tlg-property-callout.is-guide-utilities {
        margin-left: min(760px, 54vw);
    }
}

/* Properties page: toolbar alignment and target-anchored guide callouts */
.appShell.view-properties .tlg-property-header-live {
    display: block !important;
}

.appShell.view-properties .tlg-property-actions-live {
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 10px !important;
    flex-wrap: wrap !important;
    padding-top: 0 !important;
}

.appShell.view-properties .tlg-property-actions-live .tlg-property-address-pill {
    order: -1;
    margin-right: auto !important;
}

.appShell.view-properties .tenSummaryStack > .card > .hd.tlg-property-header-live {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: wrap !important;
    gap: 14px !important;
}

.appShell.view-properties .tenSummaryStack > .card > .hd.tlg-property-header-live > .tlg-property-address-pill {
    flex: 0 1 min(620px, 52vw) !important;
}

.appShell.view-properties .tenSummaryStack > .card > .hd.tlg-property-header-live > .right.tlg-property-actions-live {
    width: auto !important;
    flex: 1 1 460px !important;
    margin-left: auto !important;
}

.appShell.view-properties .tenSummaryStack > .card > .hd .right > [data-action="gotoTenancies"],
.appShell.view-properties .tenSummaryStack > .card > .hd .right > [data-action="gotoDocs"],
.appShell.view-properties .tenSummaryStack > .card > .hd .right > [data-action="gotoCompliance"],
.appShell.view-properties .tenSummaryStack > .card > .hd .right > [data-action="openUtilitiesModal"] {
    min-height: 38px !important;
    padding: 0 14px !important;
    border-radius: 13px !important;
    font-size: 13px !important;
    font-weight: 800 !important;
}

.appShell.view-properties .tenSummaryStack > .card > .hd .right > span.pill {
    display: none !important;
}

.appShell.view-properties .tlg-property-address-pill {
    width: min(620px, 52vw) !important;
    max-width: min(620px, 52vw) !important;
    min-height: 42px !important;
    padding: 8px 14px !important;
    grid-template-columns: auto auto minmax(0, 1fr) !important;
    align-content: center !important;
}

.appShell.view-properties .tlg-property-address-pill .sub {
    white-space: normal !important;
    overflow: hidden !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    text-overflow: clip !important;
    line-height: 1.18 !important;
}

.appShell.view-properties .tlg-prop-action-pill {
    background-size: 140% 140% !important;
}

.appShell.view-properties .tlg-prop-action-pill.tlg-prop-state-purple,
.appShell.view-properties .tlg-property-address-pill {
    background:
        linear-gradient(135deg, rgba(44, 36, 86, 0.97) 0%, rgba(64, 47, 125, 0.96) 48%, rgba(80, 57, 145, 0.92) 100%) !important;
}

.appShell.view-properties .tlg-prop-action-pill.tlg-prop-state-green {
    background:
        linear-gradient(135deg, rgba(11, 70, 52, 0.98) 0%, rgba(21, 107, 75, 0.95) 48%, rgba(31, 145, 92, 0.9) 100%) !important;
}

.appShell.view-properties .tlg-prop-action-pill.tlg-prop-state-amber {
    background:
        linear-gradient(135deg, rgba(93, 67, 21, 0.98) 0%, rgba(132, 89, 25, 0.95) 50%, rgba(174, 119, 32, 0.9) 100%) !important;
}

.appShell.view-properties .tlg-prop-action-pill.tlg-prop-state-red {
    background:
        linear-gradient(135deg, rgba(83, 30, 49, 0.98) 0%, rgba(121, 39, 65, 0.95) 50%, rgba(162, 50, 82, 0.9) 100%) !important;
}

.appShell.view-properties .tlg-property-guide {
    margin-top: 18px !important;
}

.appShell.view-properties .tenSummaryStack > .card > .bd {
    position: relative !important;
    padding-top: 132px !important;
}

.appShell.view-properties .tenSummaryStack > .card > .bd > .tlg-property-status-legend {
    position: absolute !important;
    top: 0 !important;
    right: 10px !important;
    z-index: 3;
}

.appShell.view-properties .tenSummaryStack > .card > .bd > .tlg-property-guide {
    position: absolute !important;
    top: 30px !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 2;
    margin: 0 !important;
}

.appShell.view-properties .tlg-property-owner-pill {
    display: none !important;
}

.appShell.view-properties .tlg-property-floating-callout,
.tlg-property-floating-callout {
    position: absolute !important;
    margin: 0 !important;
    width: 340px;
    max-width: calc(100vw - 28px);
    z-index: 10000 !important;
    padding: 18px 18px 16px;
    border-radius: 22px;
    border: 1px solid rgba(108, 218, 255, 0.36);
    background: linear-gradient(145deg, rgba(22, 46, 89, 0.98), rgba(18, 78, 123, 0.96));
    color: #f5fbff;
    box-shadow:
        0 0 0 1px rgba(105, 217, 255, 0.08),
        0 0 34px rgba(49, 164, 255, 0.28),
        0 20px 44px rgba(4, 12, 29, 0.34);
}

.appShell.view-properties .tlg-property-floating-callout::before,
.tlg-property-floating-callout::before {
    display: none !important;
}

.appShell.view-properties .tlg-property-callout-arrow,
.tlg-property-callout-arrow {
    position: absolute;
    top: -13px;
    width: 0;
    height: 0;
    border-right: 12px solid transparent;
    border-left: 12px solid transparent;
    border-bottom: 13px solid rgba(27, 92, 142, 0.98);
    filter: drop-shadow(0 -4px 10px rgba(49, 164, 255, 0.24));
}

.tlg-property-floating-callout .tlg-onb-callout-kicker {
    color: #a9e8ff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.tlg-property-floating-callout .tlg-onb-callout-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.tlg-property-floating-callout .tlg-onb-callout-title {
    margin-top: 8px;
    color: #ffffff;
    font-size: 22px;
    font-weight: 800;
    line-height: 1.08;
}

.tlg-property-floating-callout .tlg-onb-callout-body {
    margin-top: 10px;
    color: #dcecff;
    font-size: 14px;
    line-height: 1.55;
}

.tlg-property-floating-callout .tlg-onb-callout-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 14px;
}

.tlg-property-floating-callout .tlg-onb-guide-btn {
    appearance: none;
    border: 1px solid rgba(106, 214, 255, 0.24);
    border-radius: 999px;
    padding: 9px 13px;
    background: linear-gradient(135deg, rgba(33, 159, 255, 0.22), rgba(28, 90, 185, 0.72));
    color: #f7fbff;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
}

.tlg-property-floating-callout .tlg-onb-guide-btn.ghost {
    background: rgba(11, 19, 39, 0.44);
    color: #d8e7fb;
}

.tlg-property-floating-callout .tlg-onb-guide-btn[disabled] {
    opacity: .48;
    cursor: not-allowed;
}

.tlg-property-floating-callout .tlg-onb-guide-dismiss {
    appearance: none;
    border: 0;
    background: transparent;
    color: #bfe4ff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.02em;
    cursor: pointer;
    white-space: nowrap;
    padding: 0;
}

.appShell.view-properties .tlg-property-status-legend {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 18px;
    margin: 6px 10px 12px auto;
    color: rgba(231, 238, 249, 0.9);
    font-size: 13px;
    font-weight: 800;
    line-height: 1;
}

.appShell.view-properties .tlg-property-status-legend-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.appShell.view-properties .tlg-property-status-legend-item i {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 4px;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 6px 14px rgba(0, 0, 0, 0.18);
}

.appShell.view-properties .tlg-property-status-legend-item i.is-red {
    background: linear-gradient(135deg, #d84c7f, #a4315f);
}

.appShell.view-properties .tlg-property-status-legend-item i.is-amber {
    background: linear-gradient(135deg, #e8b943, #b98222);
}

.appShell.view-properties .tlg-property-status-legend-item i.is-green {
    background: linear-gradient(135deg, #40c878, #238a5a);
}

@media (max-width: 1180px) {
    .appShell.view-properties .tlg-property-actions-live {
        justify-content: flex-start !important;
    }

    .appShell.view-properties .tlg-property-actions-live .tlg-property-address-pill {
        width: 100% !important;
        max-width: 100% !important;
        margin-right: 0 !important;
    }

    .appShell.view-properties .tlg-property-status-legend {
        justify-content: flex-start;
        flex-wrap: wrap;
        margin-left: 0;
    }
}

.appShell.view-properties .tenSummaryStack > .card > .bd > .tlg-property-status-legend {
    margin: 0 !important;
}

@media (max-width: 760px) {
    .appShell.view-properties .tenSummaryStack > .card > .bd {
        padding-top: 168px !important;
    }

    .appShell.view-properties .tenSummaryStack > .card > .bd > .tlg-property-guide {
        top: 42px !important;
    }
}

/* Tenancies page finish pass: repeated at end so it wins over older page-specific rules. */
.sidebar .nav button.active,
.sidebar .nav button[aria-current="page"],
.sidebar .nav button.is-active {
    border-color: rgba(74, 222, 128, 0.46) !important;
    background: linear-gradient(135deg, rgba(25, 95, 74, 0.95), rgba(34, 197, 94, 0.25)) !important;
    color: #ecfff2 !important;
    box-shadow: inset 0 0 0 1px rgba(74, 222, 128, 0.08), 0 12px 26px rgba(34, 197, 94, 0.12) !important;
}

.appShell.view-properties .propChip,
.appShell.view-tenancies .propChip {
    border-color: rgba(74, 222, 128, 0.34) !important;
    background: linear-gradient(135deg, rgba(19, 102, 63, 0.96), rgba(18, 139, 78, 0.72)) !important;
    color: #ecfff2 !important;
    box-shadow: inset 0 0 0 1px rgba(74, 222, 128, 0.08), 0 12px 26px rgba(34, 197, 94, 0.12) !important;
}

.appShell.view-properties .propChip .mono,
.appShell.view-tenancies .propChip .mono,
.appShell.view-properties .propChip .sub,
.appShell.view-tenancies .propChip .sub {
    color: #ecfff2 !important;
}

.appShell.view-tenancies .tlg-tenancy-details-edit,
.appShell.view-tenancies .tlg-deposit-record-edit {
    border-color: rgba(197, 160, 255, 0.56) !important;
    background: linear-gradient(135deg, rgba(83, 43, 155, 0.98), rgba(127, 78, 220, 0.96)) !important;
    color: #ffffff !important;
    box-shadow: 0 10px 22px rgba(83, 43, 155, 0.24) !important;
}

.appShell.view-properties .tlg-property-list-card.active,
.appShell.view-properties .tlg-property-list-card.active:hover,
.appShell.view-tenancies .tlg-property-list-card.active,
.appShell.view-tenancies .tlg-property-list-card.active:hover {
    border-color: rgba(74, 222, 128, 0.46) !important;
    background: linear-gradient(135deg, rgba(19, 102, 63, 0.96), rgba(18, 139, 78, 0.72)) !important;
    color: #ecfff2 !important;
    box-shadow: inset 0 0 0 1px rgba(74, 222, 128, 0.08), 0 12px 26px rgba(34, 197, 94, 0.12) !important;
}

.appShell.view-properties .tlg-property-list-card.active b,
.appShell.view-properties .tlg-property-list-card.active .muted,
.appShell.view-tenancies .tlg-property-list-card.active b,
.appShell.view-tenancies .tlg-property-list-card.active .muted {
    color: #ecfff2 !important;
    opacity: 1 !important;
}

/* Tenancies page: selected PR/address tile in the left Properties panel. */
.appShell.view-tenancies .tenPropCard .listItem.active,
.appShell.view-tenancies .tenPropCard .listItem.active:hover,
.appShell.view-tenancies .tenPropCard .listItem.active:focus-visible {
    border-color: rgba(74, 222, 128, 0.46) !important;
    background: linear-gradient(135deg, rgba(19, 102, 63, 0.96), rgba(18, 139, 78, 0.72)) !important;
    color: #ecfff2 !important;
    box-shadow: inset 0 0 0 1px rgba(74, 222, 128, 0.08), 0 12px 26px rgba(34, 197, 94, 0.12) !important;
}

.appShell.view-tenancies .tenPropCard .listItem.active b,
.appShell.view-tenancies .tenPropCard .listItem.active .muted {
    color: #ecfff2 !important;
    opacity: 1 !important;
}

/* Section 13 / Form 4 workflow polish */
.appShell.view-tenancies [data-action="utilRentIncrease"],
.appShell.view-tenancies [data-action="utilRentIncrease"]:hover,
.appShell.view-documents .docActions [data-action="tlgEditSection13Doc"],
.appShell.view-documents .docActions [data-action="tlgEditSection13Doc"]:hover {
    border-color: rgba(197, 160, 255, 0.56) !important;
    background: linear-gradient(135deg, rgba(83, 43, 155, 0.98), rgba(127, 78, 220, 0.96)) !important;
    color: #ffffff !important;
    box-shadow: 0 10px 22px rgba(83, 43, 155, 0.24) !important;
}

#modal.tlg-ri-modal #modalTitle {
    font-size: clamp(23px, 2vw, 30px) !important;
    line-height: 1.15 !important;
}

#modal .notice.tlg-ri-important {
    display: block;
    padding: 14px 16px !important;
    line-height: 1.45 !important;
}

#modal .notice.tlg-ri-important b {
    display: inline !important;
    font-size: 15px !important;
    line-height: 1.4 !important;
    margin: 0 4px 0 0 !important;
}

#modal .notice.tlg-ri-important span,
#modal .notice.tlg-ri-important div {
    font-size: 14px !important;
    line-height: 1.45 !important;
    color: rgba(226, 232, 240, 0.82) !important;
}

#modal .tlg-form4-doc {
    color: #111827;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.14);
    border-radius: 10px;
    padding: 28px;
    font-family: Georgia, "Times New Roman", serif;
    line-height: 1.45;
}

#modal .tlg-form4-brand,
.tlg-form4-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 2px solid #111827;
}

#modal .tlg-form4-brand img,
.tlg-form4-brand img {
    width: 126px;
    max-height: 58px;
    object-fit: contain;
}

#modal .tlg-form4-brand b,
.tlg-form4-brand b {
    display: block;
    color: #111827;
    font-size: 20px;
    letter-spacing: 0;
}

#modal .tlg-form4-brand span,
.tlg-form4-brand span {
    display: block;
    margin-top: 2px;
    color: #4b5563;
    font-family: Arial, sans-serif;
    font-size: 12px;
}

#modal .tlg-form4-doc h1,
.tlg-form4-doc h1 {
    margin: 0 0 8px;
    color: #111827;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 20px;
    line-height: 1.25;
}

#modal .tlg-form4-doc h2,
.tlg-form4-doc h2 {
    color: #111827;
    font-size: 17px;
    margin: 18px 0 8px;
}

#modal .tlg-form4-doc h3,
.tlg-form4-doc h3 {
    color: #111827;
    font-size: 14px;
    margin: 14px 0 6px;
}

#modal .tlg-form4-sub,
#modal .tlg-form4-note,
.tlg-form4-sub,
.tlg-form4-note {
    color: #374151;
    font-size: 13px;
    margin: 6px 0;
}

#modal .tlg-form4-grid,
.tlg-form4-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin: 18px 0;
}

#modal .tlg-form4-grid div,
.tlg-form4-grid div {
    border: 1px solid #d1d5db;
    padding: 9px 10px;
    min-height: 44px;
}

#modal .tlg-form4-grid b,
.tlg-form4-grid b {
    display: block;
    color: #111827;
    font-family: Arial, sans-serif;
    font-size: 11px;
    text-transform: uppercase;
}

#modal .tlg-form4-grid span,
.tlg-form4-grid span {
    display: block;
    margin-top: 3px;
}

#modal .tlg-form4-list,
.tlg-form4-list {
    margin: 12px 0 12px 22px;
    padding: 0;
}

#modal .tlg-form4-list li,
.tlg-form4-list li {
    margin: 8px 0;
    padding-left: 4px;
}

#modal .tlg-form4-table,
.tlg-form4-table {
    width: 100%;
    border-collapse: collapse;
    margin: 14px 0;
    font-family: Arial, sans-serif;
    font-size: 12px;
}

#modal .tlg-form4-table th,
#modal .tlg-form4-table td,
.tlg-form4-table th,
.tlg-form4-table td {
    border: 1px solid #9ca3af;
    padding: 8px;
    color: #111827;
    vertical-align: top;
}

#modal .tlg-form4-table th,
.tlg-form4-table th {
    background: #f3f4f6;
    font-weight: 700;
}

#modal .tlg-form4-sign,
.tlg-form4-sign {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin: 18px 0;
}

#modal .tlg-form4-sign div,
.tlg-form4-sign div {
    border-top: 1px solid #111827;
    padding-top: 8px;
}

#modal .tlg-form4-guidance,
.tlg-form4-guidance {
    margin-top: 20px;
    padding-top: 14px;
    border-top: 1px solid #d1d5db;
    color: #1f2937;
    font-size: 12px;
}

#modal .tlg-form4-print-actions {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 12px;
}

#modal .tlg-form4-generated,
.tlg-form4-generated {
    margin-top: 12px;
    color: #6b7280;
    font: 11px Arial, sans-serif;
}

.appShell.view-documents .docsTblWrap,
.appShell.view-documents .docsPaged,
.appShell.view-documents .tableWrap {
    overflow: visible !important;
}

.appShell.view-documents .docsTbl .docActions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    flex-wrap: wrap;
    overflow: visible;
}

.appShell.view-documents details.docMore {
    position: relative;
}

.appShell.view-documents details.docMore .mtMoreMenu {
    position: absolute;
    right: 0;
    top: calc(100% + 6px);
    z-index: 9999;
    min-width: 190px;
}

.appShell.view-documents .tlg-doc-delivery-status {
    margin-left: 6px;
}

#modal .tlg-send-doc-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 14px;
}

#modal .tlg-send-doc-grid section {
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 12px;
    padding: 14px;
    background: rgba(15, 23, 42, 0.42);
}

#modal .tlg-send-doc-grid h3 {
    margin: 0 0 10px;
    font-size: 16px;
}

#modal .tlg-send-doc-list {
    display: grid;
    gap: 8px;
    margin-bottom: 10px;
}

#modal .tlg-send-doc-recipient,
#modal .tlg-send-doc-confirm {
    display: flex;
    gap: 9px;
    align-items: flex-start;
    color: #e5edf8;
    font-size: 14px;
}

#modal .tlg-send-doc-recipient em {
    display: block;
    margin-top: 2px;
    color: rgba(203, 213, 225, 0.72);
    font-style: normal;
    font-size: 12px;
}

#modal .tlg-send-doc-confirm {
    margin: 10px 0;
}

@media (max-width: 820px) {
    #modal .tlg-form4-grid,
    #modal .tlg-form4-sign,
    #modal .tlg-send-doc-grid {
        grid-template-columns: 1fr;
    }
}

@media print {
    .tlg-form4-print-actions {
        display: none !important;
    }

    .tlg-form4-doc {
        border: 0 !important;
        border-radius: 0 !important;
        padding: 0 !important;
    }
}
/* Section 13 preview controls */
#modal .tlg-ri-preview-details {
  margin-top: 10px !important;
  border-top: 1px solid rgba(148, 163, 184, 0.16);
  padding-top: 10px;
}

#modal .tlg-ri-preview-details summary {
  display: none !important;
}

#modal .tlg-ri-preview-actions {
  display: flex !important;
  justify-content: flex-start !important;
  align-items: center;
  gap: 10px !important;
  margin: 2px 0 10px !important;
}

#modal .tlg-ri-preview-btn {
  border-color: rgba(74, 222, 128, 0.48) !important;
  background: linear-gradient(135deg, rgba(20, 130, 78, 0.96), rgba(34, 197, 94, 0.82)) !important;
  color: #ecfff2 !important;
  box-shadow: 0 10px 22px rgba(34, 197, 94, 0.18) !important;
}

#modal .tlg-ri-preview-btn:hover {
  border-color: rgba(134, 239, 172, 0.7) !important;
  background: linear-gradient(135deg, rgba(22, 163, 74, 0.98), rgba(34, 197, 94, 0.9)) !important;
  color: #ffffff !important;
}

#modal [data-action="tlgRiClosePreview"] {
  border-color: rgba(148, 163, 184, 0.28) !important;
  color: #e5edf7 !important;
}

#modal #ri_preview.tlg-ri-preview-open {
  margin-top: 10px;
}

/* Section 13 card entry button: show clearer copy without touching the top Rent shortcut. */
.appShell.view-tenancies .miniRow [data-action="utilRentIncrease"] {
  min-width: 94px !important;
  white-space: nowrap !important;
  text-align: center !important;
  position: relative !important;
  overflow: hidden !important;
  color: transparent !important;
  -webkit-text-fill-color: transparent !important;
}

.appShell.view-tenancies .miniRow [data-action="utilRentIncrease"]::after {
  content: "Create now";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  -webkit-text-fill-color: #ffffff;
  font-size: 13px;
  line-height: 1;
  pointer-events: none;
}

/* Edit tenancy tenant contact sections */
#modal .tlg-live-tenant-sections {
  display: grid;
  gap: 12px;
}

#modal .tlg-live-tenant-card {
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.42);
  padding: 14px;
}

#modal .tlg-live-tenant-card-title {
  color: #eaf0ff;
  font-weight: 800;
  margin-bottom: 10px;
}
.view-documents .docsTblWrap,
.view-documents .tableWrap,
.view-documents .card,
.view-documents .bd {
  overflow: visible !important;
}

.view-documents details.docMore,
.view-documents .docActions {
  position: relative;
  z-index: 5;
}

.view-documents details.docMore[open] {
  z-index: 60;
}

.view-documents details.docMore .mtMoreMenu {
  right: 0;
  left: auto;
  z-index: 9999;
}

.appShell.view-documents .docsTbl,
.appShell.view-documents .docsTbl tbody,
.appShell.view-documents .docsTbl tr,
.appShell.view-documents .docsTbl td,
.appShell.view-documents .docsTbl .docActions {
  overflow: visible !important;
}

.appShell.view-documents .docsTbl tbody tr:nth-last-child(-n+2) details.docMore .mtMoreMenu,
.view-documents .docsTbl tbody tr:nth-last-child(-n+2) details.docMore .mtMoreMenu {
  top: auto !important;
  bottom: calc(100% + 6px) !important;
}

.appShell.view-documents .docsPager {
  position: relative;
  z-index: 1;
}

.appShell.view-documents details.docMore[open] .mtMoreMenu,
.view-documents details.docMore[open] .mtMoreMenu {
  background: #101724 !important;
  border: 1px solid rgba(148, 163, 184, 0.26) !important;
  border-radius: 12px !important;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.46) !important;
  padding: 8px !important;
  pointer-events: auto !important;
  opacity: 1 !important;
  min-width: 184px !important;
  isolation: isolate;
}

.appShell.view-documents details.docMore[open] .mtMoreMenu .btn,
.view-documents details.docMore[open] .mtMoreMenu .btn {
  width: 100%;
  justify-content: flex-start;
  background: #111a2b !important;
  position: relative;
  z-index: 10000;
  pointer-events: auto;
  color: #f8fbff !important;
  -webkit-text-fill-color: #f8fbff !important;
}

.appShell.view-documents details.docMore[open] .mtMoreMenu .btn:hover,
.view-documents details.docMore[open] .mtMoreMenu .btn:hover {
  background: #17233a !important;
}

.appShell.view-documents details.docMore[open] .mtMoreMenu .btn.danger,
.view-documents details.docMore[open] .mtMoreMenu .btn.danger {
  background: #351429 !important;
}

.appShell.view-documents details.docMore,
.view-documents details.docMore {
  display: none !important;
}

.appShell.view-documents .tlg-doc-more-select,
.view-documents .tlg-doc-more-select {
  min-width: 92px;
  height: 34px;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.26);
  background: #111827;
  color: #f8fbff;
  font-size: 13px;
  padding: 0 28px 0 12px;
}

.appShell.view-documents .tlg-doc-more-select:focus,
.view-documents .tlg-doc-more-select:focus {
  border-color: rgba(45, 212, 191, 0.7);
  box-shadow: 0 0 0 3px rgba(45, 212, 191, 0.16);
  outline: none;
}

#modal .tlg-send-doc-list {
  display: grid;
  gap: 8px;
  margin: 10px 0 12px;
}

#modal .tlg-send-doc-recipient {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 10px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 10px;
  background: rgba(15, 23, 42, 0.36);
}

#modal .tlg-send-doc-recipient span {
  display: grid;
  gap: 3px;
}

#modal .tlg-send-doc-recipient em {
  color: #aab7cc;
  font-style: normal;
  font-size: 13px;
}

#modal .tlg-send-doc-confirm {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin: 12px 0;
}

#modal .tlg-send-doc-attachments {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(148, 163, 184, 0.16);
}

#modal .tlg-send-doc-attachment,
#modal .tlg-send-doc-upload {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 10px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 10px;
  background: rgba(15, 23, 42, 0.38);
  color: #e5edf8;
  font-size: 14px;
}

#modal .tlg-send-doc-attachment span,
#modal .tlg-send-doc-upload span {
  display: grid;
  gap: 3px;
}

#modal .tlg-send-doc-attachment em,
#modal .tlg-send-doc-upload em {
  color: #aab7cc;
  font-style: normal;
  font-size: 13px;
}

#modal .tlg-send-doc-upload {
  margin-top: 8px;
  flex-direction: column;
}

#modal .tlg-send-doc-upload input[type="file"] {
  width: 100%;
  min-height: 42px;
  padding: 9px;
  border-radius: 10px;
  border: 1px dashed rgba(45, 212, 191, 0.46);
  background: rgba(2, 6, 23, 0.58);
}
