.dm-compact{--dm-ink:#143e30;--dm-line:#e0e7df;--dm-muted:#708078;color:var(--dm-ink);min-width:0}.dm-compact .sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.dm-compact .dm-page-title{display:flex;align-items:center;gap:24px;margin:0 0 18px}.dm-compact .dm-page-title h1{font-size:25px;line-height:1.25;margin:0}.dm-compact .dm-page-title>span{display:flex;gap:8px;align-items:center;color:var(--dm-muted);font-size:12px}.dm-compact .dm-page-title svg{width:15px;height:15px}.dm-compact .dm-layout{display:grid;grid-template-columns:minmax(250px,30%) minmax(0,1fr);gap:0;border:1px solid var(--dm-line);border-radius:20px;background:#fff;box-shadow:0 10px 36px #183d2b07;overflow:hidden;min-width:0}.dm-compact .card{margin:0;border:0;border-radius:0;box-shadow:none}.dm-compact .dm-directory{padding:0;border-right:1px solid var(--dm-line);align-self:stretch;display:flex;flex-direction:column;min-height:0;min-width:0}.dm-compact .dm-directory-top{padding:20px 20px 12px;display:flex;align-items:center;justify-content:space-between}.dm-compact .dm-directory-top h2{font-size:18px;margin:0}.dm-compact .dm-directory-top>svg{color:#5b7862;width:20px}.dm-compact .dm-search{position:relative;margin:0 18px 12px}.dm-compact .dm-search>svg{position:absolute;left:12px;top:13px;width:17px;height:17px;color:#839087;pointer-events:none}.dm-compact .dm-search input{width:100%;min-height:44px;margin:0;padding:10px 10px 10px 38px;font-size:12px;border:1px solid var(--dm-line);border-radius:10px;background:#f8faf7}.dm-compact .dm-filters{display:flex;gap:6px;padding:0 18px 12px;border-bottom:1px solid var(--dm-line)}.dm-compact .dm-filters button{border:0;background:none;padding:7px 14px;font-size:12px;font-weight:650;color:#718177;border-radius:8px;cursor:pointer}.dm-compact .dm-filters button.active{color:#264f30;background:#e7f2d6}.dm-compact #dm-directory{overflow:auto;min-height:0;flex:1;scrollbar-width:thin}.dm-compact .dm-contact{display:flex;align-items:flex-start;gap:11px;padding:16px 18px;border:0;border-bottom:1px solid #edf0eb;border-radius:0;position:relative;min-width:0}.dm-compact .dm-contact.selected{background:linear-gradient(110deg,#edf6e1,#f6f9ee);box-shadow:inset 3px 0 #2f7951}.dm-compact .dm-contact:hover{background:#f3f7ec}.dm-compact .dm-avatar{width:40px;height:40px;flex:0 0 40px;display:grid;place-items:center;font-weight:800;font-size:15px;background:linear-gradient(140deg,#e2edcf,#f2f5e9);border:1px solid #dde8d1;border-radius:50%;color:#34563b}.dm-compact .dm-contact-copy{flex:1;min-width:0}.dm-compact .dm-person{min-width:0;gap:4px}.dm-compact .dm-person>b{font-size:13px;line-height:1.4;overflow-wrap:anywhere}.dm-compact .dm-person>small{font-size:10px;line-height:1.5;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dm-compact .dm-person>small img{vertical-align:middle;width:17px;max-height:12px}.dm-compact .dm-preview{max-width:none;font-size:11px;margin-top:4px;line-height:1.5;color:#829087}.dm-compact .is-unread .dm-preview,.dm-compact .is-unread .dm-person>b{color:#1c4f35;font-weight:750}.dm-compact .dm-contact-meta{display:flex;flex-direction:column;align-items:flex-end;gap:9px;flex:0 0 auto;font-size:10px;color:#7c8c80;padding-top:2px}.dm-compact .dm-count{font-size:11px;line-height:20px;min-width:20px;text-align:center;padding:0 5px;background:#c8f767;color:#1d472d}.dm-compact .dm-directory-private{display:flex;align-items:center;gap:8px;padding:12px 18px;color:#8b978e;font-size:10px;border-top:1px solid #edf0eb}.dm-compact .dm-directory-private svg{width:14px;height:14px}.dm-compact .dm-directory-empty{padding:18px;font-size:12px;line-height:1.7;color:var(--dm-muted);margin:0}.dm-compact .dm-results-label{font-size:10px;color:#83917f;text-transform:uppercase;letter-spacing:.8px;padding:12px 18px 4px}.dm-compact .dm-thread{display:flex;flex-direction:column;min-width:0;min-height:0;padding:0}.dm-compact .dm-header{flex:0 0 auto;display:flex;gap:12px;align-items:center;padding:16px 22px;border-bottom:1px solid var(--dm-line);background:#fff;flex-wrap:nowrap}.dm-compact .dm-header-person{flex:1;min-width:0}.dm-compact .dm-header-person b{font-size:16px;line-height:1.4;overflow-wrap:anywhere}.dm-compact .dm-header-person small{font-size:11px;line-height:1.5;margin-top:3px}.dm-compact .dm-header-person small img{width:18px;max-height:13px;vertical-align:middle}.dm-compact .dm-profile-link{padding:9px 13px;border:1px solid var(--dm-line);border-radius:10px;font-size:11px;white-space:nowrap;font-weight:700}.dm-compact .dm-back{display:none}.dm-compact .dm-older{flex:0 0 auto;font-size:11px;padding:6px;margin:0;background:#f9fbf5;min-height:30px}.dm-compact .dm-older[hidden]{display:none}.dm-compact .dm-messages{flex:1;min-height:0;height:auto;overflow:auto;padding:16px 22px;gap:10px;background:radial-gradient(ellipse at top left,#f7f9f4,#fafbf8);scrollbar-width:thin;scrollbar-gutter:stable}.dm-compact .dm-day{display:flex;align-items:center;gap:12px;color:#88948a;font-size:10px;width:100%;flex-shrink:0;margin:5px 0 10px}.dm-compact .dm-day:before,.dm-compact .dm-day:after{content:'';height:1px;background:#e1e8db;flex:1}.dm-compact .dm-day>span{border:1px solid #e4e9df;border-radius:20px;padding:4px 10px;background:#fff;white-space:nowrap}.dm-compact .dm-bubble{max-width:84%;padding:10px 14px;border:1px solid #e2e8dd;border-radius:15px 15px 15px 4px;box-shadow:0 2px 4px #22392002;font-size:13px;line-height:1.6}.dm-compact .dm-bubble.mine{border-color:#e0eacb;background:linear-gradient(120deg,#edf6db,#e8f2d4);border-radius:15px 15px 4px 15px}.dm-compact .dm-bubble p{margin:0;white-space:pre-wrap;overflow-wrap:anywhere}.dm-compact .dm-bubble-meta{display:flex;justify-content:flex-end;align-items:center;gap:7px;color:#8b9787;font-size:10px;line-height:1.3;margin-top:4px}.dm-compact .dm-receipt{color:#7a8d72;font-size:12px;letter-spacing:-3px;margin-right:3px}.dm-compact .dm-receipt.read{color:#2e7851}.dm-compact .dm-translation:empty{display:none}.dm-compact .dm-translation{margin-top:6px;padding-top:3px;border-color:#dce6d3}.dm-compact .dm-translation .text-button{font-size:10px}.dm-compact .dm-thread form{padding:12px 18px 10px;border-top:1px solid var(--dm-line);flex:0 0 auto;background:#fff}.dm-compact .dm-compose-row{display:flex;align-items:flex-end;gap:10px}.dm-compact .dm-thread textarea{display:block;flex:1;width:0;min-width:0;min-height:44px;height:44px;max-height:120px;overflow:auto;margin:0;border-radius:12px;resize:none;padding:11px 14px;font-size:13px;line-height:20px;background:#fafbf8;border:1px solid #dce5d6}.dm-compact .dm-send{display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;min-height:44px;min-width:44px;padding:0;border-radius:50%;background:#164a36}.dm-compact .dm-send svg{width:20px;height:20px}.dm-compact .dm-compose-foot{display:flex;justify-content:space-between;gap:8px;margin-top:6px}.dm-compact .dm-compose-foot small{font-size:10px;color:#8c998d;max-width:none}.dm-compact .dm-welcome{max-width:400px;padding:30px;margin:auto;color:#7c8d7c}.dm-compact .dm-welcome>span{display:grid;place-items:center;width:68px;height:68px;border-radius:22px;background:#edf5df;color:#719746;margin:auto}.dm-compact .dm-welcome svg{width:32px;height:32px}.dm-compact .dm-welcome h2{font-size:20px;color:#284f39;margin-top:20px}.dm-compact .dm-welcome p{font-size:13px;line-height:1.8}.dm-compact a:focus-visible,.dm-compact button:focus-visible{outline:2px solid #83ad3e;outline-offset:-2px}.mail-section-nav a[href="#messages"]{display:inline-flex;align-items:center;gap:8px}.public-manager-hero>a[href^="#messages/"]{display:inline-flex;align-items:center;gap:8px}
@media(max-width:1100px){.dm-compact .dm-layout{grid-template-columns:260px minmax(0,1fr)}.dm-compact .dm-person>small span{display:none}.dm-compact .dm-contact{padding:14px 12px;gap:8px}.dm-compact .dm-avatar{width:34px;height:34px;flex-basis:34px;font-size:12px}.dm-compact .dm-profile-link{font-size:10px;padding:8px}.dm-compact .dm-header{padding:12px 16px}}
@media(max-width:760px){.dm-compact .dm-page-title{gap:8px;margin-bottom:12px;align-items:flex-start;flex-direction:column}.dm-compact .dm-page-title h1{font-size:22px}.dm-compact .dm-page-title>span{font-size:10px}.dm-compact .dm-layout{grid-template-columns:1fr;border-radius:15px;}.dm-compact .dm-directory{border:0}.dm-compact.has-peer .dm-directory,.dm-compact:not(.has-peer) .dm-thread{display:none}.dm-compact .dm-header{gap:8px;padding:12px}.dm-compact .dm-header-person b{font-size:13px}.dm-compact .dm-header-person small{font-size:10px}.dm-compact .dm-back{display:grid;place-items:center;width:24px;flex:0 0 24px}.dm-compact .dm-profile-link{font-size:10px;max-width:82px;white-space:normal;text-align:center}.dm-compact .dm-messages{padding:10px 12px}.dm-compact .dm-bubble{max-width:92%;font-size:13px;padding:9px 12px}.dm-compact .dm-thread form{padding:10px 12px}.dm-compact .dm-thread textarea{font-size:16px}.dm-compact .dm-compose-foot small{font-size:9px}.dm-compact .dm-directory-private{padding:10px 16px}.dm-compact .dm-contact{padding:15px 18px}.dm-compact .dm-person>small span{display:inline}}

.dm-compact .dm-translation button.text-button{min-height:0;height:auto;margin:0;border:0;padding:2px 0;line-height:1.4;background:none}.dm-compact .dm-translation-text small{font-size:10px}

.workspace:has(#content > .dm-compact) {
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    height: var(--dm-visible-height, 100dvh);
    padding-bottom: var(--dm-dock-height, 0px);
}

.workspace:has(#content > .dm-compact) > :is(.topbar, .wallet-strip, .locale-preview, #generation-notice) {
    flex-shrink: 0;
}

.workspace:has(#content > .dm-compact) > footer,
body:has(#content > .dm-compact) .live-chat-launcher[aria-expanded="false"] {
    display: none;
}

.workspace #content:has(> .dm-compact) {
    display: flex;
    flex: 1;
    flex-direction: column;
    min-height: 0;
    box-sizing: border-box;
    max-width: none;
    width: 100%;
    margin: 0;
    padding-top: 14px;
    padding-bottom: 14px;
}

.dm-compact {
    display: flex;
    flex: 1;
    flex-direction: column;
    min-height: 0;
}

.dm-compact .dm-page-title {
    flex-shrink: 0;
    margin-bottom: 10px;
}

.dm-compact .dm-layout {
    flex: 1;
    min-height: 0;
    grid-template-rows: minmax(0, 1fr);
}

.dm-compact :is(.dm-messages, #dm-directory) {
    overscroll-behavior: contain;
}

.workspace:has(#content > .dm-compact) #generation-notice {
    align-items: center;
    margin-top: 8px;
    padding-block: 8px;
}

.workspace:has(#content > .dm-compact) #generation-notice :is(.gn-message, .gn-warning) {
    display: none;
}

.workspace:has(#content > .dm-compact) #generation-notice .gn-track {
    margin-top: 4px;
}

@media (max-width: 760px) {
    .workspace:has(#content > .dm-compact) > :is(.wallet-strip, .locale-preview) {
        display: none;
    }

    .workspace #content:has(> .dm-compact) {
        padding: 8px 10px;
    }

    .dm-compact .dm-page-title {
        flex-direction: row;
        align-items: baseline;
        flex-wrap: wrap;
        margin-bottom: 7px;
    }

    .dm-compact.has-peer .dm-page-title {
        display: none;
    }
}

.workspace.dm-keyboard:has(#content > .dm-compact) > :is(.topbar, .wallet-strip, .locale-preview, #generation-notice),
body:has(.workspace.dm-keyboard #content > .dm-compact) .interface-mobile-dock {
    display: none;
}
