.otto-chat{--chat-purple:#4b20b8;--chat-ink:#282336;--chat-muted:#7a7487;--chat-line:#e6e0ee;color:var(--chat-ink);font-family:inherit;width:100%;min-width:0}.otto-chat *{box-sizing:border-box}.otto-chat [hidden]{display:none!important}.otto-chat button,.otto-chat input,.otto-chat textarea,.otto-chat select{font:inherit}.otto-chat button{cursor:pointer}.otto-chat button:disabled{cursor:default;opacity:.55}.otto-chat button:focus-visible,.otto-chat input:focus-visible,.otto-chat textarea:focus-visible,.otto-chat select:focus-visible{outline:3px solid #cabbed;outline-offset:2px}.chat-top{display:flex;align-items:center;gap:24px;padding:8px 0 18px}.chat-brand{display:flex;align-items:center;gap:12px;margin-right:auto}.chat-brand h2{font-size:30px;line-height:1;margin:0 0 6px;font-weight:850;letter-spacing:-1px}.chat-brand p{margin:0;color:var(--chat-muted);font-size:12px}.chat-otto-mark{display:grid;place-items:center;width:46px;height:46px;background:#f1ecfb;border-radius:16px;color:var(--chat-purple);font-size:30px}.chat-sections{display:flex;gap:8px}.chat-sections button,.chat-refresh{border:0;background:transparent;color:var(--chat-ink);border-radius:20px;padding:10px 16px;font-size:13px;font-weight:750}.chat-sections .selected{background:var(--chat-purple);color:white}.chat-refresh{border:1px solid var(--chat-line);background:white}.chat-status{font-size:12px;min-height:18px;color:var(--chat-muted);margin:0 0 12px}.chat-status[data-error=true]{color:#a42637}.chat-layout{display:grid;grid-template-columns:260px minmax(300px,1fr) 265px;height:min(740px,calc(100vh - 250px));min-height:510px;background:white;border:1px solid var(--chat-line);border-radius:20px;overflow:hidden;box-shadow:0 8px 28px #33205005}.chat-sidebar{padding:18px 12px;overflow:auto;border-right:1px solid var(--chat-line)}.chat-audience{display:flex;gap:4px;background:#f8f6fc;border-radius:9px;padding:3px;margin-bottom:14px}.chat-audience button{flex:1;border:0;background:transparent;border-radius:7px;padding:8px 5px;font-size:12px;font-weight:750}.chat-audience button.selected{background:var(--chat-purple);color:white}.chat-audience small{display:block;font-size:9px;white-space:nowrap}.chat-search{display:block!important;margin:0 0 12px!important}.chat-search input{width:100%;min-width:0;border:1px solid var(--chat-line);border-radius:9px;padding:10px;font-size:12px;background:#fff}.chat-new{width:100%;border:1px solid #d7cbe9;background:#faf7ff;color:var(--chat-purple);font-weight:750;font-size:12px;padding:10px;border-radius:9px;margin-bottom:12px}.chat-start{padding:10px;border:1px solid var(--chat-line);border-radius:10px;margin-bottom:14px;display:grid;gap:10px;background:#fbfaff}.chat-start label{font-size:11px}.chat-start select{width:100%;font-size:12px;margin-top:5px;padding:8px;border:1px solid var(--chat-line);border-radius:6px}.chat-start button{border:0;background:var(--chat-purple);color:#fff;padding:9px;border-radius:7px;font-size:12px}.chat-conversation{display:flex;align-items:center;gap:9px;width:100%;text-align:left;border:0;background:transparent;border-radius:11px;padding:13px 9px;margin:3px 0;color:var(--chat-ink)}.chat-conversation.selected{background:#f0eafa}.chat-avatar{display:grid;place-items:center;flex:0 0 34px;width:34px;height:34px;border-radius:12px;background:#eae5f6;color:var(--chat-purple);font-weight:800}.chat-conversation-copy{min-width:0;flex:1}.chat-conversation strong{display:block;font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chat-conversation small{display:block;margin-top:5px;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--chat-muted)}.chat-count{background:var(--chat-purple);color:white;min-width:20px;height:20px;display:grid;place-items:center;border-radius:20px;font-size:10px;padding:0 4px}.chat-main{min-width:0;display:flex;flex-direction:column;height:100%;overflow:hidden}.chat-thread-head{display:flex;align-items:center;gap:12px;padding:20px 24px;border-bottom:1px solid var(--chat-line);min-height:84px}.chat-thread-head h3{font-size:16px;margin:0 0 6px}.chat-thread-head p{font-size:11px;color:var(--chat-muted);margin:0}.chat-back{display:none}.chat-history{flex:1;min-height:0;overflow:auto;padding:22px 24px;overscroll-behavior:auto}.chat-message{width:fit-content;max-width:85%;margin:0 0 22px}.chat-message.mine{margin-left:auto}.chat-message-meta{display:flex;align-items:baseline;gap:12px;margin-bottom:7px;font-size:10px}.chat-message-meta time{font-size:9px;color:var(--chat-muted)}.chat-bubble{border:1px solid #ebe6f2;border-radius:3px 15px 15px;padding:12px 15px;background:#f8f7fb}.mine .chat-bubble{background:#eee7fa;border-color:#e7dcf7;border-radius:15px 3px 15px 15px}.chat-bubble p{white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px;line-height:1.6;margin:0}.chat-bubble img{display:block;max-width:100%;max-height:260px;object-fit:contain;border-radius:8px;margin-top:6px}.chat-delivery{display:block;text-align:right;color:var(--chat-muted);font-size:9px;margin-top:5px}.chat-composer{padding:14px 20px 18px;border-top:1px solid var(--chat-line);background:white}.chat-composer textarea{width:100%;min-height:66px;max-height:140px;resize:vertical;padding:12px;border:1px solid var(--chat-line);border-radius:11px;color:var(--chat-ink);font-size:13px;background:white}.chat-compose-actions{display:flex;align-items:center;gap:12px;margin-top:9px}.chat-compose-actions>span{font-size:10px;color:var(--chat-muted);flex:1}.chat-compose-actions button{background:var(--chat-purple);color:white;border:0;border-radius:10px;padding:11px 19px;font-weight:750;font-size:13px}.chat-attach{position:relative;overflow:hidden;display:inline-block!important;margin:0!important;flex:0 0 auto;color:var(--chat-purple);font-size:12px!important;cursor:pointer;padding:9px 4px}.chat-attach input{position:absolute;inset:0;width:100%;opacity:0;cursor:pointer}.chat-photo-preview{display:flex;align-items:center;gap:12px;margin-bottom:8px}.chat-photo-preview img{width:55px;height:50px;object-fit:cover;border-radius:7px}.chat-photo-preview button{border:0;background:#f1ebfa;color:var(--chat-purple);border-radius:8px;padding:8px;font-size:11px}.chat-details{padding:24px 20px;overflow:auto;border-left:1px solid var(--chat-line);font-size:12px;color:var(--chat-muted);line-height:1.6}.chat-details h3{font-size:15px;color:var(--chat-ink);margin:0 0 20px}.chat-details h4{font-size:12px;color:var(--chat-ink);margin:20px 0 10px}.chat-private{display:inline-block;background:#f1ebfa;color:var(--chat-purple);font-size:10px;font-weight:750;padding:5px 10px;border-radius:20px}.chat-person{display:flex;align-items:center;gap:10px;color:var(--chat-ink)}.chat-person small{display:block;color:var(--chat-muted);font-size:10px}.chat-job-card{margin-top:22px;padding:17px;border:1px solid var(--chat-line);border-radius:12px;background:#fcfbff}.chat-job-card>small{font-size:9px;font-weight:800;letter-spacing:.8px}.chat-job-card h4{margin:8px 0;font-size:17px}.chat-job-status{display:inline-block;padding:4px 9px;border-radius:20px;background:#eff9e8;color:#46782d;font-size:11px}.chat-job-card button{margin-top:16px;padding:10px;width:100%;background:white;border:1px solid #cbbbea;border-radius:8px;color:var(--chat-purple);font-size:12px;font-weight:750}.chat-confidential{margin-top:26px;font-size:11px}.chat-empty{padding:22px 10px;color:var(--chat-muted);font-size:12px;line-height:1.8}.chat-older{display:block;margin:0 auto 20px;border:1px solid var(--chat-line);border-radius:9px;padding:8px 12px;background:white;color:var(--chat-purple);font-size:11px}.chat-sr{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.chat-inbox-entry{display:flex;align-items:center;justify-content:space-between;padding:14px 18px;border:1px solid #ded9eb;border-radius:14px;background:white;color:#4b20b8;font:inherit;font-weight:750;margin:14px 0;width:100%}.chat-inbox-entry span{font-size:12px}
@media(max-width:1150px){.chat-layout{grid-template-columns:230px minmax(280px,1fr)}.chat-details{display:none}}
@media(max-width:700px){.chat-top{flex-wrap:wrap;gap:12px}.chat-brand h2{font-size:25px}.chat-sections{order:3;width:100%}.chat-layout{display:block;height:70dvh;min-height:480px}.chat-sidebar{height:100%;border:0}.chat-main{display:none}.thread-open .chat-sidebar{display:none}.thread-open .chat-main{display:flex}.chat-back{display:block;border:0;border-radius:8px;background:#f1ecfb;color:var(--chat-purple);padding:9px;font-size:11px;white-space:nowrap}.chat-thread-head{padding:14px;min-height:78px}.chat-thread-head h3{font-size:14px}.chat-history{padding:18px 14px}.chat-composer{padding:12px}.chat-message{max-width:93%}.chat-compose-actions>span{font-size:9px}.chat-message-meta{gap:8px}.chat-composer textarea{font-size:16px}.chat-audience small{display:inline;margin-left:6px}.chat-refresh{padding:9px 12px}.chat-brand p{font-size:11px}}

.chat-header-job{display:none;border:1px solid #d4c7e7;background:white;color:#4b20b8;border-radius:8px;padding:8px;margin-left:auto;font-size:11px;white-space:nowrap}@media(max-width:1150px){.chat-header-job{display:block}}

/* Simple Staff / Customers messenger, shared with desktop. */
.chat-layout{grid-template-columns:300px minmax(0,1fr)}
.chat-details,.chat-header-job{display:none!important}
.chat-sidebar{padding:16px 12px}.chat-avatar{width:46px;height:46px;flex-basis:46px;border-radius:50%;font-size:17px}
.chat-conversation{padding:15px 10px;gap:12px}.chat-conversation strong{font-size:14px}.chat-conversation small{font-size:12px}
.chat-search input{border-radius:24px;background:#f7f5fb;padding:13px 16px;font-size:14px}
.chat-audience{border-radius:24px}.chat-audience button{border-radius:22px;font-size:13px;padding:10px}
.chat-new{border-radius:20px}.chat-top{padding:12px 0}.chat-status{margin-bottom:8px}
.bottom-nav-inner{grid-template-columns:repeat(6,minmax(0,1fr))}
#mobile-chat-unread:empty{display:none}#mobile-chat-unread{position:absolute;top:-7px;right:-12px;min-width:17px;padding:1px 4px;border-radius:10px;background:#4b20b8;color:white;font-size:10px}
.chats-page .company-announcements,.chats-page .preview-note,.chats-page .schedule-notices{display:none!important}
.chats-page .page-heading{display:grid}.chats-page .workspace{padding-top:10px}
@media(max-width:700px){
 .chat-layout{display:block;height:calc(100dvh - 230px);min-height:320px;border-radius:16px}
 .chat-sidebar{padding:14px 10px}.chat-conversation{padding:16px 8px}.chat-conversation strong{font-size:16px}.chat-conversation small{font-size:13px}
 .chat-brand h2{font-size:26px}.chat-audience button{min-height:44px}.chat-new{min-height:44px}
 .chat-main{height:100%}.chat-thread-head{min-height:68px}.chat-composer textarea{min-height:48px;max-height:90px}
 .chats-page .workspace{padding-left:12px;padding-right:12px}.chat-back{min-height:44px}
 .thread-open .chat-top{display:none}.thread-open .chat-layout{height:calc(100dvh - 164px)}
}

.chat-row-meta{display:flex;flex-direction:column;align-items:flex-end;gap:8px}.chat-row-meta time{font-size:10px;color:var(--chat-muted);white-space:nowrap}

/* Messages uses the same page header and OTTO strip as the other mobile pages. */
.chats-page #jobs>.chat-top{display:none}
@media(max-width:700px){.chats-page .chat-layout,.chats-page .thread-open .chat-layout{height:calc(100dvh - 390px);min-height:380px}.chats-page .bottom-nav button{font-size:10px}}

.otto-announcement-conversation{background:white;border:1px solid #e3dfec;border-radius:18px;padding:20px}.otto-announcement-conversation h2{margin:0}.otto-announcement-conversation>p{color:#7a7487;font-size:13px}.otto-announcement-conversation .schedule-notice{padding:16px;margin:16px 0;background:#f5f0fc;border:1px solid #e6dff0;border-radius:4px 16px 16px}.chat-back-to-inbox{padding:12px 16px;margin-bottom:12px;border:1px solid #ddd3ed;border-radius:12px;background:white;color:#4b20b8;font:inherit}.otto-announcement-conversation .announcement-count{font-size:12px;color:#4b20b8}

#otto-status[role=button]{cursor:pointer}#otto-status[role=button]:focus-visible{outline:3px solid #b9a2e5;outline-offset:3px}#otto-status[aria-expanded=true]{border-color:#8865cf;margin-bottom:6px}
.otto-message-dropdown{position:relative;z-index:25;margin:0 0 18px;border:1px solid #ded4ed;border-radius:16px;background:white;box-shadow:0 12px 30px #30204718;overflow:hidden}.otto-message-dropdown[hidden]{display:none!important}.otto-dropdown-heading{display:flex;align-items:center;justify-content:space-between;padding:12px 16px;background:#f5f0fc}.otto-dropdown-heading button{border:0;background:transparent;color:#4b20b8;font-size:24px;min-width:44px;min-height:44px}.otto-dropdown-content{max-height:52dvh;overflow:auto;padding:16px;overscroll-behavior:auto}.otto-dropdown-content>h2,.otto-dropdown-content>p{display:none}.otto-dropdown-content .schedule-notice{padding:14px;margin:10px 0;background:#f7f3fc;border-radius:4px 14px 14px;border:1px solid #e7dff1}.otto-dropdown-content .schedule-notice p{font-size:14px;line-height:1.5}.otto-dropdown-content .schedule-notice button{min-height:44px;padding:8px 14px;border:1px solid #d3c3e9;border-radius:9px;color:#4b20b8;background:white}

/* OTTO message timeline */
.otto-dropdown-heading{background:#fff;border-bottom:1px solid #eee9f5;padding:12px 18px;gap:12px}
.otto-dropdown-heading>div{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.otto-dropdown-heading strong{font-size:18px;color:#282334}
.otto-timeline-count{font-size:12px;font-weight:750;color:#5925bd;background:#eee6fb;padding:4px 9px;border-radius:20px}
.otto-timeline-count[hidden]{display:none}
.otto-dropdown-content{background:#fcfbfe;padding:8px 18px 18px;max-height:50dvh}
.otto-dropdown-content>.announcement-count{display:none}
.otto-timeline-date{font-size:10px;letter-spacing:1.4px;color:#83788f;margin:18px 0 12px 25px;font-weight:750}
.otto-timeline-item{position:relative;margin:0 0 0 5px;padding:0 0 14px 20px;border-left:1px solid #dfd3f2}
.otto-timeline-item:before{content:'';position:absolute;left:-5px;top:18px;width:9px;height:9px;border-radius:50%;border:2px solid #bda8dd;background:#fcfbfe;box-sizing:border-box}
.otto-timeline-item.is-unread:before{background:#622bd0;border-color:#622bd0;box-shadow:0 0 0 3px #eee7fa}
.otto-timeline-card{border:1px solid #e8e1ef;background:#fff;border-radius:12px;padding:14px}
.otto-timeline-item.is-unread .otto-timeline-card{border-color:#d7c6ef}
.otto-timeline-title{display:flex;gap:9px;align-items:center;flex-wrap:wrap}
.otto-timeline-icon{display:grid;place-items:center;background:#f0eafa;color:#642ac9;border-radius:8px;width:28px;height:28px;flex-shrink:0}
.otto-timeline-title strong{font-size:14px;color:#292335;flex:1;min-width:80px;overflow-wrap:anywhere}
.otto-timeline-title time{font-size:11px;color:#8a8194;white-space:nowrap}
.otto-timeline-card p{font-size:14px;line-height:1.5;color:#6d637b;margin:10px 0;white-space:pre-wrap;overflow-wrap:anywhere}
.otto-timeline-card small{font-size:11px;color:#81758e}
.otto-timeline-actions{margin-top:10px}
.otto-timeline-actions button{min-height:40px;padding:8px 12px;background:#f2ecfb;border:1px solid #dfd1f1;border-radius:8px;color:#5b27b5;font-size:12px;font-weight:700}
.otto-timeline-status{font-size:12px;color:#39835d}
.otto-timeline-all{width:100%;border:0;border-top:1px solid #ece5f4;background:#fff;color:#602ac0;font-size:13px;font-weight:700;min-height:48px;border-radius:0;display:flex;justify-content:center;align-items:center;gap:16px}
.otto-timeline-empty{padding:28px 10px;text-align:center;color:#3e344e;font-size:15px;line-height:1.8}
.otto-timeline-empty span{font-size:13px;color:#887d94}

.request-history>summary{cursor:pointer;font-weight:700;text-transform:capitalize;color:#40335c;padding:6px 0}.request-history>summary span{display:block;font-size:12px;font-weight:400;color:#7c708d;margin-top:4px}.request-history[open]>summary{border-bottom:1px solid #e6def0;margin-bottom:12px;padding-bottom:12px}

.otto-request-updates{padding:0 18px;max-height:42dvh;overflow:auto}.otto-request-updates:empty{display:none}.otto-request-card{border:1px solid #e5deef;border-radius:12px;background:#fff;padding:14px;margin:12px 0}.otto-request-heading{display:flex;align-items:center;gap:10px;font-size:14px}.otto-request-heading>span{display:grid;place-items:center;width:28px;height:28px;border-radius:9px;background:#edf7ee;color:#287845}.otto-request-card.pending .otto-request-heading>span{background:#fff4df;color:#9c680e}.otto-request-card.declined .otto-request-heading>span{background:#fcebed;color:#ae3946}.otto-request-card small{display:block;color:#897c94;font-size:11px;margin-top:8px}.otto-request-card p{font-size:14px;line-height:1.5;color:#6d637b;white-space:pre-wrap}.otto-request-card button{background:#f2ecfb;border:1px solid #dfd1f1;border-radius:8px;color:#5b27b5;padding:10px 12px;min-height:40px;font-weight:700}.otto-earlier>summary{cursor:pointer;color:#746585;font-size:13px;padding:12px 0}

.request-history-group>summary{cursor:pointer;padding:14px 16px;border:1px solid #e2d9ec;border-radius:12px;color:#543283;background:#f8f5fc;font-weight:700;font-size:14px}.request-history-group[open]>summary{margin-bottom:12px}

/* Mobile OTTO follows the desktop update panel. */
.otto-message-dropdown{border-radius:22px;border-color:#cfdbe3;background:#f8fbfd}.otto-dropdown-heading{padding:20px;background:#fff;align-items:flex-start}.otto-dropdown-heading strong{font-size:28px;letter-spacing:-1px;color:#101820}.otto-brandline{font-size:9px!important;letter-spacing:1px;text-transform:uppercase;color:#657e90;margin:8px 0 0;line-height:1.7}.otto-brandline b{color:#5722bc}.otto-brandline b:nth-child(even){color:#73bf00}.otto-dropdown-heading button{background:#f0ebfa;border:1px solid #c9bfeb;border-radius:14px;font-size:27px}.otto-panel-status{display:flex;align-items:center;gap:9px;padding:14px 20px;background:#f2f6f8;border-block:1px solid #dde6eb;font-size:12px;color:#213747}.otto-live-dot{width:8px;height:8px;flex-shrink:0;background:#708595;border-radius:50%}.otto-panel-status .otto-timeline-count{margin-left:auto;white-space:nowrap}.otto-panel-tabs{display:flex;margin:14px;border:1px solid #ded5ee;border-radius:13px;overflow:hidden}.otto-panel-tabs button{flex:1;min-width:0;padding:13px 3px;border:0;border-radius:0;background:transparent;color:#213747;font-weight:750;font-size:13px;min-height:44px}.otto-panel-tabs button[aria-selected=true]{background:#4c20b3;color:white}.otto-panel-tabs button span{display:inline-block;border-radius:6px;background:#eee8f8;color:#5021b3;padding:2px 5px;margin-left:3px;font-size:11px}.otto-panel-tabs button[aria-selected=true] span{background:#ffffff30;color:white}.otto-request-updates[hidden],.otto-dropdown-content[hidden],.otto-payment-updates[hidden]{display:none!important}.otto-dropdown-content,.otto-request-updates,.otto-payment-updates{background:#f8fbfd;max-height:52dvh;padding:0 16px 16px;overflow:auto;overscroll-behavior:auto}.otto-payment-updates p{font-size:14px;line-height:1.6;color:#657b8b}.otto-timeline-item{border:0;margin:0;padding:0}.otto-timeline-item:before{display:none}.otto-timeline-card,.otto-request-card{border:0!important;border-bottom:1px solid #dfe7ec!important;background:transparent;border-radius:0;padding:17px 0;margin:0}.otto-timeline-title strong,.otto-request-heading strong{color:#213747;font-size:15px}.otto-timeline-card p,.otto-request-card p{color:#617989;font-size:14px}.otto-timeline-icon,.otto-request-heading>span{background:#e6f4f9;color:#117b9e;border-radius:12px;width:34px;height:34px}.otto-timeline-date{margin-left:0;font-size:10px}.otto-timeline-all{background:#fff;min-height:54px;color:#5021b5;border-top:1px solid #dce5eb}.otto-earlier>summary{margin-top:12px}
