:root{color-scheme:dark;font-family:system-ui,-apple-system,Segoe UI,Arial,sans-serif;background:#111724;color:#edf2f8;font-size:15px}*{box-sizing:border-box}body{margin:0;min-height:100vh}header{display:flex;gap:13px;align-items:center;border-bottom:1px solid #334057;padding:16px 24px;background:#172034}header strong{font-size:24px;letter-spacing:.3px}header small{display:block;color:#abb9cf;font-size:12px}.logo{width:36px;height:36px;border-radius:13px;background:#233c61;font-size:29px;text-align:center;line-height:31px}.pill{margin-left:auto;border:1px solid #53637b;border-radius:99px;padding:6px 10px;color:#bdccdd;font-size:12px}.warning{margin:12px 22px;padding:10px 14px;border:1px solid #775c2f;border-radius:11px;background:#272315;color:#e9d3a0;font-size:12px}main{display:grid;grid-template-columns:240px minmax(0,1fr);min-height:calc(100vh - 176px)}aside{border-right:1px solid #314057;padding:16px;background:#151d2b}aside h2,.detail h2{font-size:16px;margin:8px 0}.muted{color:#a7b4c6;font-size:13px}button{cursor:pointer;border:0;border-radius:9px;padding:10px 15px;background:#6ea4ed;color:#101927;font-weight:650}button:hover{filter:brightness(1.13)}button:disabled{opacity:.55;cursor:not-allowed}.ghost{border:1px solid #4b6385;background:transparent;color:#c6ddfa;font-weight:500;margin-top:12px;width:100%}.role{display:flex;justify-content:space-between;gap:8px;background:transparent;border:1px solid transparent;color:#e5eefb;text-align:left;width:100%;padding:10px;margin:3px 0}.role:hover,.role.active{background:#283b54;border-color:#45618a}.num{font-size:12px;color:#f7bb7e}.content{min-width:0;padding:20px 25px}.contentHead{display:flex;align-items:center;justify-content:space-between;gap:20px}.contentHead h1{font-size:23px;margin:0}.filter{font-size:13px;color:#bbc6d8}.columns{display:grid;grid-template-columns:minmax(260px,1fr) minmax(300px,1.2fr);gap:15px;margin-top:13px}.messages{border:1px solid #33445e;border-radius:13px;overflow:hidden;background:#192337;min-height:440px}.message{display:block;border:0;border-bottom:1px solid #2c3b52;width:100%;padding:12px;background:none;color:#e8f0fc;text-align:left;border-radius:0;font-weight:400}.message:hover,.message.active{background:#283d59}.message .subject{display:block;font-weight:630;white-space:normal;word-break:break-word;margin:4px 0}.message .time{font-size:11px;color:#9daec5}.tag{display:inline-block;border-radius:5px;padding:2px 5px;background:#3b506a;color:#e7f2ff;font-size:10px}.tag.pending{background:#55432b;color:#ffdd99}.card{border:1px solid #364961;background:#192337;border-radius:13px;padding:20px}.detail{min-width:0;overflow-wrap:anywhere}.detail pre{font-family:inherit;white-space:pre-wrap;word-break:break-word;background:#111a29;padding:12px;border-radius:10px;max-height:360px;overflow:auto}.detail hr{border:0;border-top:1px solid #334761;margin:24px 0}label{display:block;font-size:13px;color:#bdcbe0;margin-top:10px}input:not([type=checkbox]),textarea{width:100%;background:#111c2c;color:#edf2f8;border:1px solid #49607c;border-radius:8px;padding:11px;margin:5px 0;font-family:inherit;font-size:14px}textarea{resize:vertical}#compose button{margin-top:12px}#older{width:calc(100% - 20px);margin:10px}.status{font-size:12px;line-height:1.5}.error{color:#ff968c}.login{max-width:500px;margin:70px auto}.login h1{font-size:22px}.login button{margin-top:8px}footer{font-size:11px;color:#8397b3;text-align:center;padding:20px}@media(max-width:1000px){main{grid-template-columns:160px 1fr}.columns{grid-template-columns:1fr}.messages{max-height:340px;overflow:auto;min-height:160px}.content{padding:15px}aside{padding:10px}}@media(max-width:640px){main{grid-template-columns:1fr}aside{border-right:0;border-bottom:1px solid #334057}.role{display:inline-flex;width:auto}.warning{margin:8px}.contentHead{display:block}.content{padding:10px}.login{margin:25px 10px}header{padding:10px}header strong{font-size:20px}}
.threads{margin-top:13px;padding:10px 14px}.threadHead{display:flex;align-items:center;justify-content:space-between;gap:12px}.threadHead h2{font-size:15px;margin:0}.threadHead .small{margin:0;width:auto;padding:6px 10px}.threadItems{display:flex;gap:8px;overflow:auto;min-height:20px;margin-top:10px}.thread{flex:0 0 auto;max-width:280px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;background:#263a52;color:#d6e6fa;border:1px solid #4a5e7a;padding:8px;font-size:12px}h4{font-size:12px;color:#9bc3f7;margin:15px 0 5px}

[hidden]{display:none!important}

.role.technical{opacity:.62}.role.technical:hover{opacity:1}

/* Human first: one visible conversation, technical proofs still reachable. */
.content{display:flex;flex-direction:column}
.contentHead{order:0}
#ownerThreadsCard{order:1}
.columns{order:2;grid-template-columns:minmax(300px,1.2fr) minmax(260px,1fr)}
.columns .detail{order:0}
.columns .messages{order:1}
#roleProbePanel{order:3}
#roleFlowPanel{order:4}
#ownerMailCard{order:5}
.warning summary,.threads summary,#technicalRoles summary{cursor:pointer}
.warning p{margin:8px 0 0}
#technicalRoles{margin-top:12px;font-size:12px;color:#b2c5e0}
#technicalRoles .role{font-size:12px}
#roleProbePanel .threadHead,#ownerMailCard .threadHead{margin-top:12px}
.threads summary{font-size:13px;color:#b4c7e3}
#ownerThreadsCard{border-color:#48658a}
#ownerThreadsCard .threadItems{flex-wrap:wrap}
@media(max-width:1000px){.columns{grid-template-columns:1fr}}

/* One human overview takes priority over internal G3 diagnostics. */
#myOverviewCard{order:1;border-color:#6781a2}
#ownerThreadsCard{order:2}
.columns{order:3}
#roleProbePanel{order:4}
#roleFlowPanel{order:5}
#ownerMailCard{order:6}
#myOverview .thread{max-width:340px;white-space:normal;text-align:left;line-height:1.45}

/* Only human conversation is visible until explicitly expanding technical details. */
.columns{display:flex;flex-direction:column;gap:14px}
.columns .detail{order:0;width:100%}
.columns .technicalInbox{order:1;max-width:100%}
.technicalInbox summary{padding:12px;cursor:pointer;font-size:13px;color:#a9bfdc}
.technicalInbox .messages{min-height:160px;max-height:380px;overflow-y:auto;margin-top:12px}
#compose{margin-top:12px}
#compose>label{font-size:15px;font-weight:620}
#body{min-height:140px;font-size:16px}
#optionalTopic{margin:10px 0;color:#b9c8dc;font-size:13px}
#optionalTopic summary{cursor:pointer}
#optionalTopic label{font-weight:normal}
#send{margin-top:12px}

/* One relationship first; specialists and technical lanes are disclosed on request. */
#specialists{margin:14px 0 6px;font-size:13px;color:#b8c9e4}
#specialists summary{cursor:pointer;margin:8px 0 10px}
#specialists .role{margin:2px 0}
#salomonRole .role{margin-top:12px}
.contentHead{order:0}
.columns{order:1}
#myOverviewCard{order:2}
#ownerThreadsCard{order:3}
#roleProbePanel{order:4}
#roleFlowPanel{order:5}
#ownerMailCard{order:6}
#ownerThreadsCard .threadHead{margin-top:10px}
#ownerThreadsCard>summary{cursor:pointer;font-size:13px;color:#b4c7e3}

/* Atmosfera: one human conversation first. Technical lanes are opt-in. */
:root{font-size:15px}
.login{max-width:470px;margin:6vh auto;padding:27px 30px;box-shadow:0 16px 55px rgba(0,0,0,.15)}
.loginLead{font-size:16px;line-height:1.5;color:#d8e5f6;margin:15px 0 22px}
#loginSubmit{width:100%;min-height:44px;margin-top:14px;font-size:15px}
#loginDeviceNotice{padding:10px 12px;border-left:3px solid #809cbf;background:#132033;line-height:1.5}
.loginHelp{margin-top:23px;border-top:1px solid #35465e;padding-top:14px}
.loginHelp summary{cursor:pointer;color:#a9c6e7}
.loginHelp p{font-size:12px;line-height:1.55;overflow-wrap:anywhere}
.loginHelp a{color:#9dc8ff}
#ownerWriteStatus{max-width:100%;order:0}
#activateWriting{margin:8px 0 14px;max-width:100%;font-size:14px}
#moreTools{order:95;margin-top:14px;background:#151d2b}
#moreTools>summary{cursor:pointer;color:#b9c9df;font-size:13px;padding:6px}
#moreTools .moreToolsInner{padding-top:10px}
#moreTools .threads{background:#182338}
#roleFlowPanel,#eKitCard,#collaborationPanel,#roleProbePanel,#ownerMailCard{margin:11px 0}
#ownerDecisionsCard{order:5}
#myOverviewCard{order:3}
#ownerThreadsCard{order:4}
.columns{order:1}
.contentHead{order:0}
.detail{border-color:#506a88}
#body{min-height:140px}
#send{min-height:42px}
#loginError:not(:empty){padding:10px 12px;background:#321c24;border:1px solid #79424a;border-radius:8px;font-size:14px}
@media(max-width:640px){.login{padding:19px;margin:12px}.loginLead{font-size:15px}#moreTools{margin-top:12px}}

/*
 * ATMOSFERA MESSENGER UI — MIT-adapted layout
 * Adapted from Rafael Mollá, whatsapp-web-ui, commit cadddbbde84a0906377a48a6945a6feb60e0652d
 * https://github.com/rafaelmollad/whatsapp-web-ui
 * Copyright (c) 2022 Rafael Mollá. MIT license notice and full text retained
 * at /home/salomon/ATMOSFERA_SOLO/qa/messenger_v1/LICENSE-RAFAEL-MOLLA-MIT.txt
 * Adapted CSS Grid sidebar/window, contacts and sender/receiver bubbles.
 * The UI uses only local data from Atmosfera/G3 — no external libraries/CDNs.
 */
body.messengerMode{
 --msg-bg:#101821;--msg-pane:#111b25;--msg-sidebar:#17212b;
 --msg-border:#263746;--msg-text:#e9f0f5;--msg-sub:#a0b2c0;
 --msg-accent:#31cda8;--msg-out:#164d49;--msg-in:#253543;
 color:var(--msg-text);background:var(--msg-bg);min-width:320px;
}
body.messengerMode>header{
 height:62px;min-height:62px;padding:9px 20px;background:#17212b;
 border-bottom:1px solid var(--msg-border);box-shadow:none
}
body.messengerMode>header .logo{
 width:36px;height:36px;line-height:33px;background:linear-gradient(135deg,#176b64,#34bda4);
 color:white;border-radius:12px;font-size:27px
}
body.messengerMode>header strong{font-size:19px;letter-spacing:.1px}
body.messengerMode>header small{font-size:11px;color:var(--msg-sub)}
body.messengerMode>header .pill{background:#20333d;border-color:#31534e;color:#a5d9c7}
body.messengerMode>.warning{display:none}
body.messengerMode>footer{display:none}
body.messengerMode #workspace{
 display:grid;grid-template-columns:minmax(280px,330px) minmax(0,1fr);
 min-height:0;height:calc(100dvh - 62px);max-height:calc(100dvh - 62px);overflow:hidden
}
/* CSS Grid + contact row adaptation from the upstream MIT chat interface. */
body.messengerMode .messengerSidebar{
 display:flex;flex-direction:column;min-height:0;min-width:0;
 padding:0;background:var(--msg-sidebar);border-right:1px solid var(--msg-border)
}
body.messengerMode .messengerSidebarHead{
 min-height:80px;padding:18px 18px 12px;display:flex;
 justify-content:space-between;align-items:center;gap:12px
}
body.messengerMode .messengerSidebarEyebrow{
 letter-spacing:2px;font-size:10px;color:#75c3b3;font-weight:700
}
body.messengerMode .messengerSidebarHead h2{
 font-size:23px;letter-spacing:-.5px;font-weight:700;margin:3px 0
}
body.messengerMode #messengerNewChat{
 font-size:25px;width:39px;height:39px;padding:0;border-radius:50%;
 background:#244338;color:#aeffe6;line-height:1
}
body.messengerMode .messengerSearch{
 display:flex;align-items:center;background:#233441;border:1px solid #2b4651;
 height:42px;border-radius:12px;margin:0 15px 15px;padding:0 14px;
 color:#88bcb3
}
body.messengerMode .messengerSearch span{font-size:27px;line-height:1;margin-right:9px}
body.messengerMode .messengerSearch input{
 flex:1;min-width:0;background:transparent;border:0;outline:0;
 color:var(--msg-text);margin:0;padding:10px 0;font-size:14px;box-shadow:none
}
body.messengerMode .messengerSearch input::placeholder{color:#9aafbd}
body.messengerMode .messengerNavScroll{overflow-y:auto;overflow-x:hidden;flex:1;min-height:0}
body.messengerMode .messengerNavScroll::-webkit-scrollbar,
body.messengerMode #detail::-webkit-scrollbar{width:7px}
body.messengerMode .messengerNavScroll::-webkit-scrollbar-thumb,
body.messengerMode #detail::-webkit-scrollbar-thumb{background:#3d515d;border-radius:8px}
body.messengerMode .messengerSectionTitle{
 padding:13px 20px 7px;font-size:11px;letter-spacing:.7px;text-transform:uppercase;
 color:#899fad;font-weight:700
}
body.messengerMode #messengerPeople,
body.messengerMode #messengerRecents{display:flex;flex-direction:column;gap:2px}
body.messengerMode .messengerContact,
body.messengerMode .messengerRecent{
 display:flex;align-items:center;gap:12px;min-width:0;width:100%;
 border:0;border-radius:0;background:transparent;color:var(--msg-text);
 padding:11px 18px;cursor:pointer;text-align:left;font-size:14px;font-weight:500
}
body.messengerMode .messengerContact:hover,
body.messengerMode .messengerRecent:hover{background:#24333e;filter:none}
body.messengerMode .messengerContact.active,
body.messengerMode .messengerRecent.active{
 background:#24463f;box-shadow:inset 3px 0 0 var(--msg-accent)
}
body.messengerMode .messengerAvatar{
 display:grid;place-items:center;flex-shrink:0;width:44px;height:44px;
 border-radius:50%;background:linear-gradient(135deg,#47707d,#35586a);
 color:white;font-size:17px;font-weight:700
}
body.messengerMode .messengerAvatar[data-role="salomon"]{background:linear-gradient(135deg,#29a68c,#236a78)}
body.messengerMode .messengerAvatar[data-role="atmosfera"]{background:linear-gradient(135deg,#507eac,#775ca2)}
body.messengerMode .messengerAvatar[data-role="sip"]{background:linear-gradient(135deg,#bf8464,#98634c)}
body.messengerMode .messengerAvatar[data-role="wizja"]{background:linear-gradient(135deg,#6e8b68,#366c6e)}
body.messengerMode .messengerContactInfo{display:block;min-width:0;flex:1}
body.messengerMode .messengerContactName{
 display:block;font-size:14px;font-weight:650;white-space:nowrap;overflow:hidden;text-overflow:ellipsis
}
body.messengerMode .messengerContactPreview{
 display:block;font-size:12px;color:#9cabb9;margin-top:4px;
 white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-weight:400
}
body.messengerMode .messengerEmpty{color:#8396a4;font-size:12px;margin:14px 20px 18px}
body.messengerMode .messengerLegacyNav{display:none}
body.messengerMode .messengerRefresh{
 flex-shrink:0;border:0;border-top:1px solid var(--msg-border);border-radius:0;
 padding:15px 22px;margin:0;background:#17212b;color:#b0c6c8;font-size:12px
}
body.messengerMode .content{
 display:flex;flex-direction:column;min-width:0;min-height:0;
 overflow:hidden;height:100%;padding:0;background:var(--msg-pane)
}
body.messengerMode .contentHead{
 order:0;position:relative;display:flex;flex-shrink:0;min-height:72px;
 padding:12px 22px;background:#1d2b36;border-bottom:1px solid #2b3c48;
 align-items:center;gap:15px
}
body.messengerMode .contentHead:before{
 content:"";width:42px;height:42px;flex-shrink:0;border-radius:50%;
 background:linear-gradient(135deg,#4c8d90,#296f71)
}
body.messengerMode .contentHead h1{font-size:17px;margin:0;letter-spacing:0;font-weight:670}
body.messengerMode .contentHead #roleStatus,
body.messengerMode .contentHead #realRoleActivity,
body.messengerMode .contentHead #salomonRuntime,
body.messengerMode .contentHead #sipRuntime,
body.messengerMode .contentHead #sipNotices,
body.messengerMode .contentHead #recipientIntro{display:none!important}
body.messengerMode .contentHead #messengerHeaderStatus{
 font-size:11px;color:#a0b7c1;margin-top:4px
}
body.messengerMode .messengerHeaderActions{margin-left:auto;display:flex;gap:8px}
/* Compact human-decision access, not a technical status banner. */
body.messengerMode #messengerHumanGateShortcut[hidden]{display:none}
body.messengerMode #messengerHumanGateShortcut:not([hidden]){
 display:inline-flex;align-items:center;justify-content:center;
 min-width:76px;height:34px;padding:0 9px;border:1px solid #557b78;
 border-radius:16px;background:#223a3d;color:#d9f4ee;
 font-size:11px;font-weight:650;white-space:nowrap
}
@media(max-width:610px){
 body.messengerMode .messengerHeaderActions{gap:5px}
 body.messengerMode #messengerHumanGateShortcut:not([hidden]){
  min-width:67px;height:30px;padding:0 6px;font-size:10px
 }
}

body.messengerMode #messengerInfo,
body.messengerMode #messengerMobileNav{
 min-width:34px;width:34px;height:34px;border:1px solid #3c505c;
 background:transparent;color:#bfd4dc;border-radius:50%;padding:0;font-size:17px
}
body.messengerMode #messengerMobileNav{display:none}
body.messengerMode #ownerWriteStatus{
 order:0;flex:0 0 auto;padding:0 22px;background:#26313a
}
body.messengerMode #ownerDeviceMode{
 margin:8px 0;background:#51402f;color:#f6d9ad;
 border-radius:8px;padding:9px 12px;font-size:12px
}
body.messengerMode #activateWriting{margin:5px 0 12px;background:#3a8e79;color:white}
/* Keep owner decisions accessible without pushing the chat composer
   below a small screen when the source-only G3 panel is expanded. */
body.messengerMode .content>#ownerAttentionCard{
 order:0;flex:0 1 auto;min-height:0;max-height:min(28dvh,225px);
 overflow-y:auto;overscroll-behavior:contain;
 margin:5px 14px 0
}
body.messengerMode .content>#ownerAttentionCard>summary{
 position:sticky;top:0;z-index:1;background:#1d2b36;
 padding:5px 0
}
body.messengerMode .content>.columns{
 order:1;flex:1;min-height:0;display:flex;flex-direction:column;
 margin:0;gap:0;padding:0
}
body.messengerMode .columns>.detail{
 display:flex;flex-direction:column;flex:1;min-height:0;width:100%;
 padding:0;border:0;border-radius:0;background:transparent;overflow:hidden
}
body.messengerMode .detail>h2,
body.messengerMode .detail>hr,
body.messengerMode .detail>.threadHead,
body.messengerMode .detail>p.muted,
body.messengerMode .detail>details,
body.messengerMode .detail>.messengerChatHint{display:none}
body.messengerMode #detail{
 position:relative;display:flex;flex-direction:column;gap:4px;
 flex:1;min-height:0;overflow-y:auto;padding:26px clamp(18px,6vw,86px) 35px;
 background:
 radial-gradient(circle at 20% 20%,rgba(36,73,69,.15),transparent 36%),
 radial-gradient(circle at 78% 85%,rgba(36,79,84,.13),transparent 40%),#111b25;
 font-size:14px;color:#afc0cc
}
body.messengerMode #detail>div{display:flex;flex-direction:column;gap:5px}
body.messengerMode #detail>div>h3,
body.messengerMode #detail>div>h4,
body.messengerMode #detail>div>p,
body.messengerMode #detail>div>pre,
body.messengerMode #detail>div>details{display:none}
body.messengerMode #detail>div>button{align-self:center;width:auto;margin:10px auto;padding:6px 13px}
body.messengerMode #detail .chatBubbleRow{
 display:flex;flex-direction:column;position:relative;min-width:0;
 max-width:min(76%,690px);margin:5px 0
}
body.messengerMode #detail .chatBubbleRow.outgoing{align-self:flex-end;align-items:flex-end}
body.messengerMode #detail .chatBubbleRow.incoming{align-self:flex-start;align-items:flex-start}
body.messengerMode #detail .chatBubble{
 font-size:14px;line-height:1.55;white-space:pre-wrap;overflow-wrap:anywhere;
 color:#edf7f5;background:#263946;padding:12px 14px;border-radius:15px;
 box-shadow:0 1px 1px rgba(0,0,0,.18)
}
body.messengerMode #detail .chatBubbleRow.outgoing .chatBubble{
 background:#185148;color:#e8fff5;border-bottom-right-radius:4px
}
body.messengerMode #detail .chatBubbleRow.incoming .chatBubble{
 background:#253440;color:#edf3f6;border-bottom-left-radius:4px
}
body.messengerMode #detail .chatTime{
 font-size:10px;line-height:1.3;color:#99acba;margin:5px 4px 0
}
body.messengerMode #detail .chatOwnerOffsiteLink{
 display:inline-flex;align-items:center;justify-content:center;
 min-height:42px;padding:8px 13px;margin-top:8px;
 border:1px solid #3f897b;border-radius:12px;
 color:#c9f4e9;background:#1d423d;font-size:12px;font-weight:650;
 text-decoration:underline;text-underline-offset:3px;
 overflow-wrap:anywhere;max-width:100%;text-align:center
}
body.messengerMode #detail .chatOwnerOffsiteLink:focus-visible{
 outline:2px solid #58dfc4;outline-offset:2px
}
body.messengerMode #detail .chatSystem{
 align-self:center;color:#9bb1bd;font-size:11px;margin:7px auto 15px;
 text-align:center;background:rgba(46,65,77,.65);border-radius:12px;
 padding:5px 14px;max-width:90%
}
body.messengerMode #detail>div>h3:first-child+.muted{display:none}
body.messengerMode #detail .chatBubbleRow .chatRawSource{display:none}
body.messengerMode #detail .chatBubbleRow details{display:none}
body.messengerMode #detail>div:empty{min-height:80px}
body.messengerMode #detail:empty:before{
 content:"Wybierz rozmowę lub napisz nową wiadomość";margin:auto;color:#9fb2be
}
/* Adapted type-message bar: original sends to the same signed /api/send. */
body.messengerMode #compose{
 display:grid;grid-template-columns:minmax(0,1fr) 76px;
 grid-template-rows:auto auto;grid-template-areas:"editor send" "topic topic";
 align-items:end;gap:9px;padding:14px 22px 8px;margin:0;
 background:#1d2b36;border-top:1px solid #2d4451;flex-shrink:0
}
body.messengerMode #compose>label{
 grid-area:editor;margin:0;font-size:0;color:transparent;min-width:0
}
body.messengerMode #body{
 display:block;min-height:46px;height:46px;max-height:148px;
 margin:0;padding:12px 15px;border-radius:13px;resize:none;
 background:#2b3e4a;border:1px solid #3b5260;font-size:14px;
 color:#eef5f8;line-height:1.5;outline:none
}
body.messengerMode #body:focus{border-color:#36b49c;box-shadow:0 0 0 2px rgba(58,183,159,.12)}
body.messengerMode #body::placeholder{color:#9bb1be}
body.messengerMode #send{
 grid-area:send;min-height:46px;min-width:0;width:76px;margin:0;
 background:#30c99e;color:#092a23;border-radius:12px;
 padding:0 12px;font-size:18px;display:flex;align-items:center;justify-content:center
}
body.messengerMode #send .sendText{display:none}
body.messengerMode #send:hover{background:#54e1bb}
body.messengerMode #compose #bodyLimit{
 grid-area:topic;display:none;margin:0;font-size:11px
}
body.messengerMode #compose #bodyLimit.error{display:block;color:#ffae9e}
body.messengerMode #optionalTopic{
 grid-area:topic;margin:0;font-size:11px;color:#a1b8c6
}
body.messengerMode #optionalTopic:not([open]){display:none}
body.messengerMode #sendStatus{
 font-size:11px;margin:0;padding:0 22px 10px;
 background:#1d2b36;color:#adc0ca;flex-shrink:0;max-height:57px;
 overflow:auto
}
body.messengerMode #sendStatus:empty{display:none}
/* Existing administrative DOM stays intact; owner opts in for diagnostics. */
body.messengerMode .content>#myOverviewCard,
body.messengerMode .content>#ownerDecisionsCard,
body.messengerMode .content>#ownerThreadsCard,
body.messengerMode .content>#moreTools,
body.messengerMode .columns>.technicalInbox{display:none}
body.messengerMode.showAdvanced .content>#myOverviewCard,
body.messengerMode.showAdvanced .content>#ownerDecisionsCard,
body.messengerMode.showAdvanced .content>#ownerThreadsCard,
body.messengerMode.showAdvanced .content>#moreTools{
 display:block;order:4;flex:0 0 auto;margin:8px 14px
}
body.messengerMode.showAdvanced .content{
 overflow-y:auto;height:calc(100dvh - 62px)
}
body.messengerMode.showAdvanced .columns{flex:0 0 78vh;min-height:480px}
body.messengerMode.showAdvanced .columns>.technicalInbox{
 display:block;order:1;flex:0 0 auto;margin:10px 14px
}
body.messengerMode.showAdvanced .messengerLegacyNav{display:block}
body.messengerMode.showAdvanced>.warning{display:block}
body.messengerMode.showAdvanced #detail>div>details,
body.messengerMode.showAdvanced #detail>div>h3,
body.messengerMode.showAdvanced #detail>div>p{display:block}
/* Historical G3 source text must be legible in the owner's explicit
   advanced view; the normal messenger hides raw technical envelopes. */
