.ld-header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1000;
        height: 72px;
        background: var(--ld-white, #fff);
        border-bottom: 1px solid #e5e7eb;
        box-shadow: 0 2px 12px rgba(20,28,36,.05);
    }

    .ld-header-inner {
        width: min(1180px, calc(100% - 32px));
        height: 100%;
        margin: 0 auto;
        display: flex;
        align-items: center;
        gap: 18px;
    }

    .ld-logo {
        flex: 0 0 auto;
        color: #171a1f;
        text-decoration: none;
        font-size: 25px;
        font-weight: 900;
        letter-spacing: -.7px;
    }

    .ld-logo span {
        color: var(--ld-brand, #ff5a1f);
    }

    .ld-logo-mobile {
        display: none;
    }

    
    .ld-logo .ld-logo-mobile,
    .ld-logo .ld-logo-black,
    .ld-logo .ld-logo-domain {
        color: #171a1f;
    }

    .ld-logo .ld-logo-domain {
        font-size: .58em;
        font-weight: 800;
        letter-spacing: -.25px;
        vertical-align: baseline;
    }

    .ld-search {
        flex: 1 1 auto;
        min-width: 0;
        max-width: none;
        display: flex;
        align-items: center;
        align-self: center;
        margin: 0;
        height: 42px;
        border: 1px solid #d9dde2;
        border-radius: var(--ld-radius-md, 8px);
        overflow: hidden;
        background: var(--ld-white, #fff);
    }

    .ld-search input {
        min-width: 0;
        flex: 1;
        height: 100%;
        min-height: 0;
        border: 0;
        outline: 0;
        margin: 0;
        padding: 0 13px;
        color: #20242a;
        background: transparent;
        line-height: 1.2;
    }

    .ld-search button {
        width: 44px;
        height: 100%;
        border: 0;
        border-left: 1px solid #e5e7eb;
        background: var(--ld-white, #fff);
        color: #555d66;
        cursor: pointer;
        font-size: 17px;
    }

    .ld-search button:hover {
        color: var(--ld-brand, #ff5a1f);
    }

    .ld-actions {
        margin-left: auto;
        display: flex;
        align-items: center;
        flex: 0 0 auto;
        gap: 10px;
        white-space: nowrap;
        overflow: visible !important;
    }

    .ld-action-link {
        color: #555d66;
        text-decoration: none;
        font-size: 13px;
        font-weight: 700;
    }

    .ld-action-link:hover {
        color: var(--ld-brand, #ff5a1f);
    }

    
    .ld-account-link {
        position: relative;
        flex: 0 0 38px;
        width: 38px;
        height: 38px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        box-sizing: border-box;
        border: 0;
        border-radius: var(--ld-radius-md, 8px);
        padding: 0;
        background: transparent;
        color: #9aa1a9;
        text-decoration: none;
        cursor: pointer;
        transition: color .15s ease, background .15s ease;
    }

    .ld-account-link:hover {
        color: var(--ld-brand, #ff5a1f);
        background: #fff4ef;
    }

    .ld-account-link svg {
        display: block;
        width: 21px;
        height: 21px;
        stroke: currentColor;
        fill: none;
        stroke-width: 1.7;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

    .ld-account-link.login-link::after {
        content: '+';
        position: absolute;
        right: 1px;
        bottom: 1px;
        width: 13px;
        height: 13px;
        display: flex;
        align-items: center;
        justify-content: center;
        border: 2px solid #fff;
        border-radius: 50%;
        background: var(--ld-brand, #ff5a1f);
        color: var(--ld-white, #fff);
        font-size: 12px;
        font-weight: 900;
        line-height: 1;
        box-sizing: content-box;
    }

    .ld-account-link:focus-visible {
        outline: 2px solid var(--ld-brand, #ff5a1f);
        outline-offset: 2px;
    }

    
    
    .ld-header .ld-auth-hidden {
        visibility: hidden !important;
        pointer-events: none !important;
    }
    .ld-header .ld-account-slot {
        position: relative;
        flex: 0 0 38px;
        width: 38px;
        min-width: 38px;
        height: 38px;
    }
    .ld-header .ld-account-slot > .ld-account-link {
        position: absolute;
        inset: 0;
        margin: 0;
    }
    
    .ld-header .ld-account-slot:not(.ld-auth-resolved) > .ld-account-link {
        visibility: hidden !important;
    }

    

    .ld-notifications {
        position: relative;
        flex: 0 0 auto;
    }

    .ld-notifications-button {
        position: relative;
        width: 38px;
        height: 38px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border: 0;
        background: transparent;
        color: #9aa1a9;
        border-radius: var(--ld-radius-md, 8px);
        cursor: pointer;
        padding: 0;
        transition: color .15s ease,
                    background .15s ease,
                    transform .15s ease;
    }

    .ld-notifications-button:hover {
        color: var(--ld-brand, #ff5a1f);
        background: #fff4ef;
    }

    .ld-notifications-button svg {
        width: 21px;
        height: 21px;
        stroke: currentColor;
        fill: none;
        stroke-width: 1.7;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

    .ld-notifications.has-unread .ld-notifications-button {
        color: var(--ld-brand, #ff5a1f);
    }

    .ld-notifications.has-unread .ld-notifications-button svg {
        stroke-width: 2.35;
        filter: drop-shadow(0 0 2px rgba(255,90,31,.18));
    }

    .ld-notifications.has-unread .ld-notifications-button::after {
        content: '';
        position: absolute;
        width: 6px;
        height: 6px;
        top: 6px;
        right: 7px;
        border-radius: 50%;
        background: var(--ld-brand, #ff5a1f);
        box-shadow: 0 0 0 3px #fff;
    }

    .ld-notification-badge {
        position: absolute;
        top: 1px;
        right: -2px;
        min-width: 17px;
        height: 17px;
        padding: 0 4px;
        border-radius: 999px;
        background: var(--ld-brand, #ff5a1f);
        color: var(--ld-white, #fff);
        font-size: 10px;
        font-weight: 800;
        line-height: 17px;
        text-align: center;
        box-sizing: border-box;
    }

    .ld-notification-badge.ld-badge-hidden {
        display: none;
    }

    .ld-notification-panel {
        position: absolute;
        top: calc(100% + 10px);
        right: 0;
        width: 360px;
        max-width: calc(100vw - 24px);
        background: var(--ld-white, #fff);
        border: 1px solid #e5e7eb;
        border-radius: var(--ld-radius-md, 8px);
        box-shadow: 0 12px 35px rgba(20,28,36,.14);
        overflow: hidden;
        display: none;
        z-index: 1100;
    }

    .ld-notification-panel.open {
        display: block;
    }

    .ld-notification-header {
        padding: 14px 16px;
        border-bottom: 1px solid #eef0f2;
        font-size: 14px;
        font-weight: 800;
        color: #20242a;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
    }

    .ld-notification-header-count {
        color: var(--ld-brand, #ff5a1f);
        font-size: 11px;
        font-weight: 800;
    }

    .ld-notification-list {
        max-height: 330px;
        overflow-y: auto;
        overscroll-behavior: contain;
    }

    .ld-notification-item {
        position: relative;
        display: flex;
        align-items: flex-start;
        gap: 11px;
        padding: 13px 42px 13px 16px;
        border-bottom: 1px solid #f0f1f2;
        color: #30363d;
        text-decoration: none;
        background: var(--ld-white, #fff);
        transition: background .12s ease, box-shadow .12s ease;
        cursor: pointer;
    }

    .ld-notification-item:hover {
        background: #fafafa;
    }

    .ld-notification-item.unread {
        background: #fffaf7;
    }

    .ld-notification-item.unread strong {
        font-weight: 800;
    }

    .ld-notification-item.read strong {
        font-weight: 600;
    }

    .ld-notification-item.expanded {
        background: var(--ld-white, #fff);
        box-shadow: inset 3px 0 0 var(--ld-brand, #ff5a1f);
    }

    .ld-notification-message {
        display: -webkit-box !important;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        white-space: normal;
        word-break: break-word;
    }

    .ld-notification-item.expanded .ld-notification-message {
        display: block !important;
        -webkit-line-clamp: unset;
        overflow: visible;
        white-space: pre-wrap;
        max-height: 260px;
        overflow-y: auto;
        padding-right: 2px;
    }

    .ld-notification-delete {
        position: absolute;
        top: 10px;
        right: 9px;
        width: 27px;
        height: 27px;
        border: 0;
        border-radius: var(--ld-radius-sm, 6px);
        background: transparent;
        color: #a0a6ad;
        font-size: 18px;
        line-height: 27px;
        text-align: center;
        cursor: pointer;
        padding: 0;
    }

    .ld-notification-delete:hover {
        color: #d83b01;
        background: #fff0e9;
    }

    .ld-notification-actions {
        padding: 9px 12px;
        border-top: 1px solid #eef0f2;
        background: var(--ld-white, #fff);
    }

    .ld-mark-all-read {
        width: 100%;
        border: 0;
        border-radius: var(--ld-radius-md, 8px);
        background: #f6f7f8;
        color: #555d66;
        padding: 9px 10px;
        font-size: 12px;
        font-weight: 800;
        cursor: pointer;
    }

    .ld-mark-all-read:hover {
        background: #fff0e9;
        color: var(--ld-brand, #ff5a1f);
    }

    .ld-mark-all-read:disabled {
        opacity: .55;
        cursor: default;
    }

    .ld-notification-more {
        display: inline-block;
        margin-top: 5px;
        color: var(--ld-brand, #ff5a1f);
        font-size: 10px;
        font-weight: 800;
    }

    .ld-notification-item {
        display: flex;
        align-items: flex-start;
        gap: 11px;
        padding: 13px 16px;
        border-bottom: 1px solid #f0f1f2;
        color: #30363d;
        text-decoration: none;
        background: var(--ld-white, #fff);
        transition: background .12s ease;
    }

    .ld-notification-item:hover {
        background: #fafafa;
    }

    .ld-notification-item.unread {
        background: #fffaf7;
    }

    .ld-notification-item.unread:hover {
        background: #fff5ef;
    }

    .ld-notification-icon {
        flex: 0 0 30px;
        width: 30px;
        height: 30px;
        border-radius: var(--ld-radius-md, 8px);
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background: #f4f5f6;
        color: #9aa1a9;
        font-size: 14px;
        font-weight: 800;
    }

    .ld-notification-item.unread .ld-notification-icon {
        background: #fff0e9;
        color: var(--ld-brand, #ff5a1f);
    }

    .ld-notification-content {
        min-width: 0;
        flex: 1;
    }

    .ld-notification-item strong {
        display: block;
        margin-bottom: 4px;
        font-size: 13px;
        color: #30363d;
    }

    .ld-notification-item.unread strong {
        color: #20242a;
    }

    .ld-notification-item span {
        display: block;
        color: #7b838c;
        font-size: 12px;
        line-height: 1.45;
    }

    .ld-notification-time {
        margin-top: 5px;
        color: #a0a6ad !important;
        font-size: 10px !important;
    }

    .ld-notification-empty {
        padding: 28px 18px;
        text-align: center;
        color: #8b929a;
        font-size: 12px;
    }



    
    .ld-inbox-tabs{display:flex;gap:6px;padding:9px 12px;border-bottom:1px solid #eef0f2;background:var(--ld-white, #fff)}
    .ld-inbox-tab{flex:1;border:1px solid #e5e7eb;border-radius:var(--ld-radius-md, 8px);background:#f7f8fa;color:#475569;padding:9px 6px;font-weight:800;font-size:12px;cursor:pointer}
    .ld-inbox-tab[aria-selected="true"]{background:#fff0e9;border-color:#ffc9b0;color:#c44713}
    .ld-inbox-reports{max-height:330px;overflow-y:auto;overscroll-behavior:contain}
    .ld-inbox-reports[hidden],.ld-notification-list[hidden],.ld-notification-actions[hidden]{display:none!important}
    .ld-inbox-report{display:block;padding:12px 15px;border-bottom:1px solid #eef0f2;color:#24344b;text-decoration:none}
    .ld-inbox-report:hover{background:#fff7f1}
    .ld-inbox-report strong{font-size:13px;display:block;margin-bottom:5px}
    .ld-inbox-report small{color:#64748b;font-size:11px}
    .ld-inbox-report.unread{background:#fff9f4;border-left:3px solid var(--ld-brand, #ff5a1f)}
    .ld-inbox-report-count{display:inline-block;min-width:15px;margin-left:3px;color:#16834b;font-weight:850}
    .ld-inbox-report-count[hidden],.ld-inbox-reports-all[hidden]{display:none!important}
    .ld-inbox-report-new{color:#16834b;font:inherit}
    .ld-inbox-reports-all{display:block;padding:12px;text-align:center;color:#ea541e;font-weight:800;font-size:12px;text-decoration:none;border-top:1px solid #e5e7eb}
    @media(max-width:650px){.ld-inbox-reports{flex:1 1 auto;min-height:0;max-height:none;overflow-y:auto}.ld-inbox-tabs{flex:0 0 auto}}

    

    .ld-messages {
        position: relative;
        flex: 0 0 auto;
    }

    .ld-messages-button {
        position: relative;
        width: 38px;
        height: 38px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border: 0;
        background: transparent;
        color: #9aa1a9;
        border-radius: var(--ld-radius-md, 8px);
        cursor: pointer;
        padding: 0;
        transition: color .15s ease, background .15s ease;
    }

    .ld-messages-button:hover {
        color: var(--ld-brand, #ff5a1f);
        background: #fff4ef;
    }

    .ld-messages-button svg {
        width: 21px;
        height: 21px;
        stroke: currentColor;
        fill: none;
        stroke-width: 1.7;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

    .ld-messages.has-unread .ld-messages-button {
        color: var(--ld-brand, #ff5a1f);
    }

    .ld-message-badge {
        position: absolute;
        top: 1px;
        right: -2px;
        min-width: 17px;
        height: 17px;
        padding: 0 4px;
        border-radius: 999px;
        background: var(--ld-brand, #ff5a1f);
        color: var(--ld-white, #fff);
        font-size: 10px;
        font-weight: 800;
        line-height: 17px;
        text-align: center;
        box-sizing: border-box;
    }

    .ld-message-badge.ld-badge-hidden {
        display: none;
    }

    
    .ld-notifications.ld-indicator-pending .ld-notifications-button,
    .ld-messages.ld-indicator-pending .ld-messages-button {
        color: #9aa1a9 !important;
    }
    .ld-notifications.ld-indicator-pending .ld-notifications-button svg,
    .ld-messages.ld-indicator-pending .ld-messages-button svg {
        stroke-width: 1.7 !important;
        filter: none !important;
    }
    .ld-notifications.ld-indicator-pending .ld-notifications-button::after,
    .ld-notifications.ld-indicator-pending .ld-notification-badge,
    .ld-messages.ld-indicator-pending .ld-message-badge {
        display: none !important;
    }

    .ld-message-panel {
        position: absolute;
        top: calc(100% + 10px);
        right: 0;
        width: 390px;
        max-width: calc(100vw - 24px);
        background: var(--ld-white, #fff);
        border: 1px solid #e5e7eb;
        border-radius: var(--ld-radius-md, 8px);
        box-shadow: 0 12px 35px rgba(20,28,36,.14);
        overflow: hidden;
        display: none;
        z-index: 1100;
    }

    .ld-message-panel.open {
        display: block;
    }

    .ld-message-header {
        padding: 14px 16px;
        border-bottom: 1px solid #eef0f2;
        font-size: 14px;
        font-weight: 800;
        color: #20242a;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
    }

    .ld-message-header-count {
        color: var(--ld-brand, #ff5a1f);
        font-size: 11px;
        font-weight: 800;
    }

    .ld-message-list {
        max-height: 360px;
        overflow-y: auto;
    }

    .ld-message-empty {
        padding: 28px 18px;
        text-align: center;
        color: #8b929a;
        font-size: 12px;
    }

    .ld-message-item {
        position: relative;
        padding: 13px 16px;
        border-bottom: 1px solid #f0f1f2;
        background: var(--ld-white, #fff);
    }

    
    .ld-message-item {
        display: flex;
        align-items: flex-start;
        gap: 11px;
    }

    .ld-message-avatar {
        flex: 0 0 38px;
        width: 38px;
        height: 38px;
        border-radius: 50%;
        overflow: hidden;

        display: inline-flex;
        align-items: center;
        justify-content: center;

        background: linear-gradient(145deg, #17181a, #34373c);
        color: var(--ld-white, #fff);

        font-size: 14px;
        font-weight: 800;
        line-height: 1;

        box-shadow:
            inset 0 0 0 1px rgba(255,255,255,.08),
            0 2px 7px rgba(20,28,36,.10);
    }

    .ld-message-avatar img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .ld-message-copy {
        min-width: 0;
        flex: 1 1 auto;
    }

    .ld-message-item.unread {
        background: #fffaf7;
    }

    .ld-message-item.unread .ld-message-title {
        font-weight: 800;
        color: #20242a;
    }

    .ld-message-title {
        display: block;
        margin-bottom: 4px;
        font-size: 13px;
        font-weight: 600;
        color: #30363d;
    }

    .ld-message-preview {
        display: block;
        color: #7b838c;
        font-size: 12px;
        line-height: 1.45;
        max-height: 34px;
        overflow: hidden;
        word-break: break-word;
    }

    .ld-message-meta {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        margin-top: 7px;
    }

    .ld-message-time {
        color: #a0a6ad;
        font-size: 10px;
    }

    .ld-message-go {
        color: var(--ld-brand, #ff5a1f);
        text-decoration: none;
        font-size: 11px;
        font-weight: 800;
        white-space: nowrap;
    }

    .ld-message-go:hover {
        text-decoration: underline;
    }

    .ld-message-actions {
        padding: 9px 12px;
        border-top: 1px solid #eef0f2;
        background: var(--ld-white, #fff);
        display: grid;
        gap: 7px;
    }

    .ld-message-action {
        width: 100%;
        min-height: 36px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border: 0;
        border-radius: var(--ld-radius-md, 8px);
        background: #f6f7f8;
        color: #555d66;
        padding: 8px 10px;
        font-size: 12px;
        font-weight: 800;
        text-decoration: none;
        cursor: pointer;
        box-sizing: border-box;
    }

    .ld-message-action:hover {
        background: #fff0e9;
        color: var(--ld-brand, #ff5a1f);
    }

    .ld-message-action-primary {
        background: var(--ld-brand, #ff5a1f);
        color: var(--ld-white, #fff);
    }

    .ld-message-action-primary:hover {
        background: #e94d17;
        color: var(--ld-white, #fff);
    }

    

    .ld-add-button {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 40px;
        padding: 0 15px;
        border-radius: var(--ld-radius-md, 8px);
        background: var(--ld-brand, #ff5a1f);
        color: var(--ld-white, #fff);
        text-decoration: none;
        font-size: 13px;
        font-weight: 800;
    }

    .ld-add-button:hover {
        background: #e94d17;
    }

    html,
    body {
        font-family: Arial, Helvetica, sans-serif !important;
    }

    body {
        padding-top: 72px;
    }

    

    @media (max-width: 900px) {
        .ld-search {
            max-width: none;
        }
    }

    @media (max-width: 650px) {
        .ld-message-avatar {
            flex-basis: 34px;
            width: 34px;
            height: 34px;
            font-size: 13px;
        }

        .ld-header {
            height: 64px;
        }

        body {
            padding-top: 64px;
        }

        .ld-header-inner {
            width: calc(100% - 20px);
            gap: 10px;
        }

        .ld-logo {
            font-size: 21px;
        }

        
        .ld-logo:not(.ld-logo-ready) { visibility: hidden; }

        
        .ld-logo-full {
            display: inline;
        }

        .ld-logo-mobile {
            display: none;
        }

        .ld-logo.is-logged-in .ld-logo-full {
            display: none;
        }

        .ld-logo.is-logged-in .ld-logo-mobile {
            display: inline;
        }

        .ld-search {
            height: 38px;
        }

        .ld-search input {
            padding: 0 10px;
            font-size: 13px;
        }

        .ld-search button {
            width: 38px;
        }

        .ld-add-button {
            min-height: 38px;
            padding: 0 10px;
            font-size: 12px;
        }

        
        .ld-notification-panel,
        .ld-message-panel {
            position: fixed;
            top: 72px;
            left: 10px;
            right: 10px;
            width: auto;
            max-width: none;
            max-height: calc(100vh - 82px);
            max-height: calc(100dvh - 82px);
            box-sizing: border-box;
            z-index: 1200;
        }

        .ld-notification-list,
        .ld-message-list {
            max-height: calc(100vh - 210px);
            max-height: calc(100dvh - 210px);
            overflow-y: auto;
            overscroll-behavior: contain;
        }

        
        .ld-notification-panel.open,
        .ld-message-panel.open {
            display: flex;
            flex-direction: column;
            height: calc(100vh - 82px);
            height: calc(100dvh - 82px);
            max-height: none;
            overflow: hidden;
        }

        .ld-notification-header,
        .ld-notification-actions,
        .ld-message-header,
        .ld-message-actions {
            flex: 0 0 auto;
        }

        .ld-notification-list,
        .ld-message-list {
            flex: 1 1 auto;
            min-height: 0;
            max-height: none;
            overflow-y: auto;
        }
    }

    @media (max-width: 460px) {
        .ld-logo {
            font-size: 19px;
        }

        .ld-search {
            flex: 1 1 auto;
        }

        .ld-add-button {
            font-size: 0;
            width: 38px;
            padding: 0;
        }

        .ld-add-button::before {
            content: '+';
            font-size: 20px;
            line-height: 1;
        }
    }
