.mesh-rich{max-width:100%;min-width:0;margin:8px 0 18px;border:1px solid #b8cbb9;border-radius:10px;background:#fff;overflow:hidden;color:#232728}
.mesh-rich-source[hidden]{display:none!important}
.mesh-rich-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:5px;padding:8px;background:#f0f6f0;border-bottom:1px solid #dfe7e0}
.mesh-rich-toolbar button{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;margin:0!important;padding:7px 11px!important;background:#fff;color:#232728;border:1px solid #c5d6c7;border-radius:7px;box-shadow:none;font-size:14px;line-height:1.2}
.mesh-rich-toolbar button[data-command=bold]{font-weight:800}.mesh-rich-toolbar button[data-command=italic]{font-style:italic}.mesh-rich-toolbar button[data-command=underline]{text-decoration:underline}
.app-session .mesh-rich-toolbar button{background:#fff!important;color:#232728!important}
.app-session .mesh-rich-toolbar button[aria-pressed=true]{background:#d7e9d9!important;border-color:#5f8063!important}.app-session .mesh-rich-toolbar .mesh-rich-red{color:#c62828!important;font-weight:700}
.mesh-rich-toolbar .mesh-rich-color{display:inline-flex;align-items:center;gap:6px;margin:0!important;font-size:14px;font-weight:500;color:#232728}
.mesh-rich-toolbar input[type=color]{display:inline-block;box-sizing:border-box;width:44px!important;min-width:44px!important;height:44px;min-height:44px;margin:0!important;padding:3px!important;border:1px solid #c5d6c7;border-radius:7px;background:#fff;cursor:pointer}
.mesh-rich-area{display:block;min-height:120px;max-width:100%;padding:14px;font-size:16px;line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere;outline:0}
.mesh-rich-area:focus{box-shadow:inset 0 0 0 2px #789d7c}.mesh-rich-area[aria-invalid=true]{box-shadow:inset 0 0 0 2px #c62828}
.mesh-rich-area b,.mesh-rich-area strong{font-weight:700}.mesh-rich-area i,.mesh-rich-area em{font-style:italic}.mesh-rich-area u{text-decoration:underline}
.mesh-rich-hint{padding:5px 14px 8px;font-size:12px;color:#59605b;text-align:right}
.mesh-qr-panel[hidden]{display:none!important}
.mesh-qr-panel{padding:14px;background:#f6faf6;border-bottom:1px solid #dfe7e0;font-size:14px;min-width:0}
.mesh-qr-panel>strong{display:block;margin-bottom:12px}.mesh-qr-fields{display:grid;grid-template-columns:minmax(80px,1fr) minmax(0,2fr);gap:12px;min-width:0}
.mesh-qr-fields label{display:block!important;margin:0!important;font-size:14px!important;min-width:0}
.mesh-qr-fields input,.mesh-qr-fields select{box-sizing:border-box!important;width:100%!important;max-width:100%!important;min-width:0!important;min-height:44px!important;margin:6px 0 0!important;padding:8px!important;font-size:16px!important;background:#fff!important;color:#232728!important}
.mesh-qr-panel p{margin:10px 0;font-size:13px;line-height:1.5}.mesh-qr-panel .mesh-qr-error{color:#a41f1f}.mesh-qr-error:empty{display:none}
.mesh-qr-actions{display:flex;flex-wrap:wrap;gap:8px}.mesh-qr-actions button{margin:0!important;min-height:44px!important;padding:9px 12px!important;font-size:14px!important}
.app-session .mesh-qr-actions button:first-child{background:#5f8063!important;color:white!important}.app-session .mesh-qr-actions button:last-child{background:white!important;color:#232728!important;border:1px solid #b8cbb9!important}
@media(max-width:500px){.mesh-qr-fields{grid-template-columns:minmax(0,1fr)}.mesh-qr-panel{padding:12px}}
@media(max-width:500px){.mesh-rich-toolbar{gap:4px;padding:6px}.mesh-rich-toolbar button{font-size:13px;padding:6px 9px!important}.mesh-rich-area{padding:12px}}