body.messengerMode.showAdvanced #detail>div>pre{
 display:block;white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word;
 padding:12px 14px;border:1px solid #344b59;border-radius:9px;
 background:#182734;color:#d5e6ef
}
body.messengerMode #myOverview .thread{max-width:350px}
body.messengerMode button:focus-visible,
body.messengerMode input:focus-visible,
body.messengerMode textarea:focus-visible{outline:2px solid #58dfc4;outline-offset:2px}
@media(max-width:850px){
 body.messengerMode #workspace{grid-template-columns:250px minmax(0,1fr)}
 body.messengerMode .messengerContact{padding:10px 13px}
 body.messengerMode #detail{padding:22px 19px}
 body.messengerMode #detail .chatBubbleRow{max-width:91%}
}
@media(max-width:610px){
 body.messengerMode>header{height:52px;min-height:52px;padding:8px 12px}
 body.messengerMode>header small{display:none}
 body.messengerMode>header strong{font-size:17px}
 body.messengerMode>header .pill{font-size:10px}
 body.messengerMode #workspace{height:calc(100dvh - 52px);max-height:calc(100dvh - 52px);
   grid-template-columns:minmax(0,1fr)}
 body.messengerMode .messengerSidebar{display:none}
 body.messengerMode.sidebarOpen .messengerSidebar{
   display:flex;position:fixed;left:0;right:0;top:52px;bottom:0;z-index:20;
   width:min(92vw,360px);box-shadow:20px 0 60px #0009
 }
 body.messengerMode #messengerMobileNav{display:grid;place-items:center}
 body.messengerMode .contentHead{min-height:62px;padding:9px 13px;gap:10px}
 body.messengerMode .contentHead:before{width:35px;height:35px}
 body.messengerMode .contentHead h1{font-size:15px}
 body.messengerMode #compose{padding:10px 9px 5px;gap:7px;grid-template-columns:minmax(0,1fr) 58px}
 body.messengerMode #send{width:58px;min-height:46px}
 body.messengerMode #sendStatus{padding:1px 10px 8px}
 body.messengerMode #detail{padding:14px 11px 22px}
 body.messengerMode #detail .chatBubbleRow{max-width:92%}
 body.messengerMode.showAdvanced .content{height:calc(100dvh - 52px)}
}

