/* Conversations du Hangar, dans la fenêtre WhatsApp du téléphone. */
.sm-shell { position:relative; isolation:isolate; display:flex; flex-direction:column; width:100%; height:100%; min-height:0; overflow:hidden; color:#15251d; background:#efeae2; font:400 15px/1.38 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; }
.sm-shell *, .sm-shell *::before,.sm-shell *::after { box-sizing:border-box; }
.sm-shell button { color:inherit; font:inherit; cursor:pointer; appearance:none; border:0; background:none; touch-action:manipulation; }
.sm-shell button:focus-visible,.sm-shell textarea:focus-visible { outline:3px solid #087b60; outline-offset:-2px; }
.sm-shell [hidden] { display:none!important; }
.sm-shell .sm-icon,.sm-inbox-row .sm-icon { width:20px; height:20px; vertical-align:middle; flex:none; }
.sm-inbox-row .hs-rowtext small { white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.sm-toolbar { display:flex; flex-shrink:0; align-items:center; min-height:53px; gap:10px; padding:3px 10px 3px 2px; background:#fafaf8; border-bottom:1px solid #d6dada; }
.sm-toolbar .sm-back { display:grid; place-items:center; color:#067453; width:41px; min-height:43px; }
.sm-toolbar .sm-back .sm-icon { width:25px;height:25px; }
.sm-toolbar .hs-avatar { width:37px;height:37px; }
.sm-toolbar b,.sm-toolbar small { display:block; }
.sm-toolbar b { font-size:15px; line-height:1.2; }
.sm-toolbar small { margin-top:3px; color:#58675f; font-size:11px; }
.sm-log { flex:1 1 0; min-height:0; overflow:auto; overscroll-behavior:contain; padding:12px 9px 24px; scrollbar-width:thin; background-color:#eee9e0; background-image:radial-gradient(ellipse at 15% 25%,#bfae9520 0 2px,transparent 3px),radial-gradient(ellipse at 74% 78%,#b5a58a24 0 3px,transparent 4px);background-size:31px 39px,46px 42px; }
.sm-day,.sm-system,.sm-draft-note { width:fit-content; max-width:92%; margin:4px auto 13px; padding:4px 9px; background:#fffdf4; box-shadow:0 1px 1px #11231415; border-radius:7px; font-size:11px; text-align:center; color:#5c594f; }
.sm-system,.sm-draft-note { font-size:12px; margin-block:12px; }.sm-draft-note { background:#f7ebc3; }
.sm-row { display:flex; align-items:flex-start; margin:0 0 7px; }
.sm-row.sm-sent { justify-content:flex-end; }
.sm-bubble { position:relative; width:fit-content; min-width:55px; max-width:min(86%,460px); padding:7px 9px 5px; border-radius:5px 13px 13px 13px; background:white; box-shadow:0 1px 1px #0002; word-break:break-word; }
.sm-sent .sm-bubble { border-radius:13px 5px 13px 13px; background:#d7f9c4; }
.sm-who { display:block; font-size:12px; margin-bottom:3px; color:#38647d; }
.sm-said { white-space:pre-wrap; }
.sm-stamp { display:inline-flex; align-items:center; justify-content:flex-end; gap:2px; float:right; margin:5px 0 0 8px; font-size:10px; color:#627165; line-height:1.5; }
.sm-stamp .sm-icon { width:14px; height:12px; color:#337ca2; }
.sm-bubble::after { content:''; display:table; clear:both; }
.sm-bubble[data-sm-reactable],.sm-bubble[data-sm-quote] { touch-action:pan-y; }
.sm-bubble[data-sm-reactable] { user-select:none; -webkit-touch-callout:none; }
.sm-bubble .sm-bubble-tool { float:right; display:grid; place-items:center; margin-left:4px; width:31px;height:29px; color:#547764; border-radius:50%; }
.sm-bubble-tool .sm-icon {width:17px;height:17px;}
.sm-bubble .sm-bubble-tool:hover {background:#edf3eb;}
.sm-attached { display:table; clear:both; border:1px solid #d9e2d6;border-radius:18px;padding:0 6px;font-size:15px;background:#fafbf8; }
.sm-photo { width:min(80%,265px); margin:0; background:white; padding:4px; border-radius:11px; }
.sm-photo img { display:block; width:100%; aspect-ratio:3/4; object-fit:cover; border-radius:8px; }
.sm-photo figcaption { padding:5px 3px; font-size:14px; }
.sm-typing { width:max-content; margin:9px 3px; padding:8px 12px; border-radius:5px 13px 13px; background:white; }
.sm-typing i {display:inline-block;margin:0 2px;width:6px;height:6px;border-radius:50%;background:#667a6d;animation:sm-type 1.15s ease-in-out infinite alternate;}
.sm-typing i:nth-child(2) {animation-delay:.18s}.sm-typing i:nth-child(3){animation-delay:.36s}
@keyframes sm-type {0%,35%{opacity:.4;transform:translateY(1px)}85%{opacity:1;transform:translateY(-2px)}}
.sm-log .sm-inline { display:block; width:fit-content; max-width:90%; margin:12px auto; background:#f6fff8; color:#11664d; border:1px solid #c0d6c9; border-radius:15px; font-weight:650; font-size:12px; min-height:36px; padding:6px 12px; }
.sm-bottom { flex:0 0 auto; background:#f5f4f0; }
.sm-bottom:has(.sm-composer) { border-top:1px solid #d7d8d1; }
.sm-picks { display:flex; overflow-x:auto; overscroll-behavior-x:contain; gap:6px; padding:6px 8px 0; }
.sm-picks .sm-shortcut { border:1px solid #cdd8d0; border-radius:14px; color:#2e5f4a; background:white; font-size:12px; padding:5px 10px; flex:none; max-width:90%; text-align:left; }
.sm-composer { display:flex; align-items:flex-end; gap:5px; margin:0; padding:6px 8px; }
.sm-composer textarea { display:block; flex:1; min-width:0; resize:none; max-height:5.4em; background:white; font:inherit; font-size:16px; color:#182820; border:1px solid #ccd2ca; border-radius:18px; padding:8px 11px; }
.sm-composer button { display:grid; place-items:center; align-self:center; width:39px; min-height:39px; border-radius:50%; }
.sm-composer .sm-send { color:white; background:#0b7a58; }
.sm-composer .sm-erase { background:transparent; color:#68746b; width:34px; }
.sm-quote-preview { display:flex; align-items:center; padding:4px 9px 0; gap:5px; }.sm-quote-preview button{flex:none; min-width:35px;height:35px}
.sm-cite { display:grid; gap:2px; flex:1; text-align:left; margin:0 0 4px; padding:5px 8px; border:0; border-left:3px solid #3a8062; background:#e2ebe0; border-radius:4px; color:#405248; font-size:12px; }.sm-cite b{color:#257454;}.sm-sent .sm-cite{background:#bfe6af;}
.sm-invite { display:grid; align-items:center; justify-items:center; gap:5px; width:min(89%,300px); padding:11px; margin:4px auto 13px; border-radius:13px; background:white; box-shadow:0 1px 2px #24382626; }
.sm-invite small,.sm-invite>span:not(.sm-group-icon) { color:#607268; font-size:11px; }
.sm-group-icon { display:grid; place-items:center; background:#e0f0e0; color:#37735c; border-radius:50%; width:35px; height:35px; }
.sm-invite button { width:100%; color:#0c714e; background:#edf7ee; min-height:34px; padding:5px; border-radius:7px; font-weight:620; font-size:13px; }
.sm-overlay { position:absolute; z-index:2; inset:0; display:grid; place-items:center; padding:12px; background:#15221a70; }
.sm-dialog { width:min(90%,315px); background:#fff; border-radius:17px; box-shadow:0 12px 44px #19231f36; padding:14px; text-align:center; }
.sm-dialog p { margin:0 0 12px; font-size:14px;font-weight:650; }
.sm-dialog>div { display:flex; justify-content:center; gap:9px; }
.sm-dialog>div button { background:#edf3ec; min-width:51px; min-height:43px; padding:5px 9px; border-radius:12px; }
.sm-dialog .sm-dismiss { color:#1b7457; min-height:37px; font-weight:650; font-size:13px; margin-top:5px; }
.sm-sr { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); }
@media(prefers-reduced-motion:reduce){.sm-typing i{animation:none}}
.sm-archive { flex:none; padding:5px 12px; border-bottom:1px solid #d7dcda; background:#eef2ef; text-align:center; color:#40524a; font-size:11px; line-height:1.35; }
