.momota-messages{--chat-bg:#f3f5f5;--chat-surface:#fff;--chat-field:#f4f6f6;--chat-rule:#dde4e5;--chat-text:#182427;--chat-muted:#546368;--chat-accent:#a33b0b;--chat-own:#fae7d9;--chat-danger:#a92f29;color:var(--chat-text)}html[data-momota-app-theme=dark] .momota-messages{--chat-bg:#11191b;--chat-surface:#1c282b;--chat-field:#151f22;--chat-rule:#2b3a3e;--chat-text:#f2f6f6;--chat-muted:#b5c3c6;--chat-accent:#ffac74;--chat-own:#412d23;--chat-danger:#faa}.momota-chat-inbox{background:var(--chat-bg)}.momota-chat-inbox-heading{flex-shrink:0;padding:18px 16px 14px}.momota-chat-inbox-heading h1{letter-spacing:-.045em;font-size:clamp(1.55rem,7vw,2rem);font-weight:750;line-height:1.14}.momota-chat-search{border:1px solid var(--chat-rule);background:var(--chat-field);min-height:46px;color:var(--chat-muted);border-radius:14px;align-items:center;gap:10px;margin-top:14px;padding:0 13px;display:flex}.momota-chat-search input{width:100%;min-width:0;min-height:44px;color:var(--chat-text);outline:none;font-size:16px}.momota-chat-search:focus-within,.momota-chat-compose-row textarea:focus{border-color:var(--chat-accent)}.momota-chat-rows{overscroll-behavior:contain;flex:1;min-height:0;padding:0 12px 16px;overflow-y:auto}.momota-chat-row{border-bottom:1px solid var(--chat-rule);min-height:72px;color:var(--chat-text);align-items:center;gap:12px;padding:10px 12px;display:flex}.momota-chat-row[aria-current=page],.momota-chat-row:active{background:var(--chat-surface);border-bottom-color:#0000;border-radius:14px}.momota-chat-person{font-size:15px;font-weight:650}.momota-chat-muted{color:var(--chat-muted)}.momota-chat-unread{color:#fff;background:#a93d09;border-radius:99px;flex-shrink:0;place-items:center;min-width:22px;height:22px;padding:0 5px;font-size:11px;font-weight:700;display:inline-grid}.momota-chat-inbox--conversations .momota-chat-inbox-heading{padding:16px 14px 10px}.momota-chat-inbox--conversations h1{font-size:clamp(1.5rem,5vw,1.75rem)}.momota-chat-inbox--conversations .momota-chat-search{border-radius:12px;min-height:42px;margin-top:10px}.momota-chat-inbox--conversations .momota-chat-search input{min-height:40px}.momota-chat-inbox--conversations .momota-chat-rows{padding-inline:10px}.momota-chat-inbox--conversations .momota-chat-row{border-bottom-color:#0000;border-radius:11px;gap:10px;min-height:60px;padding:6px 9px;position:relative}.momota-chat-inbox--conversations .momota-chat-row:not(.momota-chat-support-link,[aria-current=page]):after{background:var(--chat-rule);content:"";height:1px;position:absolute;bottom:-1px;left:55px;right:9px}.momota-chat-inbox--conversations .momota-chat-row:not(.momota-chat-support-link):is([aria-current=page],:active){background:linear-gradient(110deg, color-mix(in srgb, var(--chat-surface) 89%, var(--chat-accent)), var(--chat-surface) 72%);box-shadow:inset 0 0 0 1px var(--chat-rule)}.momota-chat-inbox--conversations .momota-chat-row[aria-current=page]:before{background:var(--chat-accent);content:"";border-radius:2px;width:2px;position:absolute;top:13px;bottom:13px;left:0}@media (hover:hover){.momota-chat-inbox--conversations .momota-chat-row:not(.momota-chat-support-link,[aria-current=page]):hover{background:var(--chat-surface)}}.momota-chat-inbox--conversations .momota-chat-person{font-size:14px;line-height:18px}.momota-chat-row-avatar{outline:1px solid color-mix(in srgb, var(--chat-text) 12%, transparent);outline-offset:-1px}.momota-chat-row-avatar[data-initials]{background:color-mix(in srgb, var(--chat-surface) 85%, var(--chat-accent));color:var(--chat-accent)}.momota-chat-row-date{color:var(--chat-muted);white-space:nowrap;font-variant-numeric:tabular-nums;flex-shrink:0;font-size:11px;line-height:16px}.momota-chat-row-listing{color:var(--chat-text);font-size:12px;line-height:16px}.momota-chat-row-preview{color:var(--chat-muted);font-size:13px;line-height:16px}.momota-chat-row-preview[data-unread]{color:var(--chat-text);font-weight:650}.momota-chat-inbox--conversations .momota-chat-unread{min-width:18px;height:18px}.momota-chat-inbox--conversations .momota-chat-support-link{color:#24140b;background:#ff761a;border:1px solid #e66010;min-height:50px;margin-bottom:5px;box-shadow:inset 0 1px #ffffff52,inset 0 -2px #84370c21}.momota-chat-support-link .momota-chat-row-preview{color:inherit}.momota-chat-support-link .momota-chat-unread{background:#54230c}.momota-chat-support-link .momota-chat-support-arrow{flex-shrink:0}@media (hover:hover){.momota-chat-inbox--conversations .momota-chat-support-link:hover{background:#ff8e45}}.momota-chat-inbox--conversations .momota-chat-support-link:active{background:#f26b13}.momota-messages .momota-chat-inbox--conversations .momota-chat-support-link:focus-visible{outline-color:#24140b}@media (pointer:coarse){.momota-chat-inbox--conversations .momota-chat-search input{min-height:44px}}.momota-chat-header,.momota-chat-composer{background:var(--chat-surface)}.momota-chat-header{border-bottom:1px solid var(--chat-rule);align-items:center;gap:10px;min-height:66px;padding:9px 12px;display:flex}.momota-chat-icon{width:44px;height:44px;color:var(--chat-accent);border-radius:13px;flex-shrink:0;place-items:center;display:grid}.momota-chat-icon:active,.momota-chat-icon[aria-expanded=true]{background:var(--chat-field)}.momota-chat-thread{overscroll-behavior:contain;background:var(--chat-bg);min-height:0;padding:12px 14px 14px;overflow-y:auto}.momota-chat-date{background:var(--chat-surface);color:var(--chat-muted);border-radius:99px;margin:10px auto 14px;padding:5px 10px;font-size:12px;font-weight:600;display:table}.momota-chat-bubble{border:1px solid var(--chat-rule);background:var(--chat-surface);max-width:min(84%,38rem);color:var(--chat-text);overflow-wrap:anywhere;border-radius:17px 17px 17px 5px;padding:8px 11px 7px;font-size:15px;line-height:1.4;display:flow-root}.momota-chat-bubble[data-own]{background:var(--chat-own);border-color:#0000;border-radius:17px 17px 5px}.momota-chat-time{float:right;color:var(--chat-muted);white-space:nowrap;margin:4px 0 0 12px;font-size:11px}.momota-chat-composer{border-top:1px solid var(--chat-rule);padding:9px 12px}.momota-chat-compose-row{align-items:flex-end;gap:8px;display:flex}.momota-chat-compose-row textarea{resize:none;border:1px solid var(--chat-rule);background:var(--chat-field);width:100%;min-width:0;min-height:46px;max-height:136px;color:var(--chat-text);border-radius:16px;outline:none;padding:11px 14px;font-size:16px;line-height:22px;overflow-y:auto}.momota-chat-compose-row textarea::placeholder,.momota-chat-search input::placeholder{color:var(--chat-muted)}.momota-chat-compose-row button{color:#fff;background:linear-gradient(160deg,#be4b17,#963207);border-radius:15px;flex-shrink:0;place-items:center;width:46px;height:46px;display:grid}.momota-chat-compose-row button:disabled:not([aria-busy=true]){background:var(--chat-field);color:var(--chat-muted)}.momota-chat-send-spinner{border:2px solid;border-right-color:#0000;border-radius:50%;width:17px;height:17px;animation:.9s linear infinite spin}.momota-chat-error{color:var(--chat-danger);margin-bottom:8px;font-size:13px}.momota-messages :is(a,button):focus-visible{outline:2px solid var(--chat-accent);outline-offset:-2px}@media not (min-width:64rem){[data-native-placement] .momota-messages{height:auto;padding:0;position:fixed;inset:0}[data-native-placement][data-mobile-keyboard-open] .momota-messages{top:var(--mobile-keyboard-top,0px);bottom:var(--mobile-keyboard-bottom,0px)}}@media (not (min-width:64rem)) and (prefers-reduced-motion:no-preference){.momota-chat-pane{animation:.17s ease-out momota-chat-in}[data-native-placement] .momota-chat-pane{animation:none}@keyframes momota-chat-in{0%{opacity:.55}}}.momota-chat-photo-grid img{object-fit:cover}.momota-chat-photo-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;width:min(300px,66vw);max-width:100%;margin-bottom:4px;display:grid}.momota-chat-photo-grid:has(li:only-child){grid-template-columns:minmax(0,1fr)}.momota-chat-photo-grid button{aspect-ratio:4/3;background:var(--chat-field);cursor:zoom-in;border-radius:10px;width:100%;display:block;position:relative;overflow:hidden}.momota-chat-photo-viewer{color:#fff;background:0 0;border:0;width:min(100%,72rem);max-width:none;height:100%;max-height:100dvh;margin:auto;padding:0;position:fixed;inset:0;overflow:hidden}.momota-chat-photo-viewer::backdrop{background:#0b1113f5}.momota-chat-photo-stage{place-items:center;display:grid;position:absolute;inset:58px 12px 60px}.momota-chat-photo-stage img{object-fit:contain}.momota-chat-photo-close,.momota-chat-photo-navigation button{color:#fff;cursor:pointer;background:#ffffff24;border-radius:13px;place-items:center;width:44px;height:44px;font-size:27px;line-height:1;display:grid}.momota-chat-photo-close{top:max(8px, env(safe-area-inset-top));right:max(12px, env(safe-area-inset-right));z-index:1;position:absolute}.momota-chat-photo-navigation{bottom:max(8px, env(safe-area-inset-bottom));white-space:nowrap;align-items:center;gap:14px;display:flex;position:absolute;left:50%;transform:translate(-50%)}.momota-chat-photo-navigation button:disabled{opacity:.4;cursor:default}