body.messengerMode #sendStatus{display:none}
body.messengerMode #messengerSendNotice{
 font-size:11px;line-height:1.45;margin:0;padding:0 22px 8px;
 background:#1d2b36;color:#a9c5cb;flex-shrink:0;max-height:56px;
 overflow:auto;overflow-wrap:anywhere
}
body.messengerMode #messengerSendNotice:empty{display:none}
body.messengerMode .chatBubbleRow.unsignedHold .chatBubble{
 background:#594332!important;color:#ffddb0!important
}
@media(max-width:610px){
 body.messengerMode #messengerSendNotice{padding:0 11px 7px}
}

/* Client-only visual unread indicator: no role ACK and no data mutation. */
body.messengerMode .messengerRecent.ownerReplyUnread,
body.messengerMode .messengerContact.ownerReplyUnread{
 background:#214235;box-shadow:inset 3px 0 #56d9ad;
}
body.messengerMode .messengerRecent.ownerReplyUnread .messengerContactPreview,
body.messengerMode .messengerContact.ownerReplyUnread .messengerContactPreview{
 color:#c6ffe3;font-weight:700;
}
body.messengerMode .thread.ownerReplyUnread,
.thread.ownerReplyUnread{border-color:#56d9ad;background:#224539;color:#f1fff8;font-weight:700;}
.role.ownerReplyUnread .num{color:#b8ffcf;font-weight:800;}

/* Compact owner-initiated control panel; never interrupts the conversation. */
.ownerSupervisionPanel{
 flex-shrink:0;margin:0 10px 7px;border:1px solid #3b5160;
 border-radius:10px;background:#1c2a35;padding:8px 10px;
 font-size:12px;color:#c7dce4
}
.ownerSupervisionPanel>summary{cursor:pointer;font-weight:650;font-size:13px;padding:2px 0}
.ownerSupervisionPanel[open]{max-height:min(48vh,450px);overflow-y:auto}
.ownerSupervisionTotals{line-height:1.5;margin:10px 0 8px;font-weight:550}
.ownerSupervisionRoles{display:flex;flex-direction:column;gap:6px}
.ownerSupervisionRoles>div{line-height:1.45;padding:6px;border-top:1px solid #3b4f5f;overflow-wrap:anywhere}
.ownerSupervisionRoles strong{display:block;font-size:12px}
.ownerSupervisionNote{font-size:11px;line-height:1.45;color:#a8bcca}
#ownerSupervisionReload{width:100%;padding:7px 9px;background:#2b4751;
 color:#ddf2f4;font-size:12px;margin-top:4px}

.latarnikConsentPanel{max-width:760px;margin:8px 0 12px;padding:8px 12px;
 border:1px solid #466b61;border-radius:10px;background:#203931;
 color:#e0eee9;font-size:12px}
.latarnikConsentPanel summary{font-weight:650;cursor:pointer}
.latarnikConsentPanel p{line-height:1.45}
.latarnikConsentPanel button{background:#347f70;color:white;font-size:12px;padding:8px 12px}
#latarnikConsentStatus{color:#d2eee4;white-space:pre-wrap}
body.messengerMode .latarnikConsentPanel{margin:8px 0 12px}

/* One human-facing Maruda history. Physical G3 SEND/ACK remain separate. */
#marudaUnifiedPanel[hidden]{display:none!important}
.marudaUnifiedPanel{margin:10px 16px;padding:10px 14px;border:1px solid #3a5760;
 border-radius:10px;background:#1b3037;color:#d7e6e5;font-size:12px;flex-shrink:0;
 max-height:40vh;overflow-y:auto}
.marudaUnifiedPanel summary{font-size:13px;font-weight:670;cursor:pointer}
.marudaUnifiedPanel .marudaUnifiedDisclaimer{color:#b5cacc;line-height:1.4;margin:8px 0}
.marudaUnifiedRoutes{display:flex;gap:7px;flex-wrap:wrap}
.marudaUnifiedRoutes button{background:#355760;color:white;font-size:12px;
 padding:8px 11px;border:1px solid #568080;border-radius:8px}
.marudaUnifiedRoutes button[aria-pressed="true"]{background:#167d78;border-color:#4bc7b9}
.marudaUnifiedItems{display:flex;flex-direction:column;gap:6px;margin:8px 0}
.marudaUnifiedItem{background:#263e46;border:1px solid #3c5861;border-radius:9px;padding:8px 11px}
.marudaUnifiedItem strong,.marudaUnifiedItem time{font-size:12px}
.marudaUnifiedItem p{font-size:12px;margin:5px 0;line-height:1.4;white-space:pre-wrap;overflow-wrap:anywhere}
.marudaUnifiedItem .marudaMeta{font-size:11px;color:#9fb6c3}
#marudaUnifiedMore{font-size:12px;background:#365e64;color:white;padding:7px 10px}
body.messengerMode .detail>.marudaUnifiedPanel{display:block;flex:0 0 auto}
body.messengerMode .detail>.marudaUnifiedPanel[hidden]{display:none!important}
@media(max-width:740px){
 .marudaUnifiedPanel{margin:5px 8px;padding:8px 10px;max-height:42vh}
}

body.messengerMode #detail .chatBubbleRow .chatExpand{
 align-self:flex-start;max-width:100%;border:0;border-radius:4px;
 background:transparent;color:#a9d8dc;
 padding:3px 4px;margin:0;font-size:12px;font-weight:500;
 text-align:left;line-height:1.35
}
body.messengerMode #detail .chatBubbleRow .chatExpand:hover{
 color:#e5f7f7;text-decoration:underline
}
body.messengerMode #detail .chatBubbleRow .chatExpand:focus-visible{
 outline:2px solid #7bdacb;outline-offset:2px
}
body.messengerMode #detail .chatBubbleRow .chatExpand:disabled{opacity:.75}

/* User-facing advanced list: one MARUDA. The second source address remains
   in G3 and is selectable within the shared Maruda conversation. */
body.messengerMode.showAdvanced #roles .role[data-role="maruda-poziomka"]{display:none}

/* Extremely short mobile view: keep the owner-attention list scrollable
   while reserving space for typing and the Send button. */
@media (max-width:610px) and (max-height:670px){
 body.messengerMode .content>#ownerAttentionCard{
  max-height:clamp(70px,calc(100dvh - 490px),170px)
 }
}

/* Small-height owner device safety notice remains readable by scrolling,
   instead of stealing the Send control from a 280x480 phone viewport. */
@media (max-height:600px) {
 body.messengerMode #ownerWriteStatus{
  max-height:100px;
  overflow-y:auto;
  overscroll-behavior:contain;
  border-bottom:1px solid #3c505c;
 }
}

/* Optional technical read receipt is not a compulsory chat action. */
body.messengerMode #detail>div>details.ownerReadProof{
 display:block;align-self:center;max-width:95%;margin:3px auto 12px;
 padding:0 4px;background:transparent;border:0;color:#9db0ba;font-size:11px;
}
body.messengerMode #detail>div>details.ownerReadProof>summary{
 cursor:pointer;text-align:center;font-size:11px;line-height:1.5;
}
body.messengerMode #detail>div>details.ownerReadProof[open]{
 padding:8px 12px;border:1px solid #38505e;border-radius:8px;
}

/* Keep the actual Send control reachable on narrow screens even when the
   legitimate owner-device warning is long. The warning stays scrollable. */
@media (max-width:610px){
 body.messengerMode #ownerWriteStatus{
  flex:0 1 auto;max-height:min(17dvh,110px);
  overflow-y:auto;overscroll-behavior:contain
 }
 body.messengerMode .content>#ownerAttentionCard{
  max-height:min(17dvh,125px)
 }
}

/* Narrow screens: do not let a long P0 notification turn the chat title
   into a 300px-tall header. All source links remain in the scrollable area. */
@media (max-width:610px){
 body.messengerMode .contentHead #messengerHeaderStatus{display:none}
 body.messengerMode .contentHead #messengerAttentionNotice:not([hidden]){
  max-height:min(9dvh,65px);overflow-y:auto;overscroll-behavior:contain;
  margin:3px 0 0;font-size:11px;line-height:1.4
 }
}


