/* Meetings section — mobile first, same language as receipts.css (rc-*) */
.mt { max-width: 1180px; min-width: 0; }
.mt-tabs { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 4px; margin-bottom: 14px; scrollbar-width: none; }
.mt-tab { flex: none; border: 1px solid var(--border-color); background: var(--bg-white); color: var(--text-medium);
    border-radius: 999px; padding: 8px 14px; font-size: 14px; cursor: pointer; white-space: nowrap; font-family: var(--font-family); font-weight: 600; }
.mt-tab.is-active { background: var(--admin-dark); border-color: var(--admin-dark); color: #fff; }
.mt-count { display: inline-block; min-width: 20px; padding: 0 6px; margin-left: 4px; border-radius: 999px;
    background: var(--admin-primary); color: var(--admin-dark-darker); font-size: 12px; font-weight: 700; text-align: center; }
.mt-tab.is-active .mt-count { background: rgba(255,255,255,.2); color: #fff; }

.mt-toolbar { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-bottom: 10px; }
.mt-search { flex: 1 1 260px; min-width: 0; display: flex; align-items: center; gap: 8px; padding: 9px 12px; border: 1px solid var(--border-color);
    border-radius: 10px; background: #fff; color: var(--text-lighter); font-size: 15px; }
.mt-search svg { width: 16px; height: 16px; flex: none; }
.mt-cost { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 13px; color: var(--text-medium); margin: 2px 0 12px; }
.mt-cost b { color: var(--text-dark); font-weight: 600; }
.mt-filters { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; }
.mt-filter { border: 1px solid var(--border-color); background: var(--bg-white); color: var(--text-medium);
    border-radius: 999px; padding: 5px 11px; font-size: 13px; white-space: nowrap; }
.mt-filter.is-active { background: var(--text-dark); border-color: var(--text-dark); color: #fff; }

.mt-day { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--text-lighter); margin: 14px 2px 6px; }
.mt-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
.mt-row { display: flex; gap: 12px; align-items: center; padding: 12px; border-radius: 12px; background: var(--bg-white); border: 1px solid var(--border-color); }
.mt-row.is-selected { border-color: var(--admin-primary-dark); box-shadow: 0 0 0 3px rgba(251,191,36,.18); }
.mt-src { flex: none; width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center; background: var(--bg-gray-100); color: var(--text-medium); }
.mt-src svg { width: 22px; height: 22px; }
.mt-src--live { background: var(--status-danger-light); color: var(--status-danger); }
.mt-row-main { min-width: 0; flex: 1; }
.mt-row-top { display: flex; justify-content: space-between; gap: 8px; font-weight: 600; align-items: baseline; }
.mt-title { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mt-len { flex: none; font-variant-numeric: tabular-nums; color: var(--text-medium); font-weight: 600; font-size: 14px; }
.mt-row-sub { font-size: 13px; color: var(--text-light); margin-top: 3px; display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: center; }
.mt-row-note { font-size: 13px; color: var(--text-medium); margin-top: 4px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.mt-pill { display: inline-block; padding: 1px 8px; border-radius: 999px; font-size: 12px; font-weight: 600; background: var(--border-color-light); color: var(--text-medium); }
.mt-pill--ready { background: var(--status-success-light); color: #065f46; }
.mt-pill--processing { background: var(--status-info-light); color: #1e40af; }
.mt-pill--attention { background: var(--status-warning-light); color: #92400e; }
.mt-pill--client { background: var(--admin-primary-light); color: #92400e; }
.mt-pill--granola { background: #ede9fe; color: #5b21b6; }

/* Detail */
.mt-detail { position: fixed; inset: 0; z-index: 1500; background: rgba(17, 24, 39, 0.5); overflow-y: auto; }
.mt-detail-inner { background: #f9fafb; min-height: 100%; padding: 12px 16px 40px; }
.mt-detail-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 10px; position: sticky; top: 0; background: #f9fafb; padding: 6px 0; z-index: 1; flex-wrap: wrap; }
.mt-detail-head .btns { display: flex; gap: 8px; flex-wrap: wrap; }
.mt-h { font-size: 22px; font-weight: 700; margin: 2px 0 6px; line-height: 1.2; }
.mt-meta { display: flex; flex-wrap: wrap; gap: 6px 10px; font-size: 13px; color: var(--text-medium); align-items: center; margin-bottom: 14px; }
.mt-meta .dot { color: var(--text-lighter); }
.mt-grid { display: grid; gap: 16px; }
.mt-card { background: var(--bg-white); border: 1px solid var(--border-color); border-radius: 12px; padding: 16px; min-width: 0; }
.mt-card h4 { margin: 0 0 6px; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--text-light); }
.mt-card h4 + * { margin-top: 0; }
.mt-card p { margin: 0 0 10px; font-size: 15px; line-height: 1.5; }
.mt-card ul { margin: 0 0 14px 18px; padding: 0; font-size: 15px; line-height: 1.5; }
.mt-card li { margin: 3px 0; }
.mt-sec + .mt-sec { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--border-color-light); }
.mt-actions { list-style: none; margin: 0 !important; padding: 0; display: grid; gap: 8px; }
.mt-actions li { display: flex; gap: 10px; align-items: flex-start; }
.mt-actions input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--admin-primary-dark); }
.mt-owner { flex: none; font-size: 12px; font-weight: 700; padding: 1px 8px; border-radius: 999px; background: var(--admin-dark); color: #fff; margin-top: 2px; }
.mt-owner--other { background: var(--bg-gray-200); color: var(--text-dark); }

.mt-speakers { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.mt-spk { display: inline-flex; align-items: center; gap: 8px; padding: 5px 10px 5px 6px; border: 1px solid var(--border-color); border-radius: 999px; font-size: 13px; background: #fff; }
.mt-spk i { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 11px; font-weight: 700; color: #fff; }
.mt-spk small { color: var(--text-lighter); }
.mt-player { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; background: var(--admin-dark); color: #fff; margin-bottom: 12px; font-size: 13px; font-variant-numeric: tabular-nums; }
.mt-player .play { width: 30px; height: 30px; border-radius: 50%; background: var(--admin-primary); display: grid; place-items: center; flex: none; }
.mt-player .play::after { content: ""; border-left: 10px solid var(--admin-dark-darker); border-top: 6px solid transparent; border-bottom: 6px solid transparent; margin-left: 3px; }
.mt-player .track { flex: 1; height: 4px; border-radius: 2px; background: rgba(255,255,255,.25); position: relative; }
.mt-player .track::before { content: ""; position: absolute; inset: 0 70% 0 0; background: var(--admin-primary); border-radius: 2px; }
.mt-tx { display: grid; gap: 12px; font-size: 15px; line-height: 1.5; }
.mt-line { display: grid; grid-template-columns: 52px 1fr; gap: 8px; }
.mt-line time { font-size: 12px; color: var(--text-lighter); font-variant-numeric: tabular-nums; padding-top: 3px; }
.mt-line b { display: block; font-size: 13px; }
.mt-hl { background: var(--admin-primary-light); border-radius: 3px; padding: 0 2px; }

/* Share modal */
.mt-modal-wrap { position: fixed; inset: 0; z-index: 1600; background: rgba(17,24,39,.55); display: grid; place-items: center; padding: 16px; }
.mt-modal { width: min(980px, 100%); max-height: calc(100vh - 32px); overflow: auto; background: #fff; border-radius: 16px; box-shadow: var(--shadow-xl); }
.mt-modal-head { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; border-bottom: 1px solid var(--border-color); }
.mt-modal-head h3 { margin: 0; font-size: 18px; }
.mt-modal-body { display: grid; gap: 18px; padding: 18px 20px; }
.mt-field { display: grid; gap: 5px; font-size: 13px; color: var(--text-medium); }
.mt-input { min-height: 42px; padding: 8px 10px; border: 1px solid var(--border-color); border-radius: 8px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; color: var(--text-dark); font-size: 15px; background: #fff; }
.mt-input.ta { min-height: 92px; align-items: flex-start; line-height: 1.5; }
.mt-chip { display: inline-flex; align-items: center; gap: 6px; padding: 3px 6px 3px 10px; border-radius: 999px; background: var(--bg-gray-100); font-size: 13px; font-weight: 600; }
.mt-chip span { color: var(--text-lighter); font-weight: 500; }
.mt-chip button { border: 0; background: none; color: var(--text-light); font-size: 14px; cursor: pointer; }
.mt-chip--suggest { background: #fff; border: 1px dashed var(--border-color); color: var(--text-medium); }
.mt-checks { display: grid; gap: 8px; font-size: 14px; color: var(--text-dark); }
.mt-checks label { display: flex; gap: 8px; align-items: center; }
.mt-checks input { width: 17px; height: 17px; accent-color: var(--admin-primary-dark); }
.mt-preview { background: var(--bg-gray-100); border-radius: 12px; padding: 16px; }
.mt-email { background: #fff; border-radius: 10px; border: 1px solid var(--border-color); padding: 18px 20px; font-size: 14px; line-height: 1.5; color: #1f2937; }
.mt-email .from { font-size: 12px; color: var(--text-light); margin-bottom: 10px; border-bottom: 1px solid var(--border-color-light); padding-bottom: 10px; }
.mt-email h5 { margin: 12px 0 4px; font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: #0b5c63; }
.mt-email ul { margin: 0 0 0 18px; padding: 0; }
.mt-brand { display: flex; align-items: center; gap: 8px; font-weight: 700; color: #0b5c63; margin-bottom: 12px; }
.mt-brand i { width: 22px; height: 22px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #ff8a3d 0 40%, #fff 41% 52%, #ff8a3d 53%); }
.mt-modal-foot { display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; padding: 14px 20px; border-top: 1px solid var(--border-color); background: var(--bg-gray-50); border-radius: 0 0 16px 16px; }

/* Word list */
.mt-note { padding: 10px 14px; border-radius: 10px; font-size: 14px; margin-bottom: 12px; line-height: 1.45; background: var(--status-info-light); border: 1px solid #bfdbfe; }
.mt-addword { display: grid; gap: 8px; padding: 12px; background: #fff; border: 1px solid var(--border-color); border-radius: 12px; margin-bottom: 14px; }
.mt-addword .row { display: grid; gap: 8px; }
.mt-words { display: grid; gap: 14px; }
.mt-group h5 { margin: 0 0 6px 2px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--text-lighter); }
.mt-wtable { width: 100%; table-layout: fixed; border-collapse: collapse; background: #fff; border: 1px solid var(--border-color); border-radius: 12px; overflow: hidden; font-size: 14px; }
.mt-wtable td { padding: 9px 12px; border-top: 1px solid var(--border-color-light); vertical-align: top; }
.mt-wtable tr:first-child td { border-top: 0; }
.mt-wtable .term { font-weight: 700; }
.mt-wtable .heard { color: var(--text-light); }
.mt-wtable .heard s { color: var(--status-danger); text-decoration-thickness: 1px; }
.mt-wtable .src { text-align: right; white-space: nowrap; }
.mt-src-pill { font-size: 11px; font-weight: 700; padding: 1px 7px; border-radius: 999px; background: var(--bg-gray-100); color: var(--text-medium); }
.mt-src-pill--claude { background: #fde7d9; color: #9a3412; }
.mt-src-pill--clients { background: var(--admin-primary-light); color: #92400e; }

@media (min-width: 900px) {
    .mt-detail { padding: 24px; }
    .mt-detail-inner { max-width: 1240px; margin: 0 auto; min-height: auto; border-radius: 16px; padding: 16px 24px 28px; }
    .mt-grid { grid-template-columns: 1.05fr 1fr; align-items: start; }
    .mt-modal-body { grid-template-columns: 1fr 1fr; align-items: start; }
    .mt-addword .row { grid-template-columns: 1.3fr .8fr 1.2fr 1.4fr auto; align-items: end; }
}

.mt-detail-head { flex-wrap: nowrap; }
.mt-wide { display: none !important; }
@media (min-width: 900px) { .mt-wide { display: inline-flex !important; } .mt-narrow { display: none !important; } }
@media (max-width: 560px) { .mt-wtable td:nth-child(3) { display: none; } }

/* Waiting-for-you inbox */
.mt-inbox { border: 1px solid var(--admin-primary-dark); background: var(--admin-primary-light); border-radius: 14px; padding: 12px; margin: 4px 0 8px; }
.mt-inbox-head { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; margin: 2px 4px 10px; }
.mt-inbox-head b { display: block; font-size: 16px; }
.mt-inbox-head span { font-size: 13px; color: var(--text-medium); }
.mt-row--wait { align-items: flex-start; }
.mt-snip { font-size: 13px; color: var(--text-medium); font-style: italic; margin-top: 4px; }
.mt-wait-btns { display: flex; gap: 6px; flex: none; align-self: center; }
.mt-inbox-foot { font-size: 13px; color: var(--text-medium); margin: 10px 4px 2px; }
@media (max-width: 560px) { .mt-row--wait { flex-wrap: wrap; } .mt-wait-btns { width: 100%; justify-content: flex-end; } }

/* Live-section additions */
.mt-search input { border: 0; outline: 0; font: inherit; color: var(--text-dark); flex: 1; min-width: 0; background: transparent; }
.mt-filter { cursor: pointer; font-family: var(--font-family); }
.mt-client-select { border: 1px solid var(--border-color); border-radius: 999px; padding: 5px 11px; font: inherit; font-size: 13px; color: var(--text-medium); background: var(--bg-white); }
.mt-row { cursor: pointer; }
.mt-row:hover, .mt-row:focus-visible { border-color: var(--admin-primary-dark); outline: none; }
.mt-empty { padding: 32px 16px; text-align: center; color: var(--text-light); font-size: 14px; }
.mt-err { font-size: 13px; color: #92400e; margin-top: 4px; }
.mt-title-edit { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.mt-title-edit input { flex: 1 1 320px; font: inherit; font-size: 20px; font-weight: 700; padding: 4px 8px; border: 1px solid var(--border-color); border-radius: 8px; }
.mt-h[role="button"] { cursor: text; }
.mt-h[role="button"]:hover { text-decoration: underline dotted var(--text-lighter); }
.mt-meta select { font: inherit; font-size: 13px; padding: 4px 8px; border: 1px solid var(--border-color); border-radius: 8px; background: #fff; }
.mt-spk { cursor: pointer; font-family: var(--font-family); }
.mt-spk input { font: inherit; font-size: 13px; width: 140px; border: 0; outline: 0; }
.mt-audio { width: 100%; margin-bottom: 12px; }
.mt-line time { cursor: pointer; }
.mt-line time:hover { color: var(--admin-primary-dark); }
.mt-fixes { font-size: 13px; color: var(--text-medium); margin-top: 12px; }
.mt-fixes summary { cursor: pointer; }
.mt-actions li.is-done span:last-child { color: var(--text-light); text-decoration: line-through; }
body.mt-noscroll { overflow: hidden; }
.mt-attn { padding: 10px 14px; border-radius: 10px; font-size: 14px; margin-bottom: 12px; background: var(--status-warning-light); border: 1px solid #fcd34d; display: flex; gap: 10px; justify-content: space-between; align-items: center; flex-wrap: wrap; }
.mt-chip-x { border: 0; background: none; color: var(--text-light); font-size: 18px; line-height: 1; cursor: pointer; padding: 2px 6px; border-radius: 6px; }
.mt-chip-x:hover { color: var(--status-danger); background: var(--status-danger-light); }
.mt-addword .mt-input { font: inherit; font-size: 15px; width: 100%; box-sizing: border-box; }
.mt-wtable tr[data-w]:hover td { background: var(--bg-gray-50); }
@media (max-width: 899px) { .mt-modal-body { grid-template-columns: 1fr; } .mt-modal iframe { height: 380px !important; } }
.mt-modal input.mt-input, .mt-modal textarea.mt-input { font-family: var(--font-family); font-size: 15px; width: 100%; box-sizing: border-box; resize: vertical; }
