/* Kedu R7D: mobile-first Smart Tags; no message transport changes. */
.kedu-tag-member-row{align-items:center;gap:10px;flex-wrap:wrap;min-width:0}
.kedu-tag-member-details{display:flex;flex:1 1 180px;min-width:0;flex-direction:column;gap:5px}
.kedu-tag-member-details .kedu-member-profile{display:inline-flex;gap:8px;align-items:center;min-width:0;max-width:100%;overflow-wrap:anywhere}
.kedu-tag-member-metadata{display:flex;flex-wrap:wrap;gap:5px;align-items:center}
.kedu-tag-member-metadata .kedu-tag-role{font-size:11px;text-transform:capitalize;opacity:.85;margin-right:3px}
.kedu-tag-member-metadata .kedu-tag-chip,.bubble .kedu-smart-tag{background:#e0f8eb!important;color:#036c45!important;border:1px solid #b4e4c9;border-radius:99px;padding:2px 8px;display:inline-flex;align-items:center;font-size:11px;line-height:1.55;white-space:normal;overflow-wrap:anywhere;margin:0 3px 3px 0;max-width:100%}
.kedu-tag-edit{font:inherit;font-size:12px;font-weight:700;border:1px solid #a9dbbf;color:#067b50;background:#f1fbf5;border-radius:10px;min-height:36px;padding:7px 10px;cursor:pointer;flex-shrink:0}
.kedu-tag-edit:focus-visible{outline:3px solid #16a66d;outline-offset:2px}
.kedu-tag-help{font-size:12px;line-height:1.5;color:var(--muted,#587469);margin:3px 0 10px}
@media(max-width:520px){.kedu-tag-member-row{gap:6px}.kedu-tag-edit{margin-left:auto}.kedu-tag-member-details{flex-basis:155px}}
@media(prefers-color-scheme:dark){.kedu-tag-member-metadata .kedu-tag-chip,.bubble .kedu-smart-tag{background:#123c30!important;color:#beefd4!important;border-color:#2e6d55}.kedu-tag-edit{background:#123c30;color:#beefd4;border-color:#2e6d55}}
/* Groups composer: reuse Batch 6's existing functional + toggle, never duplicate media handlers. */
#workspace #composer{position:relative;min-width:0;gap:8px}
#workspace #composer textarea{flex:1 1 auto;min-width:0;width:100%}
#workspace #composer .k6-controls{flex:0 0 auto;min-width:0;margin:0}
#workspace #composer .k6-toggle{display:inline-flex!important;font-size:25px!important;min-height:43px!important;min-width:43px!important;width:43px;height:43px;border-radius:50%!important;background:#dcf8e9!important;color:#06794f!important;font-weight:800}
#workspace #composer .k6-options{display:none!important;position:absolute;z-index:220;left:8px;bottom:calc(100% + 9px);min-width:min(290px,calc(100vw - 30px));max-width:calc(100vw - 30px);max-height:min(65dvh,350px);overflow:auto;flex-direction:column;align-items:stretch;gap:6px;border-radius:18px;padding:10px;background:var(--surface,#fff);box-shadow:0 16px 45px #0d352a36;border:1px solid #cee7db}
#workspace #composer .k6-controls.open .k6-options{display:flex!important}
#workspace #composer .k6-options .k6-action{display:flex!important;align-items:center;justify-content:flex-start;width:100%;min-width:0!important;min-height:46px!important;gap:10px;border-radius:12px;padding:8px 12px!important;font-size:21px!important}
#workspace #composer .k6-options .k6-action::after{content:attr(data-k6-label);font-size:14px;font-weight:750;line-height:1.3;color:#244b38}
#workspace #composer .k6-options .k6-note-link{display:flex!important}
#workspace #composer .k6-toggle:focus-visible{outline:3px solid #11a46b;outline-offset:2px}
@media(max-width:480px){#workspace #composer{gap:5px}#workspace #composer .k6-controls{flex-shrink:0}#workspace #composer .k6-toggle{min-width:42px!important;width:42px;min-height:42px!important;height:42px}}
@media(prefers-color-scheme:dark){#workspace #composer .k6-options{background:#122e26;border-color:#31604a;color:#d3f1df}#workspace #composer .k6-options .k6-action::after{color:#d3f1df}}