/* Ordinary messenger has no permanent technical-case bar above the chat.
   The verified G3 case list, P0 and decision source buttons remain intact
   under More (⋯), where the owner can expand and read them on demand.
   This is visual-only; no change to alerts, G3, P256, ACK or GO. */
body.messengerMode:not(.showAdvanced) .content>#ownerAttentionCard {
 display:none;
}
body.messengerMode.showAdvanced .content>#ownerAttentionCard {
 display:block;
}


/* Owner-only signed SIP283 project board. Not the five-role shared ACL. */
body.messengerMode #sip283OwnerOpen{
  width:auto;min-width:94px;height:34px;border:1px solid #3c505c;
  border-radius:16px;padding:0 10px;font-size:12px;background:transparent;color:#bfd4dc;
}
body.messengerMode #sip283OwnerRoom:not([hidden]){
  display:flex;flex-direction:column;position:fixed;inset:60px 14px 14px clamp(190px,26vw,355px);
  z-index:45;background:#1b2831;color:#e3eff2;border:1px solid #41606b;border-radius:12px;
  box-shadow:0 8px 26px #08131b9f;padding:16px;overflow-y:auto;overscroll-behavior:contain;
}
body.messengerMode #sip283OwnerRoom .sip283RoomHead{
  display:flex;justify-content:space-between;gap:8px;align-items:center;
}
body.messengerMode #sip283OwnerRoom h3{margin:2px 0 8px;font-size:18px}
body.messengerMode #sip283OwnerTargets{display:flex;gap:6px;flex-wrap:wrap;padding:8px 0 10px}
body.messengerMode #sip283OwnerHistory{display:flex;flex-direction:column;gap:8px}
body.messengerMode #sip283OwnerHistory .sip283OwnerEvent{
  display:flex;flex-direction:column;text-align:left;align-items:start;
  background:#233541;color:inherit;padding:10px;border:1px solid #415c6c;border-radius:8px;gap:5px;
}
body.messengerMode #sip283OwnerHistory small{font-size:11px;color:#a9bdc7}
body.messengerMode #sip283RoomState{font-size:12px;color:#aecad6;line-height:1.5}
@media (max-width:810px) {
  body.messengerMode #sip283OwnerRoom:not([hidden]){inset:54px 6px 6px 6px;padding:10px}
  body.messengerMode #sip283OwnerOpen{min-width:72px;font-size:11px;padding:0 7px}
}


