body.messages-open #map-experience{visibility:hidden;pointer-events:none}body.messages-open #map-experience dialog[open],body.messages-open #map-experience #toast{visibility:visible;pointer-events:auto}#messages-toggle{position:relative;display:flex;align-items:center;padding:0}#messages-toggle svg{width:19px;height:19px}#messages-toggle i{display:none;position:absolute;right:-4px;top:-3px;width:4px;height:4px;background:#57068c;border-radius:50%}#messages-toggle.has-unread i{display:block}#messages-view{position:fixed;inset:90px 0 0;z-index:9;display:grid;grid-template-columns:310px minmax(0,1fr);background:#f7f7f4;color:#111;overflow:hidden}#messages-view[hidden]{display:none}.chat-inbox{border-right:1px solid #deded6;display:flex;flex-direction:column;min-height:0}.inbox-heading{display:flex;justify-content:space-between;align-items:center;padding:31px 26px 25px}.inbox-heading h1{font-size:22px;letter-spacing:-.5px;margin:0;font-weight:400}.inbox-heading small{font-size:8px;color:#939389;letter-spacing:1px}.conversation-list{overflow:auto;flex:1}.conversation-row{display:flex;align-items:flex-start;text-align:left;gap:13px;padding:24px 23px;width:100%;border-top:1px solid #e5e5de;position:relative}.conversation-row.active{background:#edede6}.conversation-row.active:before{content:'';position:absolute;left:0;top:25px;bottom:25px;width:2px;background:#57068c}.chat-avatar{flex:0 0 30px;width:30px;height:30px;border:1px solid #c1c1b8;border-radius:50%;display:flex;align-items:center;justify-content:center;color:#737369;background:#e8e8e0;font-size:10px;letter-spacing:-.5px}.conversation-summary{min-width:0;flex:1}.conversation-summary strong{display:flex;align-items:center;gap:8px;font-size:12px;font-weight:400;margin-bottom:6px}.conversation-row.unread strong{font-weight:600}.conversation-row.unread strong i{width:4px;height:4px;border-radius:50%;background:#57068c}.conversation-summary small{display:block;font-size:9px;color:#85857b;line-height:1.4}.conversation-preview{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:12px;line-height:1.5;color:#55554f;margin-top:11px;overflow-wrap:anywhere}.conversation-row>time{font-size:9px;color:#99998e;position:absolute;right:22px;top:12px}.inbox-map{padding:19px 24px;text-align:left;border-top:1px solid #deded6;font-size:10px}.chat-thread{min-width:0;min-height:0;display:flex;flex-direction:column}.chat-person-header{display:flex;align-items:center;gap:14px;padding:25px 31px;border-bottom:1px solid #deded6}.chat-person-header h1{font-size:16px;letter-spacing:-.3px;font-weight:400;margin:0 0 7px}.chat-person-header p{font-size:10px;color:#89897f;margin:0}.chat-person-header>button[data-profile]{font-size:10px;margin-left:auto;white-space:nowrap;padding:0}.chat-menu{position:relative}.chat-menu summary{list-style:none;cursor:pointer;font-size:18px;padding:0 4px}.chat-menu summary::-webkit-details-marker{display:none}.chat-menu>div{position:absolute;z-index:3;top:28px;right:0;min-width:130px;background:#f7f7f4;border:1px solid #d5d5cb;padding:10px}.chat-menu button{display:block;width:100%;text-align:left;padding:9px;font-size:11px}.chat-scroll{flex:1;overflow:auto;padding:25px 32px 30px;min-height:0;overscroll-behavior:contain}.chat-context{border-left:1px solid #bfbfb4;padding:2px 0 3px 17px;margin:0 0 30px;max-width:480px}.chat-context>small{font-size:8px;letter-spacing:1.2px;color:#8c8c80}.chat-context p{font-size:12px;line-height:1.5;margin:12px 0}.chat-context .context-person{font-size:10px;color:#7a7a70;margin-bottom:8px}.chat-context blockquote{font-size:16px;line-height:1.45;margin:0 0 12px}.chat-context>div{display:flex;align-items:center;gap:25px}.chat-context time{font-size:9px;color:#949489}.chat-context button{font-size:9px;padding:0;color:#55554d}.chat-context h2{font-size:19px;letter-spacing:-.4px;font-weight:400;margin:12px 0 8px}.chat-messages{display:flex;flex-direction:column;gap:9px}.chat-message{max-width:84%;align-self:flex-start}.chat-message small{display:block;font-size:9px;color:#85857a;margin:9px 0 7px}.chat-message small time{margin-left:10px;color:#a0a095}.chat-message p{font-size:14px;line-height:1.55;margin:0;white-space:pre-wrap;overflow-wrap:anywhere}.chat-message.outgoing{align-self:flex-end;text-align:right}.chat-message.outgoing p{text-align:left;background:#eeeee7;padding:10px 13px}.chat-compose{padding:20px 31px 16px;border-top:1px solid #deded6}.chat-compose textarea{display:block;width:100%;border:0;background:transparent;font:14px/1.5 Arial;color:#111;resize:none;min-height:48px;max-height:160px;padding:0}.chat-compose textarea::placeholder{color:#97978b}.chat-compose>div{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-top:15px}.chat-compose small{font-size:8px;color:#99998e}.chat-compose [type=submit]{font-size:12px;color:#57068c;white-space:nowrap}.chat-compose [type=submit]:disabled{color:#aaa99f;cursor:default}.chat-storage-error{font-size:10px;color:#57068c;margin:7px 0 0}.chat-storage-error:empty{display:none}.chat-empty{margin:auto;padding:35px;color:#8a8a7e;max-width:380px}.chat-empty h2{font-size:20px;font-weight:400;color:#55554e;letter-spacing:-.4px}.chat-empty p{font-size:13px;line-height:1.6}.chat-empty button{font-size:11px;padding:16px 0}.chat-start{font-size:12px;line-height:1.6;color:#949487;margin:20px 0}.inbox-empty{padding:25px;font-size:13px;line-height:1.6}.inbox-empty button{font-size:11px;padding:0;text-align:left}.mobile-inbox-back{display:none}.messages-missing{padding:40px}.messages-missing h1{font-size:25px;font-weight:400}.messages-missing button{font-size:12px}.chat-project-placeholder{grid-column:1/-1;width:min(720px,100%);padding:35px 40px;margin:auto;max-height:100%;overflow:auto}.chat-project-placeholder>button{display:block;font-size:11px;padding:0;margin-bottom:35px}.chat-project-placeholder>small{font-size:9px;color:#999;letter-spacing:1px}.chat-project-placeholder h1{font-size:34px;letter-spacing:-1px;font-weight:400;margin:20px 0}.chat-project-placeholder p{font-size:16px;line-height:1.5}.chat-project-placeholder img{width:100%;display:block;margin:25px 0 15px}.chat-project-placeholder>span{font-size:10px;color:#888}.chat-project-placeholder .project-placeholder-note{font-size:11px;color:#999}
@media(max-width:1000px){#messages-view{grid-template-columns:260px minmax(0,1fr)}.conversation-row{padding:24px 18px;gap:10px}.chat-person-header{padding:22px 21px;gap:11px}.chat-person-header>.chat-avatar{display:none}.chat-person-header>button[data-profile]{font-size:9px}.chat-scroll{padding:25px 22px}.chat-compose{padding:19px 22px}.chat-message{max-width:92%}}
@media(max-width:800px){#messages-view{top:72px}}
@media(max-width:699px){.header-right{gap:17px}#messages-toggle svg{width:17px;height:17px}#messages-view{display:block}.chat-inbox{height:100%;border:0}.chat-thread{display:none;height:100%}#messages-view.chat-selected .chat-inbox{display:none}#messages-view.chat-selected .chat-thread{display:flex}.inbox-heading{padding:28px 23px}.conversation-row{padding:24px;gap:16px}.conversation-row>time{right:24px;top:20px}.conversation-summary strong{font-size:14px}.conversation-summary small{font-size:10px}.conversation-preview{font-size:13px;max-width:260px}.mobile-inbox-back{display:block;padding:0;font-size:18px;margin-right:4px}.chat-person-header{padding:20px 18px;gap:11px}.chat-person-header h1{font-size:15px}.chat-person-header p{font-size:9px}.chat-person-header>button[data-profile]{font-size:9px}.chat-scroll{padding:23px 22px}.chat-compose{padding:18px 22px max(17px,env(safe-area-inset-bottom))}.chat-compose small{max-width:230px;line-height:1.5}.chat-context blockquote{font-size:16px}.chat-message{max-width:90%}.chat-project-placeholder{padding:26px 22px;margin:0}.chat-project-placeholder h1{font-size:28px}}
