.modal.cx-sheet{flex-direction:column;max-width:640px;max-height:min(88dvh,860px);padding:0;display:flex;overflow:hidden}.modal.cx-sheet>.modal-header{border-bottom:1px solid var(--line);flex-shrink:0;margin:0;padding:18px 22px 14px}.cx-form{flex-direction:column;flex:1;min-height:0;display:flex}.cx-body{overscroll-behavior:contain;flex-direction:column;flex:1;gap:16px;min-height:0;padding:18px 22px 22px;display:flex;overflow-y:auto}.cx-foot{border-top:1px solid var(--line);background:var(--surface);flex-direction:column;flex-shrink:0;gap:8px;padding:12px 22px 14px;display:flex}.cx-foot-row{justify-content:flex-end;gap:10px;display:flex}.cx-status{color:var(--muted);font-size:12.5px}.cx-to{background:var(--tint,var(--surface2));border:1px solid var(--line);border-radius:14px;align-items:center;gap:12px;padding:10px 12px;display:flex}.cx-to span{flex-direction:column;min-width:0;display:flex}.cx-to small{color:var(--muted);letter-spacing:.06em;text-transform:uppercase;font-size:11px}.cx-label{flex-direction:column;gap:6px;display:flex;position:relative}.cx-label>span{font-size:14px;font-weight:600}.cx-label textarea{resize:vertical;min-height:150px}.cx-count{color:var(--muted);align-self:flex-end;font-size:11px}.cx-legal{color:var(--muted);align-items:flex-start;gap:8px;margin:0;font-size:12.5px;line-height:1.55;display:flex}.cx-legal svg{color:var(--green);flex-shrink:0;margin-top:2px}.cx-field{border:1px dashed color-mix(in srgb, var(--green) 35%, var(--line));background:color-mix(in srgb, var(--surface2) 45%, transparent);border-radius:16px;flex-direction:column;gap:10px;padding:12px;transition:background-color .15s,border-color .15s;display:flex}.cx-field.over{border-color:var(--green);background:var(--tint,var(--surface2))}.cx-field.compact{border-style:solid;gap:8px;padding:8px}.cx-field-head{justify-content:space-between;align-items:baseline;display:flex}.cx-field-head span{font-size:14px;font-weight:600}.cx-field-head small{color:var(--muted);font-size:12px}.cx-tools{grid-template-columns:repeat(3,1fr);gap:8px;display:grid}.cx-tool{border:1px solid var(--line);background:var(--surface);min-height:44px;color:var(--text);font:inherit;cursor:pointer;border-radius:12px;justify-content:center;align-items:center;gap:6px;padding:8px 10px;font-size:13px;font-weight:600;transition:transform .12s,border-color .12s;display:flex}.cx-tool:hover:not(:disabled){border-color:var(--green);color:var(--green)}.cx-tool:active:not(:disabled){transform:scale(.97)}.cx-tool:disabled{opacity:.45;cursor:not-allowed}.cx-tool small{color:var(--muted);font-size:11px;font-weight:500}.cx-hint{color:var(--muted);margin:0;font-size:11.5px;line-height:1.5}.cx-rejections{background:color-mix(in srgb, var(--danger) 10%, var(--surface));color:var(--danger);border-radius:10px;gap:3px;margin:0;padding:8px 12px;font-size:12.5px;list-style:none;display:grid}.cx-list{gap:6px;margin:0;padding:0;list-style:none;display:grid}.cx-item{background:var(--surface);border:1px solid var(--line);border-radius:12px;align-items:center;gap:10px;padding:8px 8px 8px 10px;display:flex}.cx-item.is-bad{border-color:color-mix(in srgb, var(--danger) 45%, var(--line))}.cx-item-text{flex-direction:column;flex:1;gap:3px;min-width:0;display:flex}.cx-item-text strong{text-overflow:ellipsis;white-space:nowrap;font-size:13px;overflow:hidden}.cx-item-text small{color:var(--muted);align-items:center;gap:4px;font-size:11.5px;display:flex}.cx-item-text small.bad{color:var(--danger)}.cx-audio{align-items:flex-start}.cx-audio-badge{background:var(--lime);width:32px;height:38px;color:var(--deep);border-radius:8px;flex-shrink:0;place-items:center;display:grid}.cx-icon{width:36px;height:36px;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:10px;flex-shrink:0;place-items:center;display:grid}.cx-icon:hover:not(:disabled){background:var(--surface2);color:var(--text)}.cx-icon:disabled{opacity:.4;cursor:not-allowed}.cx-bar{background:var(--surface2);border-radius:4px;height:4px;display:block;overflow:hidden}.cx-bar>span{background:var(--green);transform-origin:0;height:100%;transition:transform .2s;display:block}[dir=rtl] .cx-bar>span{transform-origin:100%}.cx-bar>span.indet{animation:1.1s ease-in-out infinite cx-pulse}@keyframes cx-pulse{0%,to{opacity:.35}50%{opacity:1}}.cx-player{width:100%;height:36px;margin-top:4px}.cx-confirm{flex-direction:column;gap:10px;animation:.16s both cx-in;display:flex}.cx-confirm p{flex-direction:column;gap:2px;margin:0;font-size:13px;display:flex}.cx-confirm p span{color:var(--muted)}.cx-confirm-actions{justify-content:flex-end;gap:8px;display:flex}@keyframes cx-in{0%{opacity:0;transform:translateY(4px)}}.cx-original{background:var(--tint,var(--surface2));border:1px solid var(--line);border-radius:14px;padding:12px 14px}.cx-original small{color:var(--muted);letter-spacing:.06em;text-transform:uppercase;font-size:11px}.cx-original p{white-space:pre-wrap;margin:4px 0 0}.cx-pager{justify-content:center;gap:8px;display:flex}.cx-thread{flex-direction:column;gap:10px;display:flex}.cx-msg{background:var(--surface2);border:1px solid var(--line);border-radius:16px 16px 16px 4px;align-self:flex-start;max-width:86%;padding:10px 12px}.cx-msg.mine{background:color-mix(in srgb, var(--green) 11%, var(--surface));border-radius:16px 16px 4px;align-self:flex-end}.cx-msg header{justify-content:space-between;align-items:baseline;gap:8px;font-size:12px;display:flex}.cx-msg header small{color:var(--muted)}.cx-msg p{white-space:pre-wrap;overflow-wrap:anywhere;margin:4px 0 0}.cx-received{flex-direction:column;gap:6px;margin-top:8px;display:flex}.cx-reply{flex-direction:column;gap:8px;max-height:50dvh;display:flex;overflow-y:auto}.cx-reply[hidden]{display:none}.cx-reply textarea{resize:vertical;min-height:64px}@media (max-width:767px){body .modal-backdrop:has(.cx-sheet){background:var(--surface);-webkit-backdrop-filter:none;backdrop-filter:none;align-items:stretch;padding:0}body .modal.cx-sheet{width:100%;max-width:none;height:100dvh;max-height:100dvh;box-shadow:none;border:0;border-radius:0;padding:0;overflow:hidden}body .cx-sheet>.modal-header{padding:calc(6px + env(safe-area-inset-top)) max(8px, env(safe-area-inset-right)) 6px max(16px, env(safe-area-inset-left));margin:0;position:static}[dir=rtl] body .cx-sheet>.modal-header{padding-inline:16px 8px}body .cx-body{padding:16px max(16px, env(safe-area-inset-left)) 20px}body .cx-foot{padding:10px 16px calc(10px + env(safe-area-inset-bottom));box-shadow:0 -6px 18px #16391b0d}body .cx-foot-row .btn{flex:1;justify-content:center;min-height:48px}body .cx-label textarea{min-height:160px}body .cx-tools{gap:6px}body .cx-tool{flex-direction:column;gap:2px;min-height:58px;font-size:12px}body .cx-msg{max-width:94%}body .cx-reply{max-height:46dvh}}@media (prefers-reduced-motion:reduce){.cx-confirm,.cx-bar>span.indet{animation:none}}.cxc .cxc-body{gap:14px}.cxc-meta{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;display:flex}.cxc-badge{background:var(--deep);color:var(--surface);letter-spacing:.02em;border-radius:999px;align-items:center;gap:6px;padding:4px 10px;font-size:11.5px;font-weight:700;display:inline-flex}.cxc-to{align-items:center;gap:8px;min-width:0;font-size:13px;display:inline-flex}.cxc-to .avatar,.cxc-to img{font-size:11px;width:28px!important;height:28px!important}.cxc-to small{color:var(--muted)}.cxc-to strong{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.cxc-sheet{background:var(--surface);border-inline-start:3px solid var(--deep);box-shadow:inset 0 0 0 1px var(--line);cursor:text;border-radius:16px;flex-direction:column;flex:1 0 auto;gap:6px;padding:16px 18px 18px;display:flex}.cxc .cxc-title,.cxc .cxc-title:focus{box-shadow:none;width:100%;min-height:0;font-family:var(--font-heading,inherit);color:var(--text);background:0 0;border:0;outline:none;padding:0;font-size:22px;font-weight:700;line-height:1.35}.cxc .cxc-title::placeholder{color:var(--muted);opacity:.8}.cxc .cxc-title[aria-invalid],.cxc .cxc-title[aria-invalid]::placeholder{color:var(--danger)}.cxc .pc-editor{min-height:32dvh;max-height:none;font-size:16.5px;line-height:1.75;overflow:visible}.cxc .pc-editor.is-empty:before{color:var(--muted);opacity:1}.cx-trays{flex-direction:column;gap:8px;display:flex}.cx-trays:empty{display:none}.cxc-bar{align-items:center;gap:10px;display:flex}.cxc-bar .pc-tools{margin-inline-end:auto}.cxc-bar .pc-tool:disabled{opacity:.4;cursor:not-allowed}.cxc-count{color:var(--muted);font-variant-numeric:tabular-nums;font-size:11px}.cxc-count.bad,.cx-status.bad{color:var(--danger)}@media (max-width:767px){body .cxc .cxc-sheet{border-radius:14px;padding:12px 14px 14px}body .cxc input.cxc-title.cxc-title.cxc-title{border:0;min-height:0;padding:0;font-size:20px}body .cxc .pc-editor{min-height:38dvh;font-size:17px}body .cxc-bar{flex-wrap:wrap}body .cxc-bar .btn{flex:1 0 100%;justify-content:center;min-height:48px}body .cxc-bar .pc-tool,body .cx-icon{width:44px;height:44px}body .cx-item-text{min-width:0}body .cx-player{height:44px}body .cx-reply textarea,body .cx-label textarea,body .cx-label input{font-size:16px}body .cx-msg{overflow-wrap:anywhere}body .cxc-to{flex:100%}body .cxc .cxc-title{font-size:20px}body .cx-body{overscroll-behavior:contain;scroll-padding-bottom:96px}}
