/* V10.17.47: compact, accessible group management presentation */
#btMyGroups{padding:8px!important;box-sizing:border-box}
#btMyGroups .panel{width:min(600px,100%)!important;max-height:calc(100dvh - 16px)!important;padding:14px!important;border-radius:16px!important;box-sizing:border-box;overscroll-behavior:contain}
#btMyGroups h2{font-size:19px;margin:2px 0 8px;line-height:1.3}
#btMyGroups h3{font-size:16px;margin:10px 0 7px;line-height:1.3;overflow-wrap:anywhere}
#btMyGroups p{margin:8px 0;line-height:1.45}
#btMyGroups button{padding:8px 10px!important;border-radius:9px!important;font-size:12px;min-height:36px;line-height:1.25}
#btMyGroups .group{padding:9px!important;margin:7px 0!important;border-radius:10px!important;gap:8px!important;min-width:0}
#btMyGroups .group>div:first-child{min-width:0;overflow-wrap:anywhere;flex:1}
#btMyGroups .bt-member-actions,#btMyGroups .actions{gap:5px!important;align-items:center}
#btMyGroups .bt-toolbar{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px!important;margin:8px 0!important}
#btMyGroups .bt-toolbar button{min-width:0!important;white-space:normal}
#btMyGroups .bt-tabs{gap:4px!important;margin:8px 0!important}
#btMyGroups .bt-tabs button{min-width:0}
#btMyGroups .bt-person{gap:8px!important;padding:8px 0!important;flex-wrap:nowrap!important}
#btMyGroups .bt-person .avatar{width:32px!important;height:32px!important;font-size:13px}
#btMyGroups .bt-person .details{min-width:0!important;flex:1!important;font-size:13px}
#btMyGroups .bt-person select,#btMyGroups .request-role{max-width:125px!important;min-width:0!important;width:100%!important;padding:7px!important;font-size:12px}
#btMyGroups .bt-person>div:last-child{flex:0 0 125px;max-width:125px;font-size:12px}
#btMyGroups .bt-settings{padding:10px!important;margin:7px 0!important}
#btMyGroups #btGroupStatus{font-size:12px;color:#745132;overflow-wrap:anywhere}
#btMyGroups button:focus-visible,#btMyGroups select:focus-visible{outline:2px solid #a85d12;outline-offset:2px}
@media(max-width:440px){#btMyGroups .panel{padding:10px!important}#btMyGroups .group{flex-wrap:wrap!important}#btMyGroups .group>.bt-member-actions{width:100%;justify-content:flex-end}#btMyGroups .bt-person{flex-wrap:nowrap!important}#btMyGroups .bt-person>div:last-child{flex-basis:112px;max-width:112px}#btMyGroups .bt-person select{max-width:112px!important}#btMyGroups .bt-toolbar button{font-size:11px;padding:7px 3px!important}}

/* V10.17.51 unified compact group shell */
#btMyGroups .panel{width:min(980px,100%)!important}
#btMyGroups .bt-group-top{display:flex;align-items:center;gap:9px;min-width:0}
#btMyGroups .bt-group-top h3{margin:0!important;flex:1}
#btMyGroups .bt-group-top button{flex:none}
#btMyGroups .bt-tabs{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px!important}
#btMyGroups .bt-tabs button{padding:8px 3px!important;white-space:normal!important}
#btMyGroups .bt-member-tools[hidden]{display:none!important}
#btMyGroups .bt-unified-embedded .bt-yatra-window{box-shadow:none!important;border:0!important;padding:0!important;max-width:none!important;width:100%!important}
#btMyGroups .bt-unified-embedded .bt-yatra-window>header,#btMyGroups .bt-unified-embedded .bt-yatra-toolbar,#btMyGroups .bt-unified-embedded .bt-yatra-window>footer{display:none!important}
#btMyGroups .bt-unified-embedded .bt-yatra-pane>h3{display:none!important}
#btMyGroups .bt-unified-embedded .bt-yatra-tabs{display:flex!important;flex-wrap:wrap!important;gap:5px!important;padding:5px 0!important}
#btMyGroups .bt-unified-embedded .bt-yatra-tabs button{flex:1 1 auto!important;min-width:0!important;padding:7px 9px!important;font-size:12px!important}
#btMyGroups .bt-unified-embedded .bt-yatra-pane{padding:4px 0!important}
#btMyGroups .bt-unified-embedded .bt-yatra-overlay{position:static!important;background:transparent!important;overflow:visible!important}
#btMyGroups #btGroupStatus{display:none!important}
@media(max-width:540px){#btMyGroups .bt-tabs button{font-size:11px!important}#btMyGroups .bt-unified-embedded .bt-yatra-tabs button{font-size:11px!important}}

/* V10.17.52 compact unified layout */
#btMyGroups .panel{width:min(1040px,100%)!important;max-height:94dvh!important;padding:14px!important}
#btMyGroups .bt-tabs{grid-template-columns:repeat(4,minmax(0,1fr))!important;margin:8px 0!important}
#btMyGroups .bt-tabs button{padding:8px 5px!important}
#btMyGroups .bt-member-tools[hidden]{display:none!important}
#btMyGroups .bt-unified-embedded .bt-yatra-tabs{display:none!important}
#btMyGroups .bt-unified-embedded .bt-yatra-window>footer,#btMyGroups .bt-unified-embedded .bt-yatra-window footer{display:none!important}
#btMyGroups .bt-unified-embedded [class*="stat-card"],#btMyGroups .bt-unified-embedded [class*="summary-card"]{min-height:85px!important;padding:10px!important}
#btMyGroups .bt-approval-error{color:#a52a1a;font-size:12px;width:100%;margin-top:8px;overflow-wrap:anywhere}
@media(max-width:600px){#btMyGroups .panel{padding:10px!important}#btMyGroups .bt-tabs button{font-size:11px!important}#btMyGroups .group{flex-wrap:wrap!important}#btMyGroups .group .actions{flex-wrap:wrap!important}}

/* V10.17.54: Restore all established Yatra modules; member tools only in Members tab. */
#btMyGroups .bt-unified-embedded .bt-yatra-tabs{display:flex!important;flex-wrap:wrap!important;gap:6px!important;margin:8px 0!important}
#btMyGroups .bt-unified-embedded .bt-yatra-tabs button{flex:1 1 145px!important;white-space:normal!important}
#btMyGroups .bt-member-tools[hidden]{display:none!important}
#btMyGroups .bt-member-count{font-size:14px;font-weight:700;padding:10px 12px;margin:6px 0;background:#fff0d5;border:1px solid #e8c58f;border-radius:10px}
#btMyGroups .bt-unified-embedded .bt-dash-basic:first-child small::after{content:' (యాత్ర నమోదు)';font-size:11px}
#btMyGroups .bt-unified-embedded .bt-dashboard-card-grid .bt-dash-uniform{min-height:100px!important;padding:12px!important}
@media(max-width:600px){#btMyGroups .bt-unified-embedded .bt-yatra-tabs button{flex:1 1 calc(50% - 6px)!important}#btMyGroups .bt-unified-embedded .bt-dashboard-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}

/* V10.17.56: Mobile compact cards, hide internal instructions, safe avatar fallback. */
#btMyGroups .panel > p:has(small){display:none!important}
#btMyGroups .bt-unified-embedded .bt-dashboard-card-grid{gap:10px!important}
#btMyGroups .bt-unified-embedded .bt-dash-uniform{min-height:104px!important;padding:12px 8px!important}
#btMyGroups .bt-unified-embedded .bt-dash-uniform strong{font-size:25px!important}
#btMyGroups .bt-photo-fallback{display:grid;place-items:center;width:56px;height:56px;border-radius:50%;background:#f5e4bd}
@media(max-width:600px){#btMyGroups .bt-unified-embedded .bt-dashboard-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}#btMyGroups .bt-unified-embedded .bt-dash-uniform{min-height:100px!important}#btMyGroups .bt-unified-embedded .bt-dash-uniform strong{font-size:23px!important}}
