.p59-sheet,.p59-thread{--msg-surface:var(--surface,#fff);--msg-ink:var(--ink,#14332e);--msg-line:var(--line,#d7e4df);color:var(--msg-ink);background:var(--msg-surface);font:inherit}
html[data-theme=dark] :is(.p59-sheet,.p59-thread){--msg-surface:#17272c;--msg-ink:#edf5f0;--msg-line:#395157}
.p59-sheet{width:min(26rem,calc(100vw - 2rem));max-height:85dvh;overflow:auto;border:1px solid var(--msg-line);padding:1.2rem;border-radius:20px;box-shadow:0 18px 70px #0004}
.p59-sheet::backdrop{background:#0a2027a3}
.p59-sheet header,.p59-thread header,.p59-actions,.p59-compose{display:flex;align-items:center;gap:.6rem}
.p59-sheet h2{margin:0;font-size:1.2rem;color:inherit}.p59-sheet header{justify-content:space-between;margin-bottom:1rem}
.p59-sheet button,.p59-thread button,.p59-contact-name{color:inherit;font:inherit;cursor:pointer}
.p59-sheet button,.p59-thread button{background:transparent;border:1px solid var(--msg-line);border-radius:.7rem;padding:.45rem .7rem}
.p59-sheet button:disabled,.p59-thread button:disabled{opacity:.5;cursor:default}
.p59-choice{display:block;width:100%;text-align:left;margin:.5rem 0}.p59-sheet form{display:grid;gap:.6rem}
.p59-sheet input,.p59-compose textarea{font:inherit;color:inherit;border:1px solid var(--msg-line);background:var(--msg-surface);border-radius:.65rem;padding:.65rem;min-width:0}
.p59-people{max-height:32vh;overflow:auto;display:grid;gap:.2rem}.p59-people button{text-align:left}.p59-picked{display:flex;flex-wrap:wrap;gap:.25rem}.p59-picked button{font-size:.82rem}
.p59-sheet .p59-primary,.p59-thread .p59-primary{background:#076850;color:white;font-weight:650}
.p59-new{min-width:2.5rem;min-height:2.5rem;border:0;border-radius:50%;font-size:1.6rem;cursor:pointer;color:inherit;background:transparent}
.p59-contact-name{border:0;background:transparent;text-align:left;padding:0;font-weight:700}.p59-contact-name:hover{text-decoration:underline}.p59-identity{flex:1;min-width:0}.c45-contact-row .p59-identity .c45-contact{width:100%;padding:.18rem 0;text-align:left;min-height:1.75rem}
.p59-portrait{aspect-ratio:1;border-radius:.85rem;background:#dcece5;color:#14523d;display:grid;place-items:center;overflow:hidden;font-size:4rem}.p59-portrait img{width:100%;height:100%;object-fit:contain}
.p59-actions{justify-content:space-between;margin-top:1rem}.p59-actions button{flex:1;display:grid;justify-items:center;gap:.35rem;border:0;font-size:.8rem;padding:.3rem}.p59-actions svg{color:#139570}
.p59-thread{height:100%;min-height:0;width:100%;display:flex;flex-direction:column}.p59-thread header{padding:.55rem .8rem;border-bottom:1px solid var(--msg-line)}.p59-thread header div{flex:1;min-width:0}.p59-thread header small{display:block}.p59-log{overflow:auto;min-height:0;flex:1;padding:.8rem;display:flex;flex-direction:column;align-items:flex-start;gap:.5rem}.p59-log article{max-width:85%;background:#f1f5f2;border-radius:.8rem;padding:.5rem .65rem;color:#14352e;overflow-wrap:anywhere}.p59-log .is-own{align-self:flex-end;background:#dbf5d5}.p59-log article p{margin:.12rem 0;white-space:pre-wrap}.p59-log time,.p59-log strong{font-size:.78rem}.p59-log time{display:block;text-align:right}.p59-compose{padding:.6rem;border-top:1px solid var(--msg-line)}.p59-compose textarea{flex:1}.p59-status{font-size:.9rem;padding:0 .65rem}.p59-status:empty{display:none}.p59-sheet [hidden],.p59-thread [hidden]{display:none!important}
.p55-photo-previews>div{display:grid;gap:.25rem}.p55-photo-previews button{font:inherit;cursor:pointer}.p55-contribution-card .p59-camera{margin-top:.5rem}
@media(max-width:600px){.p59-sheet{padding:1rem}.p59-actions{gap:.15rem}.p59-compose{padding-bottom:max(.6rem,env(safe-area-inset-bottom))}}

.p59-sheet>input[type=search]{width:100%;box-sizing:border-box}.p59-recipients{max-height:55dvh;overflow:auto}.p59-recipients h3{color:inherit;font-size:.87rem;margin:1rem 0 .3rem}.p59-recipient{display:block;width:100%;text-align:left;margin:.2rem 0}.p59-recipient strong,.p59-recipient small{display:block}.p59-recipient small{margin-top:.18rem}.p59-location{align-self:flex-start;margin:.25rem .7rem;border:0;background:transparent;color:inherit;font:inherit;text-decoration:underline;cursor:pointer}

.c45-sidebar{position:relative}.c45-app .c45-contact-list{padding-bottom:calc(7.7rem + env(safe-area-inset-bottom,0px))}.p60-shortcuts{position:absolute;z-index:3;inset-inline-end:12px;bottom:max(12px,env(safe-area-inset-bottom));display:grid;gap:8px;justify-items:end;pointer-events:none}.p60-shortcuts button{pointer-events:auto;display:grid;place-items:center;box-sizing:border-box;width:44px;height:44px;padding:0;border:0;border-radius:13px;cursor:pointer;box-shadow:0 3px 12px #092d2a38}.p60-shortcuts .p60-ask{background:#075c4d}.p60-ask img{width:100%;height:100%;border-radius:inherit}.p60-new{background:#087858;color:white}.p60-new svg{width:25px;height:25px}.p60-shortcuts button:focus-visible{outline:3px solid #e8a824;outline-offset:2px}.is-minimized .p60-shortcuts,.m53-profile-active .p60-shortcuts{display:none}
@media(min-width:761px){.c45-embedded.is-list .c45-frame-body{position:relative}.c45-embedded.is-list .c45-sidebar{position:static}}
.c45-app .p60-row-meta{align-self:flex-start;display:grid;justify-items:end;gap:4px;flex:0 0 auto;max-width:6rem;padding:.38rem .24rem 0 0}.c45-app .p60-presence{margin:0;white-space:nowrap;color:var(--muted,#536b67);font:500 .7rem/1.3 system-ui}.c45-app .p60-presence.is-online{color:#137451}.c45-app .p60-presence[hidden]{display:none}.c45-app .p60-row-meta .c45-unread{margin:0}.c45-app .c45-contact-row{align-items:center}.p59-identity .p59-contact-name{max-width:100%;display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.c45-app .m53-menu-holder .m53-menu{box-sizing:border-box;width:max-content;min-width:min(13.8rem,calc(100vw - 2rem));max-width:min(19rem,calc(100vw - 2rem));padding:5px;overflow-x:hidden;overscroll-behavior:contain;z-index:15}.c45-app .m53-menu .m53-menu-item{display:flex!important;align-items:center!important;justify-content:flex-start!important;box-sizing:border-box;width:100%!important;height:auto!important;min-height:40px!important;min-width:0!important;margin:0!important;padding:9px 12px!important;white-space:normal;overflow-wrap:normal;text-align:start!important;line-height:1.35!important}.c45-app .m53-menu form{display:block;width:100%;margin:0}.p59-actions{gap:8px}.p59-actions button{display:grid;place-items:center;min-height:44px;margin:0}.p59-actions svg{width:22px;height:22px}
.p59-sheet .p60-directory{display:grid;gap:8px}.p59-sheet .p60-directory input,.p59-sheet select{box-sizing:border-box;width:100%}.p59-sheet select{display:block;margin-top:.35rem;padding:.6rem;color:inherit;font:inherit;background:var(--msg-surface);border:1px solid var(--msg-line);border-radius:10px}.p59-sheet h3{font-size:.95rem;margin:.35rem 0}.p60-hint,.p60-category{color:var(--muted,#5b7270)}.p60-group-info{display:grid;gap:10px}.p60-group-info p{margin:0}.p60-group-tabs{display:flex;gap:5px;flex-wrap:wrap}.p60-group-rows{max-height:42dvh;overflow:auto}.p60-group-row{display:flex;align-items:center;gap:6px;padding:8px 0;border-bottom:1px solid var(--msg-line)}.p60-group-row>div{flex:1;min-width:0;overflow-wrap:anywhere}.p60-group-row small,.p60-group-row strong{display:block}.p60-group-row button{font-size:.85rem}.p59-sheet .p60-leave{color:#aa4145;justify-self:start}.p60-assets{display:grid;gap:.4rem;margin-block:.3rem}.p60-assets a{color:#075b47;text-decoration:underline}.p60-group-files{display:flex;align-items:center;gap:.45rem;flex-wrap:wrap;padding:.35rem .65rem;border-top:1px solid var(--msg-line)}.p60-group-files label{display:flex;align-items:center;gap:.25rem}.p60-group-files input[type=number]{width:8rem;max-width:100%;padding:.35rem;background:var(--msg-surface);color:inherit;border:1px solid var(--msg-line);border-radius:6px}.p60-picked-files{font-size:.8rem;overflow-wrap:anywhere}.p60-more{min-height:36px;cursor:pointer}.p59-sheet :focus-visible,.p59-thread :focus-visible{outline:2px solid #118d6c;outline-offset:2px}html[data-theme=dark] .p60-presence.is-online{color:#79deb4}
