/* InomERP Chat — Meeting recorder.
   Uses core's tokens so it inherits the theme rather than restating it. */

.mtg-wrap{display:flex;flex-direction:column;height:100%}
.mtg-eyebrow{font-size:10.5px;letter-spacing:.09em;color:var(--dim);margin-bottom:2px}
.mtg-h{font-family:"Space Grotesk";font-size:19px;margin:2px 0 14px}

.mtg-rec{width:100%;padding:11px;border:none;border-radius:12px;background:#e2445c;
  color:#fff;font:inherit;font-size:13px;font-weight:600;cursor:pointer;margin-top:10px}
.mtg-rec.live{background:#0d0a1c;display:flex;align-items:center;justify-content:center;gap:9px}
.mtg-dot{width:9px;height:9px;border-radius:50%;background:#e2445c;animation:mtgPulse 1.4s infinite}
@keyframes mtgPulse{0%,100%{opacity:1}50%{opacity:.25}}
/* Stated, not a checkbox. A checkbox trains people to click through it and
   implies the app verified something it has not. */
.mtg-consent{font-size:11px;color:var(--mut);line-height:1.5;margin-top:9px;text-align:center}

.mtg-row{display:flex;gap:11px;padding:10px;border-radius:12px;cursor:pointer;align-items:flex-start}
.mtg-row:hover{background:var(--panel-2)}
.mtg-row.sel{background:var(--accent-soft)}
.mtg-ic{width:36px;height:36px;border-radius:11px;background:#efe6fb;color:#7b3fe4;
  display:grid;place-items:center;font-size:15px;flex:none}
.mtg-ic.big{width:42px;height:42px;font-size:18px}
.mtg-rb{min-width:0}
.mtg-nm{font-size:13.5px;font-weight:600;display:flex;align-items:center;gap:6px}
.mtg-sub{font-size:11.5px;color:var(--mut);margin-top:2px}
.mtg-tag{font-size:10px;padding:2px 7px;border-radius:20px;background:var(--accent-soft);
  color:var(--accent);font-weight:600;flex:none}
.mtg-tag.ok{background:#e6f7ee;color:#0f9d58}
.mtg-tag.err{background:#fdecea;color:#c0392b}
.mtg-empty,.mtg-none{font-size:12.5px;color:var(--mut);padding:18px 4px;text-align:center}

/* The detail is a dialog now — the #threads column it used to render into is
   about 300px wide, which is not enough for a transcript. */
.mtg-modal{width:min(720px,92vw);max-height:86vh;display:flex;flex-direction:column;
  padding:0;position:relative;overflow:hidden}
#mtgMain{display:flex;flex-direction:column;min-height:0}
.mtg-x{position:absolute;top:12px;right:12px;width:30px;height:30px;border-radius:9px;
  border:1px solid var(--brd);background:var(--panel);color:var(--mut);font-size:14px;
  cursor:pointer;z-index:2}
.mtg-x:hover{color:var(--text)}
.mtg-head{display:flex;align-items:center;gap:12px;padding:14px 20px;border-bottom:1px solid var(--brd)}
.mtg-t{font-family:"Space Grotesk";font-size:16px;font-weight:700}
.mtg-s{font-size:11.5px;color:var(--mut)}
.mtg-body{flex:1;overflow:auto;padding:20px}
.mtg-h6{font-size:10.5px;letter-spacing:.07em;color:var(--dim);margin:18px 0 8px}
.mtg-h6:first-child{margin-top:0}
.mtg-card{border:1px solid var(--brd);border-radius:14px;padding:14px 16px;
  background:var(--panel-2);font-size:13px;line-height:1.6;color:#2f3a52}
.mtg-scroll{max-height:240px;overflow:auto}
.mtg-pending{color:var(--mut)}
.mtg-btns{display:flex;gap:8px;margin-top:16px;flex-wrap:wrap}
.mtg-b{padding:9px 14px;border-radius:10px;font:inherit;font-size:12.5px;font-weight:600;
  border:1px solid var(--brd);background:var(--panel);color:var(--text);cursor:pointer;text-decoration:none}
.mtg-b:hover{border-color:var(--brd-2)}
.mtg-b.p{background:var(--accent);color:#fff;border-color:transparent}
.mtg-b.danger{color:#c0392b}
.mtg-note{font-size:11.5px;color:var(--mut);margin-top:10px;line-height:1.5}

.mtg-pick{max-height:220px;overflow:auto;border:1px solid var(--brd);border-radius:12px;padding:6px}
.mtg-pickrow{display:flex;align-items:center;gap:9px;padding:8px 10px;border-radius:9px;
  font-size:13px;cursor:pointer}
.mtg-pickrow:hover{background:var(--panel-2)}
.mtg-aud{display:flex;align-items:center;gap:9px;font-size:12.5px;color:var(--mut);margin:12px 0 2px}

.mtg-chip.chip-tool{color:#c0392b;border-color:#f3c6c0;background:#fdecea}

.mtg-toast{position:fixed;left:50%;bottom:26px;transform:translate(-50%,12px);
  background:#0d0a1c;color:#fff;font-size:13px;padding:10px 16px;border-radius:10px;
  opacity:0;transition:opacity .2s,transform .2s;z-index:400;pointer-events:none}
.mtg-toast.show{opacity:1;transform:translate(-50%,0)}