/* 320–430px: keep SIP283 and one owner question reachable without
   cutting off the hamburger or More menu. Accessible labels stay in DOM. */
@media (max-width:430px){
  body.messengerMode .messengerHeaderActions{gap:3px;flex:0 0 auto}
  body.messengerMode #sip283OwnerOpen{
    min-width:48px;width:48px;max-width:48px;padding:0;font-size:0;
  }
  body.messengerMode #sip283OwnerOpen::before{content:"SIP";font-size:12px}
  body.messengerMode #ownerSip283QuestionShortcut{
    min-width:28px!important;width:28px!important;max-width:28px!important;
    padding:0!important;height:32px;font-size:0!important;overflow:hidden;
  }
  body.messengerMode #ownerSip283QuestionShortcut::before{content:"?";font-size:15px}
  body.messengerMode #messengerInfo,
  body.messengerMode #messengerMobileNav{
    min-width:30px;width:30px;height:30px;font-size:15px;
  }
  body.messengerMode .contentHead h1{
    min-width:0;max-width:85px;overflow:hidden;text-overflow:ellipsis;
    white-space:nowrap;
  }
}

/* Three P256-verified historical owner statements, no unfiltered inbox. */
body.messengerMode #sip283EarlierSignedContext{display:flex;flex-direction:column;gap:8px;margin:4px 0 14px}
body.messengerMode #sip283EarlierSignedContext h4{margin:8px 0 2px;color:#d4e5eb;font-size:13px}
body.messengerMode #sip283EarlierSignedContext .sip283HistoricOwnerEvent{background:#20313d;border-left:3px solid #438a90;border-radius:7px;padding:10px 12px}
body.messengerMode #sip283EarlierSignedContext strong{display:block;font-size:13px}
body.messengerMode #sip283EarlierSignedContext small{display:block;margin-top:4px;color:#b1c5cd;font-size:11px}
body.messengerMode #sip283EarlierSignedContext p{white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px;line-height:1.5;margin:8px 0 0}

