/* ====== غرفة الاجتماعات ====== */
.wrap:has(.mt:not([hidden])){display:block;padding-top:calc(22px + env(safe-area-inset-top));padding-bottom:110px}
.mt{width:100%;min-width:0;max-width:760px;margin:0 auto}
.mt[hidden],.mt [hidden]{display:none!important}
body.on-meet .fab{display:none}
.mt-new{margin:14px 0 4px}
.mt-pad{padding:14px;margin-top:14px}
.mt textarea{width:100%;font:inherit;font-size:16px;color:#fff;padding:13px 15px;border-radius:14px;border:1px solid rgba(255,255,255,.14);background:rgba(255,255,255,.05);
  margin-bottom:12px;outline:none;resize:vertical;min-height:96px;line-height:1.6}
.mt textarea:focus{border-color:#a68cff}
.mt-bk{width:42px;height:42px;min-height:0;padding:0;margin:0 0 12px;border-radius:13px;background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.14);box-shadow:none;display:grid;place-items:center}
.mt-bk svg{width:20px;height:20px;stroke:#fff;fill:none;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.mt-mg{display:flex;gap:10px;align-items:flex-start;margin-bottom:10px}
.mt-av{width:38px;height:38px;border-radius:50%;overflow:hidden;flex:none;background:#1b1e38}
.mt-av video,.mt-av img{width:100%;height:100%;object-fit:cover;object-position:center 15%;display:block}
.mt-bub{flex:1;background:#1b1e38;border:1px solid rgba(255,255,255,.08);border-radius:16px;padding:10px 12px;font-size:13.5px;line-height:1.7}
.mt-pp{display:flex;align-items:center;gap:10px;width:100%;min-height:0;margin:0 0 8px;padding:8px 10px;border-radius:14px;text-align:right;
  background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.1);box-shadow:none;color:#eef0ff;font-weight:400}
.mt-pp .mt-av{width:36px;height:36px}
.mt-pp b{flex:1;min-width:0;font-size:14px;font-weight:700}
.mt-pp small{display:block;font-size:11.5px;opacity:.55;font-weight:400;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mt-ck{width:24px;height:24px;border-radius:8px;border:1.5px solid rgba(255,255,255,.3);display:grid;place-items:center;font-size:14px;font-weight:800;flex:none}
.mt-pp.on{border-color:rgba(46,232,143,.4);background:rgba(46,232,143,.07)}
.mt-pp.on .mt-ck{background:#2ee88f;border-color:#2ee88f;color:#06291b}
.mt-more{width:100%;min-height:0;margin:2px 0 0;padding:8px;background:none;box-shadow:none;color:#eef0ff;opacity:.75;font-size:13px;font-weight:500}
.mt-act{display:flex;align-items:center;gap:12px;width:100%;min-height:0;margin:12px 0 0;padding:12px 14px;text-align:right;border-radius:18px;
  background:linear-gradient(160deg,rgba(143,107,255,.25),#12142a);border:1px solid rgba(143,107,255,.45);box-shadow:none;color:#eef0ff;font-weight:400}
.mt-act b{display:block;font-size:14.5px}
.mt-act small{font-size:12px;opacity:.65}
.mt-dot{width:9px;height:9px;border-radius:50%;background:#2ee88f;box-shadow:0 0 8px #2ee88f;flex:none;animation:agp-bl 1.6s infinite}
.mt-dot.y{background:#ffd27a;box-shadow:0 0 8px #ffd27a}
.mt-ps{display:block;width:100%;min-height:0;margin:0 0 10px;padding:13px 14px;text-align:right;border-radius:18px;background:#12142a;border:1px solid rgba(255,255,255,.08);box-shadow:none;color:#eef0ff;font-weight:400}
.mt-ps b{display:block;font-size:14.5px;margin-bottom:3px}
.mt-ps small{display:block;font-size:12px;opacity:.55}
.mt-ps p{font-size:13px;opacity:.8;margin-top:6px;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.mt-empty{text-align:center;opacity:.5;font-size:13.5px;padding:20px}

/* الملخص */
.mt-sub{font-size:13px;opacity:.6;margin:4px 2px 0}
.mt-sec{font-size:13px;font-weight:700;opacity:.7;margin:16px 2px 8px}
.mt-dc{display:flex;gap:8px;font-size:13.5px;line-height:1.7;padding:4px 0}
.mt-dc:before{content:"";flex:none;width:7px;height:7px;border-radius:50%;background:#8f6bff;margin-top:9px}
.mt-tk{display:flex;align-items:center;gap:10px;padding:10px;border-radius:14px;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.1);margin-bottom:8px}
.mt-tk.off{opacity:.45}
.mt-tk .mt-av{width:34px;height:34px}
.mt-tk .tx{flex:1;min-width:0}
.mt-tk .tx small{display:block;font-size:11.5px;opacity:.55}
.mt-tk textarea{min-height:0;margin:0;padding:6px 8px;font-size:13.5px;border-radius:10px;resize:none;background:transparent;border-color:transparent}
.mt-tk textarea:focus{background:rgba(255,255,255,.05);border-color:#a68cff}
.mt-tk .mt-ck{width:auto;min-width:24px;height:24px;min-height:0;margin:0;padding:0;box-shadow:none;background:none;color:#eef0ff}
.mt-tk.on .mt-ck{background:#2ee88f;border-color:#2ee88f;color:#06291b}
.mt-done{font-size:12.5px;color:#7dffc0;margin-top:6px}

/* الاجتماع نفسه: يعبي الشاشة مثل المحادثة */
.ml{position:fixed;inset:0;z-index:50;display:flex;flex-direction:column;background:#07080f;transform:translateY(100%);transition:transform .28s cubic-bezier(.3,0,.2,1);visibility:hidden}
.ml.open{transform:none;visibility:visible}
.ml-top{display:flex;align-items:center;gap:10px;padding:calc(10px + env(safe-area-inset-top)) 12px 10px;background:#0b0c18;border-bottom:1px solid rgba(255,255,255,.07)}
.ml-bk{width:40px;height:40px;min-height:0;padding:0;margin:0;border-radius:12px;background:rgba(255,255,255,.07);box-shadow:none;display:grid;place-items:center;flex:none}
.ml-bk svg{width:20px;height:20px;stroke:#fff;fill:none;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.ml-avs{display:flex;flex:none}
.ml-avs .mt-av{width:30px;height:30px;border:2px solid #0b0c18;margin-left:-9px}
.ml-avs .mt-av:first-child{margin-left:0}
.ml-avs .mt-av.talk{box-shadow:0 0 0 2px #2ee88f}
.ml-t{flex:1;min-width:0}
.ml-t b{display:block;font-size:14.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ml-t small{font-size:11.5px;opacity:.6}
.ml-end{width:auto;min-height:0;margin:0;padding:8px 12px;border-radius:11px;font-size:13px;background:rgba(255,77,106,.15);color:#ff8fa3;border:1px solid rgba(255,77,106,.4);box-shadow:none;flex:none}
.ml-list{flex:1;overflow-y:auto;padding:14px 12px;display:flex;flex-direction:column;gap:10px;-webkit-overflow-scrolling:touch}
.ml-m{display:flex;gap:8px;align-items:flex-end;animation:ml-in .25s ease-out}
@keyframes ml-in{from{opacity:0;transform:translateY(6px)}}
.ml-m .mt-av{width:30px;height:30px}
.ml-b{background:#1b1e38;border:1px solid rgba(255,255,255,.07);border-radius:16px 16px 16px 4px;padding:8px 11px;font-size:14px;line-height:1.7;max-width:82%;white-space:pre-wrap;word-break:break-word}
.ml-b i{display:block;font-style:normal;font-size:11.5px;font-weight:700;margin-bottom:2px}
.ml-m.me{flex-direction:row-reverse}
.ml-m.me .ml-b{background:linear-gradient(135deg,#ff6a88,#8f6bff);border:0;border-radius:16px 16px 4px 16px}
.ml-m.mg .ml-b{background:#2a1d5c;border-color:rgba(143,107,255,.35)}
.ml-ty{display:flex;align-items:center;gap:8px;font-size:12.5px;opacity:.65;padding-right:38px}
.ml-ty i{width:6px;height:6px;border-radius:50%;background:#eef0ff;animation:agp-bl 1s infinite}
.ml-ty i:nth-child(2){animation-delay:.2s}.ml-ty i:nth-child(3){animation-delay:.4s}
.ml-bar{display:flex;gap:8px;align-items:flex-end;padding:10px 12px calc(12px + env(safe-area-inset-bottom));background:#0b0c18;border-top:1px solid rgba(255,255,255,.07)}
.ml-bar textarea{flex:1;font:inherit;font-size:16px;color:#fff;min-height:44px;max-height:120px;padding:10px 16px;border-radius:22px;border:1px solid rgba(255,255,255,.14);background:rgba(255,255,255,.05);outline:none;resize:none;line-height:1.5}
.ml-bar button{width:44px;height:44px;min-height:0;margin:0;padding:0;border-radius:50%;display:grid;place-items:center;flex:none;box-shadow:none}
.ml-bar button svg{width:20px;height:20px;stroke:#fff;fill:none;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round;transform:scaleX(-1)}
body.meet-open > main,body.meet-open .rail,body.meet-open .fab{visibility:hidden}
