/* Private-message entry point and quiet delivery receipts. */
body .ayk-messages-tool{position:relative;display:inline-flex;align-items:center;justify-content:center;min-width:40px;min-height:44px;text-decoration:none;color:#24372c}
.ayk-messages-tool svg{display:block;width:22px;height:22px;flex:none}
body .ayk-message-count{position:absolute;inset-block-start:2px;inset-inline-end:-2px;display:grid;place-items:center;min-width:17px;height:17px;padding:0 4px;border-radius:99px;background:#355b43;color:#fffef9;border:2px solid #fff;font:600 9px/1 system-ui,sans-serif}
.ayk-message-count[hidden]{display:none!important}
.ayk-chat-receipt{display:inline-flex;align-items:center;justify-content:center;margin-inline-start:7px;min-width:20px;font:600 13px/1 system-ui,sans-serif;letter-spacing:-4px;padding-inline-end:4px;color:#6c766d;vertical-align:middle;direction:ltr;white-space:nowrap}
.ayk-chat-receipt[data-receipt=read]{color:#355b43}
.ayk-chat-receipt[data-receipt=sent]{letter-spacing:0;padding-inline-end:0}
.chat-bubble>small{display:flex;justify-content:flex-end;align-items:center;gap:4px;font-variant-numeric:tabular-nums}
.chat-bubble>div{white-space:pre-wrap;overflow-wrap:anywhere;unicode-bidi:plaintext}
body .chat-shell .ayk-chat-send-status{margin:0;padding:0;font-size:12px;line-height:1.6;color:#8b3e2f}
body .chat-shell .ayk-chat-send-status:not(:empty){padding:8px 16px}
body .chat-compose[aria-busy=true] button{opacity:.55}
@media(max-width:760px){
 body:has([data-message-link]) .site-header.ayk-signature-header{gap:8px;flex-wrap:nowrap;padding-inline:12px}
 body:has([data-message-link]) .ayk-header-tools{gap:5px;min-width:0}
 body .ayk-messages-tool{min-width:34px;width:34px}
 body:has([data-message-link]) .ayk-header-tool{padding-inline:2px}
 body:has([data-message-link]) .ayk-approved-logo{width:72px;height:44px}
 body:has([data-message-link]) .ayk-brand-caption{font-size:8px;letter-spacing:.2em}
 body:has([data-message-link]) .ayk-header-menu summary{min-width:38px}
 body:has([data-message-link]) .language-switch{font-size:11px;padding-inline:7px;min-width:0}
 body:has([data-chat-thread]) .page-shell{width:100%;padding:12px;box-sizing:border-box;min-height:0}
 body .page-shell [data-chat-thread]{max-width:850px;margin-inline:auto;border:1px solid #dce1d8;border-radius:12px;overflow:hidden;box-shadow:none}
 body .page-shell [data-chat-thread] .chat-head{padding:12px 14px}
 body .page-shell [data-chat-thread] .chat-head h1{font-size:28px;margin:0 0 10px}
 body .page-shell [data-chat-thread] .chat-back{display:inline-flex;align-items:center;min-height:44px;margin:8px 14px 0;font-size:13px}
 body .page-shell [data-chat-thread] .chat-thread{padding:14px;max-height:48svh;min-height:180px;overscroll-behavior:contain;overflow-y:auto}
 body .page-shell [data-chat-thread] .chat-compose{padding:12px;gap:8px;align-items:end}
 body .page-shell [data-chat-thread] .chat-compose textarea{font-size:16px;min-height:48px;max-height:140px}
 body .page-shell [data-chat-thread] .chat-compose button{min-height:48px;padding:10px 14px;background:#24372c}
 body .page-shell [data-chat-thread] .chat-disclaimer{font-size:11px;line-height:1.5;margin:0;padding:0 12px 12px}
}
@media(max-width:360px){body:has([data-message-link]) .ayk-approved-logo{width:60px;height:38px}body:has([data-message-link]) .ayk-header-tools{gap:3px}body:has([data-message-link]) .ayk-header-menu-label{font-size:9px}}

body .chat-compose{flex-wrap:wrap}
.ayk-chat-attachments{display:flex;gap:8px;flex-basis:100%}
.ayk-chat-attach{position:relative;display:inline-flex;align-items:center;gap:6px;min-height:44px;padding:0 12px;border:1px solid #dce1d8;border-radius:10px;color:#355b43;cursor:pointer;font-size:13px}
.ayk-chat-attach input{position:absolute;width:1px;height:1px;opacity:0}
.ayk-chat-attach:focus-within{outline:2px solid #355b43;outline-offset:2px}
.ayk-chat-preview{display:flex;align-items:center;gap:12px;flex-basis:100%}
.ayk-chat-preview[hidden]{display:none!important}
.ayk-chat-preview img{width:100px;height:100px;object-fit:contain;border-radius:8px}
.ayk-chat-photo{display:block;margin-bottom:8px}
.ayk-chat-photo img{display:block;max-width:100%;width:260px;max-height:320px;object-fit:contain;border-radius:10px}