/* Exact G3 role replies under the three historical owner P256 statements. */
body.messengerMode .sip283HistoricOwnerEvent .sip283RoleReply{margin:9px 0 0;border-top:1px solid #49616d;padding-top:8px}
body.messengerMode .sip283HistoricOwnerEvent .sip283RoleReply summary{cursor:pointer;font-size:12px;color:#b7d9e4;line-height:1.5}
body.messengerMode .sip283HistoricOwnerEvent .sip283RoleReply p{white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px;line-height:1.5}

/* One explicit @ role picker in the SIP283 owner board (no auto-send). */
body.messengerMode #sip283OwnerTargets{display:flex;flex-direction:column;align-items:stretch;gap:4px}
body.messengerMode #sip283RecipientPicker{min-width:0;width:100%;box-sizing:border-box;height:38px;border-radius:7px;background:#172730;color:#e3f0f4;border:1px solid #52707b;padding:6px 10px;font-size:14px}
body.messengerMode #sip283RecipientSuggestions:not([hidden]){display:flex;flex-direction:column;gap:4px;max-height:170px;overflow-y:auto;border:1px solid #486673;background:#253540;padding:5px;border-radius:7px}
body.messengerMode #sip283RecipientSuggestions[hidden],body.messengerMode #sip283RecipientSuggestions>[hidden]{display:none!important}
body.messengerMode #sip283RecipientSuggestions button{text-align:left;width:100%;justify-content:flex-start}
body.messengerMode #sip283RecipientSuggestions button[aria-selected=true]{border:1px solid #8ac8da;background:#38535d}

/* The SIP283 project is one owner-only view, not an additional G3 recipient. */
#sip283ProjectSidebar{display:none}
body.messengerMode #sip283ProjectSidebar{display:flex;width:100%;min-width:0}
body.messengerMode #sip283ProjectSidebar[hidden]{display:none!important}
body.messengerMode #sip283ProjectSidebar .messengerAvatar{background:linear-gradient(135deg,#517d81,#3d5963);font-size:12px}

/* SIP283 is the existing messenger's group conversation, not a modal table. */
body.messengerMode #sip283GroupConversation{display:none}
body.messengerMode.sip283GroupActive #detail{display:none}
body.messengerMode.sip283GroupActive #sip283GroupConversation:not([hidden]){
 display:flex;flex-direction:column;flex:1;min-width:0;min-height:0;
 color:#e7f0f2;background:#111b25
}
body.messengerMode #sip283GroupConversation .sip283GroupHeader{
 flex-shrink:0;display:flex;flex-direction:column;gap:4px;
 padding:12px clamp(14px,5vw,68px);background:#1b2c35;
 border-bottom:1px solid #344b58
}
body.messengerMode #sip283GroupConversation .sip283GroupHeader strong{font-size:16px}
body.messengerMode #sip283GroupConversation .sip283GroupHeader small{font-size:11px;color:#a9c3cd}
body.messengerMode #sip283GroupConversation #sip283GroupRoute{
 font-size:12px;color:#b4e8dd;line-height:1.35
}
body.messengerMode #sip283GroupTimeline{
 flex:1;min-height:0;overflow-y:auto;display:flex;flex-direction:column;gap:5px;
 padding:18px clamp(14px,6vw,86px) 28px;
 background:radial-gradient(circle at 20% 20%,rgba(36,73,69,.15),transparent 36%),#111b25;
}
body.messengerMode #sip283GroupTimeline .chatBubbleRow{
 display:flex;flex-direction:column;position:relative;min-width:0;
 max-width:min(76%,690px);margin:5px 0
}
body.messengerMode #sip283GroupTimeline .chatBubbleRow.outgoing{align-self:flex-end;align-items:flex-end}
body.messengerMode #sip283GroupTimeline .chatBubbleRow.incoming{align-self:flex-start;align-items:flex-start}
body.messengerMode #sip283GroupTimeline .chatBubble{
 font-size:14px;line-height:1.55;white-space:pre-wrap;overflow-wrap:anywhere;
 color:#edf7f5;background:#263946;padding:12px 14px;border-radius:15px;
 box-shadow:0 1px 1px rgba(0,0,0,.18)
}
body.messengerMode #sip283GroupTimeline .chatBubbleRow.outgoing .chatBubble{
 background:#185148;color:#e8fff5;border-bottom-right-radius:4px
}
body.messengerMode #sip283GroupTimeline .chatBubbleRow.incoming .chatBubble{
 background:#253440;color:#edf3f6;border-bottom-left-radius:4px
}
body.messengerMode #sip283GroupTimeline .sip283GroupSender{
 font-size:11px;color:#a0cfc1;font-weight:650;margin:0 4px 4px
}
body.messengerMode #sip283GroupTimeline .chatTime{
 font-size:10px;line-height:1.3;color:#99acba;margin:5px 4px 0
}
body.messengerMode.sip283GroupActive #compose{border-top:1px solid #365f59}
@media (max-width:640px){
 body.messengerMode #sip283GroupTimeline{padding:13px 12px 24px}
 body.messengerMode #sip283GroupTimeline .chatBubbleRow{max-width:90%}
 body.messengerMode #sip283GroupConversation .sip283GroupHeader{padding:10px 12px}
}
body.messengerMode #sip283GroupTimeline .sip283GroupEvidence{
 max-width:100%;margin:5px 4px 0;color:#9db6c0;font-size:11px
}
body.messengerMode #sip283GroupTimeline .sip283GroupEvidence summary{
 cursor:pointer;text-decoration:underline;text-underline-offset:2px
}
body.messengerMode #sip283GroupTimeline .sip283GroupEvidence pre{
 white-space:pre-wrap;overflow-wrap:anywhere;max-height:210px;
 overflow:auto;padding:9px;border:1px solid #3c5660;border-radius:7px;
 background:#202f3a;color:#d3e1e4;font-size:11px
}

/* User-gesture-only browser notices while this tab runs; never imply push. */
body.messengerMode .messengerSidebarActions{display:flex;align-items:center;gap:6px}
body.messengerMode #ownerNoticeToggle{
  width:36px;min-width:36px;height:36px;padding:0;
  border:1px solid #48616d;background:#20333d;border-radius:50%;
  display:inline-flex;align-items:center;justify-content:center;font-size:18px;
}
body.messengerMode #ownerNoticeToggle.ownerNoticeEnabled{
  color:#b4f2df;border-color:#5b9a89;background:#24453e
}
body.messengerMode #ownerNoticeToggle.ownerNoticeNew{
  box-shadow:0 0 0 2px #e1b263
}
body.messengerMode #ownerNoticeStatus:not([hidden]){
  margin:1px 12px 9px;padding:8px 10px;font-size:11px;line-height:1.4;
  border-radius:7px;background:#263845;color:#c0d9e2
}


/* Visible signed-owner reply banner even when the mobile sidebar is closed.
   No private text, no spurious notification if owner has not opted in. */
body.messengerMode #ownerNoticeForegroundToast:not([hidden]){
  display:block;position:fixed;top:65px;right:12px;
  width:max-content;max-width:calc(100vw - 24px);
  padding:12px 16px;border-radius:10px;
  border:1px solid #527e71;background:#203f37;color:#e4f9ef;
  box-shadow:0 5px 25px #0006;z-index:90;
  font-size:13px;line-height:1.4;pointer-events:none;
}
@media(max-width:640px){
 body.messengerMode #ownerNoticeForegroundToast:not([hidden]){
   top:56px;left:12px;right:12px;width:auto;
 }
}


/* OWNER_MOBILE_BELL_IN_HEADER_20261119
   Use the same opt-in bell, moved from hidden mobile sidebar into
   visible chat header. One control, original event handler, no duplicate. */
@media(max-width:430px){
 body.messengerMode .messengerHeaderActions #ownerNoticeToggle{
   min-width:30px;width:30px;height:30px;font-size:15px;
   flex:0 0 30px;
 }
}

/* Optional, read-only phone URL/QR. No overlay on normal chat. */
body.messengerMode .ownerPhoneLinkPanel{margin:6px 7px 11px;padding:10px;border:1px solid #4b6385;border-radius:9px;background:#162439;color:#dce8f6;font-size:12px;overflow-wrap:anywhere}
/* The phone QR and off-site link share one long panel. The sidebar is a
   fixed-height flex column: without a bounded LOCAL scrollbar, the actual
   remote link fell below the mobile viewport and was impossible to tap. */
body.messengerMode .ownerPhoneLinkPanel{
 flex:0 1 auto;min-height:0;max-height:min(62dvh,560px);
 overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain
}

body.messengerMode .ownerPhoneLinkPanel p{margin:6px 0;line-height:1.4}
body.messengerMode .ownerPhoneLinkPanel img{display:block;width:188px;height:188px;max-width:100%;object-fit:contain;margin:8px auto;background:white;border-radius:6px}
body.messengerMode .ownerPhoneLinkPanel a{display:block;overflow-wrap:anywhere;color:#b9dcff;font-size:11px;margin:8px 0}
body.messengerMode .ownerPhoneLinkPanel button{width:100%;margin:4px 0 0;padding:7px 10px}
