/* Meetings settings page - scoped styles */
.mtg-page{min-width:0;padding-bottom:76px}
.mtg-page .set-head{margin-bottom:16px}
.mtg-page .set-intro{max-width:980px;margin:12px 0 22px;color:var(--text-muted,#475467);font-size:13px;line-height:1.55}
.mtg-page .set-intro a,.mtg-page a.link{color:var(--brand-ink,#1f4bd0);font-weight:600;text-decoration:none}
.mtg-page .set-intro a:hover,.mtg-page a.link:hover{text-decoration:underline}
.mtg-panel{min-width:0}
.mtg-config-block{max-width:900px}
.mtg-setting-row{display:flex;align-items:flex-start;gap:10px;margin:0 0 23px;max-width:760px}
.mtg-setting-row:not(:has(.mtg-switch)){padding-left:0}
.mtg-switch{position:relative;display:inline-flex;flex:0 0 28px;width:28px;height:16px;margin-top:1px;cursor:pointer}
.mtg-switch input{position:absolute;opacity:0;width:1px;height:1px}
.mtg-switch__track{position:absolute;inset:0;border:1px solid var(--border-strong,#98a2b3);border-radius:20px;background:var(--surface,#fff);transition:background .18s,border-color .18s}
.mtg-switch__track:after{content:"";position:absolute;top:2px;left:2px;width:10px;height:10px;border-radius:50%;background:var(--surface,#fff);border:1px solid var(--text-subtle,#98a2b3);transition:transform .18s}
.mtg-switch input:checked+.mtg-switch__track{background:var(--brand-ink,#005b5b);border-color:var(--brand-ink,#005b5b)}
.mtg-switch input:checked+.mtg-switch__track:after{transform:translateX(12px);background:#fff;border-color:#fff}
.mtg-switch input:focus-visible+.mtg-switch__track{outline:3px solid var(--focus-ring,rgba(36,86,230,.22));outline-offset:2px}
.mtg-setting-copy{min-width:0;max-width:660px}
.mtg-setting-copy strong,.mtg-bot-master strong{font-size:13px;font-weight:650;color:var(--text,#101828)}
.mtg-setting-copy p,.mtg-never-log p,.mtg-description,.mtg-settings-section>p,.mtg-preference-group>p{margin:4px 0 0;color:var(--text-muted,#475467);font-size:12px;line-height:1.45}
.mtg-setting-heading{display:flex;align-items:center;gap:7px;flex-wrap:wrap}
.mtg-text-action{padding:0;border:0;background:none;font-size:12px!important;font-weight:600;cursor:pointer}
.mtg-reminders{margin:-4px 0 24px 20px;max-width:360px}
.mtg-field-label{display:block;margin:0 0 6px;color:var(--text,#344054);font-size:12px;font-weight:650}
.mtg-reminder-list{display:grid;gap:7px}
.mtg-reminder-item{display:flex;align-items:center;gap:0;max-width:330px}
.mtg-reminder-item .mtg-number-input{width:42px;height:40px;padding:5px 8px;border:1px solid var(--border-strong,#cbd5e1);border-right:0;border-radius:5px 0 0 5px;background:var(--surface,#fff);color:var(--text,#101828);font:inherit;font-size:12px}
.mtg-reminder-item select{height:40px;min-width:0;flex:1;padding:4px 25px 4px 9px;border:1px solid var(--border-strong,#cbd5e1);border-radius:0 5px 5px 0;background:var(--surface,#fff);color:var(--text,#101828);font:inherit;font-size:12px}
.mtg-icon-button{display:inline-grid;place-items:center;width:28px;height:28px;margin-left:4px;border:0;border-radius:5px;background:transparent;color:var(--text-subtle,#667085);cursor:pointer}
.mtg-icon-button:hover{background:var(--surface-hover,#f2f4f7);color:var(--text,#101828)}
.mtg-inline-add{display:inline-flex;align-items:center;gap:4px;margin-top:7px;padding:0;border:0;background:none;color:var(--brand-ink,#005b5b);font-size:12px;font-weight:650;cursor:pointer}
.mtg-inline-add:hover{text-decoration:underline}
.mtg-section-divider,.mtg-drawer-divider{height:1px;margin:22px 0;border:0;background:var(--border,#e4e7ec)}
.mtg-never-log{max-width:760px;padding-bottom:14px}
.mtg-section-title-row{display:flex;align-items:center;gap:8px}
.mtg-section-title-row h2,.mtg-rotations-heading h2{margin:0;color:var(--text,#101828);font-size:15px;font-weight:650}
.mtg-new-pill{display:inline-flex;align-items:center;padding:2px 7px;border-radius:10px;background:var(--brand-ink,#005b5b);color:#fff;font-size:10px;font-weight:700}
.mtg-manage-never{margin-top:10px}
.mtg-manage-never svg{margin-left:3px}
.mtg-rotations-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:18px 0 18px}
.mtg-empty-state{display:flex;align-items:center;justify-content:center;gap:44px;max-width:740px;min-height:300px;margin:18px auto 0;padding:25px}
.mtg-empty-state__copy{max-width:260px}
.mtg-empty-state__copy h3{margin:0 0 10px;font-size:14px;font-weight:700;color:var(--text,#101828)}
.mtg-empty-state__copy p{margin:0 0 15px;color:var(--text-muted,#475467);font-size:12px;line-height:1.5}
.mtg-empty-state__art{width:220px;max-width:42%;flex:0 0 220px}
.mtg-empty-state__art svg{display:block;width:100%;height:auto}
.mtg-rotation-table{width:100%;border-collapse:collapse}
.mtg-rotation-table td,.mtg-rotation-table th{padding:12px 14px;text-align:left;border-bottom:1px solid var(--border,#e4e7ec);font-size:13px}
.mtg-rotation-table th{color:var(--text-muted,#667085);font-size:11px}
.mtg-table-actions{text-align:right!important}
.mtg-member-pills{display:flex;flex-wrap:wrap;gap:5px}
.mtg-member-pill{padding:3px 8px;border-radius:14px;background:var(--surface-3,#eef1f5);font-size:11px}
.mtg-row-actions{display:flex;justify-content:flex-end;gap:6px}
.mtg-row-actions button{border:1px solid var(--border,#d0d5dd);border-radius:6px;background:var(--surface,#fff);padding:5px 8px;color:var(--text,#344054);font-size:11px;cursor:pointer}
/* QA round 1 (BUG-04): Delete of a rotation scheduling pages use (it says why when clicked). */
.mtg-row-actions button.is-disabled{opacity:.55;cursor:not-allowed}
.mtg-pro-tip{position:relative;display:flex;align-items:center;gap:10px;max-width:900px;margin:10px 0 18px;padding:15px;border:1px solid var(--border-strong,#d0d5dd);border-radius:8px;background:var(--surface,#fff);color:var(--text-muted,#475467);font-size:14px}
.mtg-pro-tip strong{color:var(--text,#101828)}
.mtg-pro-tip__close{position:absolute;right:9px;top:50%;transform:translateY(-50%);display:grid;place-items:center;width:22px;height:22px;border:0;background:none;color:var(--text-subtle,#667085);cursor:pointer}
.mtg-bot-master{display:flex;align-items:center;gap:8px;margin:0 0 10px}
.mtg-muted-icon{display:inline-flex;color:var(--text-subtle,#667085)}
.mtg-description{max-width:900px;margin:6px 0}
.mtg-notetaker-settings{max-width:900px}
.mtg-settings-section{padding:20px 0;border-top:1px solid var(--border,#e4e7ec)}
.mtg-settings-section h2{margin:0 0 4px;font-size:14px;font-weight:700;color:var(--text,#101828)}
.mtg-settings-section>p{margin-bottom:10px}
.mtg-check-line,.mtg-radio-line{display:flex;align-items:flex-start;gap:8px;color:var(--text,#344054);font-size:13px;line-height:1.4;cursor:pointer}
.mtg-check-line input,.mtg-radio-line input{flex:0 0 auto;margin:2px 0 0;accent-color:var(--brand-ink,#005b5b)}
.mtg-check-line small,.mtg-radio-line small{display:block;margin-top:3px;color:var(--text-muted,#667085);font-size:11px;line-height:1.4}
.mtg-check-line small a,.mtg-radio-line small a{font-weight:600}
.mtg-exclusion-inline{margin:12px 0 0}
.mtg-exclusion-inline>strong,.mtg-small-heading{display:block;font-size:12px;font-weight:650;color:var(--text,#344054)}
.mtg-exclusion-inline p{margin:4px 0 8px;color:var(--text-muted,#667085);font-size:11px;line-height:1.45}
.mtg-preference-group{margin:13px 0 20px}
.mtg-preference-group>strong{display:block;font-size:12px;font-weight:650;color:var(--text,#344054)}
.mtg-preference-group>p{margin-bottom:9px}
.mtg-custom-name{max-width:280px;margin:8px 0 0 24px}
.mtg-custom-name .input{max-width:260px}
.mtg-voice-controls{display:flex;align-items:flex-end;gap:8px;margin:8px 0 10px 24px}
.mtg-voice-controls .field{width:125px}
.mtg-voice-controls .input,.mtg-join-select{height:30px;min-height:30px;padding:4px 26px 4px 9px;font-size:12px}
.mtg-play-voice{display:grid;place-items:center;width:28px;height:28px;margin-bottom:1px;border:1px solid var(--border-strong,#d0d5dd);border-radius:50%;background:var(--surface,#fff);color:var(--text-muted,#475467);cursor:pointer}
.mtg-play-voice:hover{background:var(--surface-hover,#f2f4f7)}
.mtg-join-select{width:220px;max-width:100%}
.mtg-consent-group{padding-bottom:22px}
.mtg-required{color:#b42318}
.mtg-info{color:var(--text-subtle,#667085);font-weight:400}
.mtg-help{color:var(--text-muted,#667085);font-size:11px}
/* QA round 1 (BUG-08): a sentence under the members (settings tables capitalize that column). */
.mtg-help--sentence{text-transform:none}
.mtg-drawer{position:fixed;inset:0 0 0 auto;width:min(450px,100vw);max-width:100vw;height:100dvh;max-height:100dvh;margin:0 0 0 auto;padding:0;border:0;border-left:1px solid var(--border,#e4e7ec);border-radius:0;background:var(--surface,#fff);color:var(--text,#101828);box-shadow:-12px 0 35px rgba(16,24,40,.12);overflow:visible}
.mtg-drawer::backdrop{background:rgba(16,24,40,.38);backdrop-filter:blur(2px)}
.mtg-drawer[open]{display:block}
.mtg-drawer__form{display:flex;flex-direction:column;height:100%;min-height:0}
.mtg-drawer__head{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:58px;padding:0 20px;border-bottom:1px solid var(--border,#e4e7ec)}
.mtg-drawer__head h2{margin:0;font-size:14px;font-weight:700;color:var(--text,#101828)}
.mtg-close{display:grid;place-items:center;width:30px;height:30px;border:0;border-radius:50%;background:transparent;color:var(--text-subtle,#667085);cursor:pointer}
.mtg-close:hover{background:var(--surface-hover,#f2f4f7);color:var(--text,#101828)}
.mtg-drawer__body{flex:1;min-height:0;padding:18px 20px;overflow-y:auto}
.mtg-drawer__foot{display:flex;align-items:center;gap:8px;min-height:64px;padding:12px 20px;border-top:1px solid var(--border,#e4e7ec);background:var(--surface,#fff)}
.mtg-drawer__foot .btn-crm{min-width:74px}
.mtg-option-list{display:grid;gap:7px}
.mtg-option-row{display:flex;align-items:center;gap:6px}
.mtg-option-row .input{height:34px;min-height:34px;font-size:12px}
.mtg-option-remove{display:grid;place-items:center;width:30px;height:30px;border:0;border-radius:5px;background:transparent;color:var(--text-subtle,#667085);cursor:pointer}
.mtg-option-remove:hover{background:var(--surface-hover,#f2f4f7);color:#b42318}
.mtg-exclusion-entry{display:flex;gap:8px}
.mtg-exclusion-entry .input{min-width:0;flex:1;height:42px;min-height:42px;font-size:12px}
.mtg-exclusion-search,.mtg-search-field{position:relative;display:block;margin:12px 0}
.mtg-exclusion-search .input,.mtg-search-field .input{width:100%;height:34px;min-height:34px;padding-right:34px;font-size:12px}
.mtg-exclusion-search>svg,.mtg-search-field>svg{position:absolute;right:11px;top:10px;color:var(--text-subtle,#667085);pointer-events:none}
.mtg-exclusion-table__head{display:grid;grid-template-columns:1.4fr 1fr 28px;gap:8px;padding:9px 4px;border-bottom:1px solid var(--border,#e4e7ec);color:var(--text-muted,#667085);font-size:10px;font-weight:650}
.mtg-exclusion-row{display:grid;grid-template-columns:1.4fr 1fr 28px;gap:8px;align-items:center;padding:10px 4px;border-bottom:1px solid var(--border,#e4e7ec);font-size:11px}
.mtg-exclusion-row__value{min-width:0;overflow-wrap:anywhere}
.mtg-exclusion-row__scope{color:var(--text-muted,#667085)}
.mtg-exclusion-row button{border:0;background:none;color:var(--text-subtle,#667085);cursor:pointer}
.mtg-empty-mini{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:230px;text-align:center}
.mtg-empty-mini svg{width:105px;height:90px}
.mtg-empty-mini p{margin:4px 0;color:var(--text-muted,#667085);font-size:11px}
.mtg-multi-select{position:relative}
.mtg-multi-select__trigger{display:flex;align-items:center;justify-content:space-between;width:100%;height:46px;padding:0 10px;border:1px solid var(--border-strong,#d0d5dd);border-radius:6px;background:var(--surface,#fff);color:var(--text,#344054);font-size:13px;text-align:left;cursor:pointer}
.mtg-multi-select__options{position:absolute;z-index:4;top:calc(100% + 5px);left:0;right:0;max-height:190px;padding:6px;border:1px solid var(--border,#d0d5dd);border-radius:7px;background:var(--surface,#fff);box-shadow:0 8px 20px rgba(16,24,40,.14);overflow:auto}
.mtg-multi-select__options label{display:flex;align-items:center;gap:8px;padding:8px;border-radius:5px;font-size:12px;cursor:pointer}
.mtg-multi-select__options label:hover{background:var(--surface-hover,#f2f4f7)}
.mtg-multi-select__options input{accent-color:var(--brand-ink,#005b5b)}
.mtg-field-error{display:none;margin:5px 0 0;color:#b42318;font-size:11px}
.mtg-field-error.is-visible{display:block}
.mtg-drawer-divider{margin:17px 0}
.mtg-weighted-fields{margin-top:14px;padding:12px;border:1px solid var(--border,#e4e7ec);border-radius:8px; 
    overflow: auto;}
.mtg-weighted-head,.mtg-weighted-row{display:grid;grid-template-columns:1fr 90px;gap:12px;align-items:center}
.mtg-weighted-head{padding-bottom:8px;border-bottom:1px solid var(--border,#e4e7ec);font-size:11px;color:var(--text-muted,#667085)}
.mtg-weighted-row{padding:8px 0;border-bottom:1px solid var(--border,#e4e7ec);font-size:12px}
.mtg-weighted-row input{width:75px;height:30px;padding:4px 7px;border:1px solid var(--border-strong,#d0d5dd);border-radius:5px;background:var(--surface,#fff);color:var(--text,#101828)}
.mtg-weight-total{margin:10px 0 0;font-size:12px;color:var(--text-muted,#667085)}
.mtg-weight-total strong{color:var(--text,#101828)}
.mtg-weight-total [data-mtg-weight-status]{margin-left:6px;font-size:11px}
.mtg-drawer--users{width:min(560px,100vw)}
.mtg-users-toolbar{display:flex;align-items:center;gap:12px}
.mtg-users-toolbar .mtg-search-field{flex:1;min-width:0;margin:0 0 12px}
.mtg-filter-select{display:flex;align-items:center;gap:5px;white-space:nowrap;color:var(--text-muted,#667085);font-size:11px}
.mtg-filter-select select{max-width:130px;border:0;background:transparent;color:var(--text,#344054);font-size:11px;font-weight:650}
.mtg-users-table__head{display:grid;grid-template-columns:1fr 90px;gap:10px;padding:9px 8px;border-bottom:1px solid var(--border-strong,#d0d5dd);font-size:10px;color:var(--text-muted,#667085)}
.mtg-user-row{display:grid;grid-template-columns:1fr 90px;gap:10px;align-items:center;padding:10px 8px;border-bottom:1px solid var(--border,#e4e7ec);font-size:11px}
.mtg-user-row__name{font-weight:600;color:var(--text,#344054)}
.mtg-user-row__issue{display:block;margin-top:3px;color:var(--text-muted,#667085);font-size:10px}
.mtg-user-row__team{color:var(--text-muted,#667085)}
.mtg-pagination{display:flex;align-items:center;justify-content:center;gap:12px;padding:12px}
.mtg-pagination button{width:26px;height:26px;border:0;border-radius:50%;background:transparent;color:var(--text-muted,#667085);font-size:18px;cursor:pointer}
.mtg-pagination button:disabled{opacity:.35;cursor:default}
.mtg-pagination span{display:grid;place-items:center;width:24px;height:24px;border:1px solid var(--border-strong,#d0d5dd);border-radius:50%;font-size:11px}
@media(max-width:767px){
 .mtg-page{padding-bottom:90px}
 .mtg-page .set-head{margin-bottom:12px}
 .mtg-setting-row{max-width:none;margin-bottom:20px}
 .mtg-setting-copy{flex:1}
 .mtg-reminders{margin-left:0;max-width:100%}
 .mtg-reminder-item{max-width:100%}
 .mtg-rotations-heading{align-items:flex-start}
 .mtg-empty-state{flex-direction:column-reverse;gap:15px;min-height:0;margin-top:10px;padding:22px 8px;text-align:center}
 .mtg-empty-state__copy{max-width:360px}
 .mtg-empty-state__art{width:170px;max-width:65%;flex-basis:auto}
 .mtg-pro-tip{align-items:flex-start;flex-direction:column;gap:4px}
 .mtg-voice-controls{margin-left:0;flex-wrap:wrap}
 .mtg-drawer{width:100vw}
 .mtg-drawer__head{padding:0 16px}
 .mtg-drawer__body{padding:16px}
 .mtg-drawer__foot{padding:11px 16px}
 .mtg-users-toolbar{align-items:flex-start;flex-direction:column;gap:0}
 .mtg-users-toolbar .mtg-search-field{width:100%}
 .mtg-filter-select{align-self:flex-end;margin-bottom:8px}
 .mtg-rotation-table{min-width:620px}
 .mtg-table-wrap{overflow-x:auto}
}
@media(prefers-reduced-motion:reduce){.mtg-switch__track,.mtg-switch__track:after{transition:none}}

.mtg-weight-total [data-mtg-weight-status].is-valid{color:var(--brand-ink,#005b5b)}
.mtg-weight-total [data-mtg-weight-status].is-invalid{color:var(--text-muted,#667085)}
.mtg-play-voice.is-playing{background:var(--surface-hover,#f2f4f7);border-color:var(--brand-ink,#005b5b)}
.mtg-rotation-link{display:block;margin-top:3px;color:var(--text-subtle,#667085);font-size:11px}

/* Reference-detail refinements */
.mtg-drawer__body{position:relative}
.mtg-option-row{position:relative;display:flex;align-items:center;gap:7px}
.mtg-option-row .input{flex:1;min-width:0}
.mtg-option-grip{display:inline-flex;align-items:center;justify-content:center;width:14px;flex:0 0 14px;color:var(--text-subtle,#98a2b3);font-size:17px;cursor:grab}
.mtg-option-remove{flex:0 0 26px;width:26px;height:30px}
.mtg-option-remove svg{width:15px;height:15px}
.mtg-option-row [data-mtg-option-error]{position:static;grid-column:2;display:block;margin:0 0 2px;color:#b42318;font-size:11px;line-height:1.35}
.mtg-option-row [data-mtg-option-error][hidden]{display:none}
.mtg-delete-confirm{position:absolute;z-index:8;right:32px;top:230px;width:min(245px,calc(100% - 45px));padding:16px;border:1px solid var(--border-strong,#d0d5dd);border-radius:14px;background:var(--surface,#fff);box-shadow:0 10px 30px rgba(16,24,40,.16);color:var(--text,#344054)}
.mtg-delete-confirm:before{content:"";position:absolute;top:-8px;left:48%;width:14px;height:14px;transform:rotate(45deg);border-left:1px solid var(--border-strong,#d0d5dd);border-top:1px solid var(--border-strong,#d0d5dd);background:var(--surface,#fff)}
.mtg-delete-confirm>strong{display:block;margin-bottom:6px;font-size:12px}
.mtg-delete-confirm p{margin:0 0 8px;color:var(--text-muted,#667085);font-size:11px;line-height:1.45}
.mtg-delete-confirm a{display:block;margin-bottom:12px;font-size:11px;line-height:1.4}
.mtg-delete-confirm>div{display:flex;gap:8px}
.mtg-delete-confirm button{min-width:72px;padding:7px 12px;border:1px solid var(--border-strong,#d0d5dd);border-radius:18px;background:var(--surface,#fff);color:var(--text,#344054);font-size:11px;font-weight:650;cursor:pointer}
.mtg-delete-confirm .mtg-delete-confirm__delete{border-color:#b00020;background:#b00020;color:#fff}
.mtg-option-row input[readonly]{cursor:not-allowed}
.mtg-exclusion-combo{position:relative;flex:1;min-width:0}
.mtg-exclusion-combo>.input{width:100%;height:34px;min-height:42px;padding-right:34px;font-size:12px}
.mtg-combo-chevron{position:absolute;right:7px;top:3px;display:grid;place-items:center;width:27px;height:28px;border:0;background:transparent;color:var(--text-muted,#667085);cursor:pointer}
.mtg-exclusion-suggestions{position:absolute;z-index:10;top:calc(100% + 4px);left:0;right:0;padding:8px;border:1px solid var(--border-strong,#d0d5dd);border-radius:8px;background:var(--surface,#fff);box-shadow:0 8px 20px rgba(16,24,40,.14)}
.mtg-exclusion-suggestions>input{width:100%;height:32px;padding:6px 9px;border:1px solid var(--border,#d0d5dd);border-radius:5px;font-size:11px}
.mtg-exclusion-suggestions button{display:block;width:100%;padding:9px 8px;border:0;border-radius:4px;background:transparent;text-align:left;color:var(--text,#344054);font-size:11px;cursor:pointer}
.mtg-exclusion-suggestions button:hover{background:var(--surface-hover,#f2f4f7)}
.mtg-suggestion-empty{display:block;padding:8px;color:var(--text-muted,#667085);font-size:11px}
.mtg-exclusion-row button{padding:5px 9px;border:1px solid var(--border-strong,#d0d5dd);border-radius:16px;background:var(--surface,#fff);color:var(--text,#344054);font-size:10px;white-space:nowrap}
.mtg-exclusion-row button:hover{background:var(--surface-hover,#f2f4f7)}
.mtg-member-search{position:sticky;top:0;z-index:1;padding:4px!important;background:var(--surface,#fff)!important}
.mtg-member-search input{width:100%;height:32px;padding:6px 30px 6px 9px;border:1px solid var(--border-strong,#d0d5dd);border-radius:8px;font-size:11px;background: var(--surface);}
.mtg-member-search svg{position:absolute;right:13px;top:13px;color:var(--text-subtle,#667085)}
.mtg-team-group{padding:4px 0 6px}
.mtg-team-group>strong{display:block;padding:8px 9px;color:var(--text-muted,#667085);font-size:10px;font-weight:700}
.mtg-team-option{display:flex!important;align-items:flex-start!important;gap:9px!important;padding:9px 10px!important;border-radius:0!important}
.mtg-team-option>input{margin-top:3px}
.mtg-team-option>span{display:block;min-width:0;font-size:11px}
.mtg-team-option small{display:block;margin-top:4px;color:var(--text-muted,#667085);font-size:10px}
.mtg-team-option:hover{background:var(--surface-hover,#f2f4f7)}
.mtg-multi-select__options{padding:5px;max-height:245px}
.mtg-user-row{grid-template-columns:18px minmax(0,1fr) 90px}
.mtg-user-row__name{display:block;overflow-wrap:anywhere}
.mtg-user-lock{display:inline-flex;align-items:center;justify-content:center;color:var(--text-subtle,#98a2b3)}
.mtg-user-lock svg{width:13px;height:13px;fill:none;stroke:currentColor;stroke-width:1.2}
.mtg-user-row__content{min-width:0}
.mtg-warning-icon{display:inline-flex;vertical-align:-2px;color:#d6a23a}
.mtg-warning-icon svg{width:12px;height:12px;fill:none;stroke:currentColor;stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round}
.mtg-pagination .mtg-page-number{display:grid;place-items:center;width:26px;height:26px;padding:0;border:1px solid transparent;border-radius:var(--radius-sm);background:transparent;color:var(--text,#344054);font-size:11px}
.mtg-pagination .mtg-page-number.is-active{border-color:var(--border-strong,#98a2b3);background:var(--surface-2,#f9fafb);font-weight:700}
.mtg-notetaker-settings.is-disabled{opacity:.56}
.mtg-notetaker-settings.is-disabled a{pointer-events:none}
.mtg-notetaker-settings.is-disabled .mtg-settings-section{filter:grayscale(.15)}
.mtg-reminder-item select{appearance:none;background-image:linear-gradient(45deg,transparent 50%,currentColor 50%),linear-gradient(135deg,currentColor 50%,transparent 50%);background-position:calc(100% - 13px) 12px,calc(100% - 9px) 12px;background-size:4px 4px,4px 4px;background-repeat:no-repeat}
.mtg-rotations-heading .btn-crm,.mtg-empty-state__copy .btn-crm{white-space:nowrap}
@media(max-width:767px){
 .mtg-delete-confirm{right:18px;top:auto;bottom:22px;width:min(260px,calc(100% - 36px))}
 .mtg-exclusion-entry{align-items:stretch}
 .mtg-exclusion-entry>.btn-crm{padding-inline:13px}
 .mtg-user-row{grid-template-columns:16px minmax(0,1fr) 68px;gap:7px}
 .mtg-users-table__head{grid-template-columns:minmax(0,1fr) 68px}
}

.mtg-users-table__head{grid-template-columns:18px minmax(0,1fr) 90px}
.mtg-users-table__head:before{content:""}
@media(max-width:767px){.mtg-users-table__head{grid-template-columns:16px minmax(0,1fr) 68px}}

/* Theme-aligned meeting outcome drawer and controls */
.mtg-drawer{
  width:min(480px,100vw);
  border:1px solid var(--border,#d0d5dd);
  border-radius:12px 0 0 12px;
  box-shadow:0 16px 48px rgba(16,24,40,.20);
  overflow:hidden;
}
.mtg-drawer__head{min-height:60px;padding:0 22px;background:var(--surface,#fff)}
.mtg-drawer__head h2{font-size:16px;line-height:1.35;font-weight:700;letter-spacing:-.01em}
.mtg-close{width:34px;height:34px;color:var(--text-muted,#667085);border-radius:8px}
.mtg-close:hover{background:var(--surface-hover,#f2f4f7);color:var(--text,#101828)}
.mtg-close svg{width:18px;height:18px}
.mtg-drawer__body{padding:20px 22px;font-size:14px}
.mtg-drawer__foot{min-height:70px;padding:12px 22px;background:var(--surface,#fff)}
.mtg-drawer__foot .btn-crm{min-height:40px;padding:9px 18px;font-size:14px;font-weight:650;border-radius:8px}
.mtg-option-list{gap:8px}
.mtg-option-row{gap:8px}
.mtg-option-row .input{height:38px;min-height:38px;padding:8px 12px;font-size:14px;border-radius:8px;color:var(--text,#101828)}
.mtg-option-grip{width:16px;flex:0 0 16px;color:var(--text-subtle,#98a2b3)}
.mtg-option-grip svg{width:15px;height:15px}
.mtg-option-remove{width:32px;height:34px;flex:0 0 32px;border-radius:7px;color:var(--text-muted,#667085)}
.mtg-option-remove svg{width:17px;height:17px}
.mtg-option-remove:hover{background:var(--surface-hover,#f2f4f7);color:var(--danger,#b42318)}
.mtg-inline-add{display:inline-flex;align-items:center;gap:6px;margin-top:10px;font-size:14px;font-weight:650;color:var(--brand-ink,#1f4bd0)}
.mtg-delete-confirm{
  position:absolute;z-index:20;right:22px;top:auto;bottom:calc(100% - 500px);
  width:min(285px,calc(100% - 44px));padding:18px 17px;
  border:1px solid var(--border-strong,#d0d5dd);border-radius:14px;
  background:var(--surface,#fff);box-shadow:0 14px 36px rgba(16,24,40,.18);
  color:var(--text,#101828);font-size:14px;
}
.mtg-delete-confirm>strong{font-size:14px;line-height:1.4;margin-bottom:8px}
.mtg-delete-confirm p{font-size:13px;line-height:1.5;margin-bottom:9px}
.mtg-delete-confirm a{font-size:13px;line-height:1.45;margin-bottom:14px}
.mtg-delete-confirm button{min-width:76px;min-height:34px;padding:7px 15px;font-size:13px;border-radius:var(--radius-sm)}
.mtg-delete-confirm .mtg-delete-confirm__delete{background:var(--danger,#b00020);border-color:var(--danger,#b00020);color:#fff}
.mtg-delete-confirm:before{background:var(--surface,#fff)}
.mtg-delete-confirm[hidden]{display:none!important}
.mtg-option-row [data-mtg-option-error]{font-size:12px}
.mtg-field-label{font-size:14px}
.mtg-drawer .mtg-help,.mtg-drawer .mtg-description,.mtg-drawer .mtg-empty-mini{font-size:13px;line-height:1.5}
.mtg-drawer input,.mtg-drawer select,.mtg-drawer textarea{font-size:14px}
.mtg-drawer .mtg-exclusion-table__head{font-size:12px}
.mtg-drawer .mtg-exclusion-row{font-size:13px}
.mtg-drawer .mtg-team-option>span{font-size:13px}
.mtg-drawer .mtg-team-option small{font-size:12px}
.mtg-drawer .mtg-member-search input{font-size:13px}
.mtg-drawer .mtg-user-row__name{font-size:13px}
.mtg-drawer .mtg-user-row__issue{font-size:12px}
.mtg-page .form-check-input{
  appearance:auto;
  width:16px;height:16px;min-width:16px;
  margin:0 7px 0 0;
  accent-color:var(--brand-ink,#1f4bd0);
  vertical-align:middle;
  cursor:pointer;
}
.mtg-page .mtg-check-line{display:flex;align-items:flex-start;gap:8px;font-size:14px;line-height:1.45}
.mtg-page .mtg-check-line .form-check-input{margin-top:2px}
.mtg-page .mtg-team-option .form-check-input{margin-top:3px}
.mtg-page .mtg-delete-confirm button:focus-visible,
.mtg-page .mtg-option-remove:focus-visible,
.mtg-page .mtg-close:focus-visible{outline:3px solid var(--focus-ring,rgba(36,86,230,.22));outline-offset:2px}
@media(max-width:575px){
  .mtg-drawer{width:100vw;border-radius:0}
  .mtg-drawer__head{padding-inline:17px}
  .mtg-drawer__body{padding:18px 17px}
  .mtg-drawer__foot{padding-inline:17px}
  .mtg-delete-confirm{right:14px;bottom:24px;width:min(285px,calc(100% - 28px))}
}

/* Final popup interaction polish: transient confirmation, SVG delete actions and theme checks */
.mtg-delete-confirm{
  top:230px;
  bottom:auto;
  height:auto;
  min-height:0;
  max-height:calc(100% - 24px);
  overflow:auto;
}
.mtg-delete-confirm[hidden]{display:none!important}
.mtg-option-remove{
  display:grid!important;
  place-items:center;
  flex:0 0 34px;
  width:34px;
  height:36px;
  padding:0;
  border:1px solid transparent;
  border-radius:8px;
  background:transparent;
  color:var(--text-muted,#667085);
  opacity:1!important;
  visibility:visible!important;
}
.mtg-option-remove svg,.mtg-row-delete svg{display:block;width:17px;height:17px}
.mtg-option-remove:hover,.mtg-row-delete:hover{
  border-color:var(--border,#e4e7ec);
  background:var(--surface-hover,#f2f4f7);
  color:var(--danger,#b42318);
}
.mtg-row-delete{
  display:grid;
  place-items:center;
  flex:0 0 34px;
  width:34px;
  height:34px;
  padding:0;
  border:1px solid var(--border,#d0d5dd);
  border-radius:50%;
  background:var(--surface,#fff);
  color:var(--text-muted,#667085);
  cursor:pointer;
}
.mtg-row-delete:focus-visible,.mtg-option-remove:focus-visible{
  outline:3px solid var(--focus-ring,rgba(36,86,230,.22));
  outline-offset:2px;
}
.mtg-exclusion-row .mtg-row-delete{justify-self:end}
.mtg-team-option.check{gap:9px!important}
.mtg-team-option.check>input{
  position:absolute;
  width:1px;
  height:1px;
  opacity:0;
  pointer-events:none;
}
.mtg-team-option.check>.check__box{
  display:inline-block;
  flex:0 0 18px;
  width:18px;
  height:18px;
  margin-top:1px;
}
.mtg-team-option.check>span:last-child{flex:1;min-width:0}
.mtg-team-option.check:focus-within>.check__box{
  outline:3px solid var(--focus-ring,rgba(36,86,230,.22));
  outline-offset:2px;
}
.mtg-team-option.check>input:checked+.check__box{
  border-color:var(--brand-ink,#1f4bd0);
  background:var(--brand-ink,#1f4bd0);
}
.mtg-team-option.check>input:checked+.check__box:after{opacity:1}
.mtg-option-grip{display:grid;place-items:center;flex:0 0 16px;width:16px;color:var(--text-subtle,#98a2b3)}
.mtg-option-grip svg{display:block}
@media(max-width:575px){
  .mtg-delete-confirm{right:12px;left:12px;width:auto;max-width:none}
}

/* Keep the shared .check component spacing intact inside the meeting drawers. */
.mtg-check-line.check{align-items:flex-start;gap:9px;font-size:14px;line-height:1.45}
.mtg-check-line.check>input{position:absolute;width:20px;height:20px;opacity:0;margin:0}
.mtg-check-line.check>.check__box{flex:0 0 20px;width:20px;height:20px;margin-top:1px}
.mtg-check-line.check>span:last-child{min-width:0;flex:1}
.mtg-check-line.check strong{font-size:14px}
.mtg-check-line.check small{font-size:13px;line-height:1.5}
.mtg-option-row .input{flex:1;min-width:0}
.mtg-exclusion-table__head,.mtg-exclusion-row{grid-template-columns:minmax(0,1.4fr) minmax(0,1fr) 34px}
.mtg-exclusion-row .mtg-row-delete{grid-column:3}


/* Rotation member picker: normalize the shared checkbox visual.
   Keep the real input accessible, but render only the theme checkbox box. */
#mtg-member-options .mtg-team-option.check{
  position:relative!important;
  display:flex!important;
  align-items:flex-start!important;
  gap:10px!important;
}
#mtg-member-options .mtg-team-option.check>input[type="checkbox"]{
  position:absolute!important;
  width:1px!important;
  height:1px!important;
  min-width:1px!important;
  min-height:1px!important;
  padding:0!important;
  margin:-1px!important;
  overflow:hidden!important;
  clip:rect(0,0,0,0)!important;
  white-space:nowrap!important;
  border:0!important;
  opacity:0!important;
  appearance:none!important;
  -webkit-appearance:none!important;
  pointer-events:none!important;
}
#mtg-member-options .mtg-team-option.check>.check__box{
  position:relative!important;
  display:inline-block!important;
  box-sizing:border-box!important;
  flex:0 0 18px!important;
  width:18px!important;
  height:18px!important;
  min-width:18px!important;
  min-height:18px!important;
  margin:1px 0 0!important;
  padding:0!important;
  border:1px solid var(--border-strong,#cbd5e1)!important;
  border-radius:5px!important;
  background:var(--surface,#fff)!important;
  box-shadow:none!important;
  transform:none!important;
}
#mtg-member-options .mtg-team-option.check>.check__box::before{
  content:none!important;
  display:none!important;
}
#mtg-member-options .mtg-team-option.check>.check__box::after{
  content:""!important;
  position:absolute!important;
  display:block!important;
  width:5px!important;
  height:9px!important;
  left:5px!important;
  top:2px!important;
  border:solid #fff!important;
  border-width:0 2px 2px 0!important;
  border-radius:0!important;
  background:transparent!important;
  opacity:0!important;
  transform:rotate(45deg)!important;
}
#mtg-member-options .mtg-team-option.check>input[type="checkbox"]:checked+.check__box{
  border-color:var(--brand-ink,#2456e6)!important;
  background:var(--brand-ink,#2456e6)!important;
}
#mtg-member-options .mtg-team-option.check>input[type="checkbox"]:checked+.check__box::after{
  opacity:1!important;
}
#mtg-member-options .mtg-team-option.check>input[type="checkbox"]:focus-visible+.check__box{
  outline:3px solid var(--focus-ring,rgba(36,86,230,.22))!important;
  outline-offset:2px!important;
}


/* View users drawer: three explicit columns (lock, user details, team).
   Keep the lock in its own narrow column so names never collapse on mobile. */
.mtg-drawer--users .mtg-users-table__head{
  display:grid!important;
  grid-template-columns:18px minmax(0,1fr) minmax(90px,112px)!important;
  gap:10px!important;
}
.mtg-drawer--users .mtg-users-table__head::before{
  content:""!important;
  display:block!important;
}
.mtg-drawer--users .mtg-user-row{
  display:grid!important;
  grid-template-columns:18px minmax(0,1fr) minmax(90px,112px)!important;
  gap:10px!important;
  align-items:start!important;
}
.mtg-drawer--users .mtg-user-lock{
  grid-column:1;
  display:flex!important;
  align-items:flex-start!important;
  justify-content:center!important;
  padding-top:2px;
}
.mtg-drawer--users .mtg-user-row__content{
  grid-column:2;
  display:block!important;
  min-width:0!important;
  width:100%!important;
}
.mtg-drawer--users .mtg-user-row__name{
  display:block!important;
  width:100%!important;
  min-width:0!important;
  white-space:normal!important;
  overflow-wrap:anywhere!important;
  word-break:normal!important;
  line-height:1.4;
}
.mtg-drawer--users .mtg-user-row__issue{
  display:block!important;
  width:100%!important;
  line-height:1.4;
  overflow-wrap:anywhere;
}
.mtg-drawer--users .mtg-user-row__team{
  grid-column:3;
  min-width:0!important;
  width:100%!important;
  overflow-wrap:anywhere;
  line-height:1.4;
  padding-top:2px;
}
@media(max-width:575px){
  .mtg-drawer--users .mtg-users-table__head,
  .mtg-drawer--users .mtg-user-row{
    grid-template-columns:16px minmax(0,1fr) minmax(82px,100px)!important;
    gap:8px!important;
  }
  .mtg-drawer--users .mtg-users-table__head{
    font-size:10px;
  }
  .mtg-drawer--users .mtg-user-row{
    padding:12px 6px!important;
    font-size:12px!important;
  }
  .mtg-drawer--users .mtg-user-row__name{
    font-size:13px!important;
  }
  .mtg-drawer--users .mtg-user-row__issue{
    font-size:11px!important;
  }
  .mtg-drawer--users .mtg-user-row__team{
    font-size:11px!important;
  }
}


/* Notetaker language, voice and join-time dropdowns */
.mtg-select-menu{
  position:relative;
  display:block;
  width:100%;
  min-width:0;
}
.mtg-select-menu--language,
.mtg-select-menu--voice{width:112px;flex:0 0 112px}
.mtg-select-menu--voice{width:125px;flex-basis:125px}
.mtg-select-menu--join{width:220px;max-width:100%}
.mtg-select-menu .mtg-native-select{
  position:absolute!important;
  width:1px!important;
  height:1px!important;
  min-height:1px!important;
  padding:0!important;
  margin:-1px!important;
  overflow:hidden!important;
  clip:rect(0,0,0,0)!important;
  white-space:nowrap!important;
  border:0!important;
  opacity:0!important;
  pointer-events:none!important;
}
.mtg-select-trigger{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  width:100%;
  min-width:0;
  height:40px;
  padding:0 10px;
  border:1px solid var(--border-strong,#d0d5dd);
  border-radius:8px;
  background:var(--surface,#fff);
  color:var(--text,#101828);
  font:inherit;
  font-size:13px;
  line-height:1.2;
  text-align:left;
  cursor:pointer;
}
.mtg-select-trigger:hover{border-color:var(--text-subtle,#98a2b3)}
.mtg-select-trigger:focus-visible{
  outline:3px solid var(--focus-ring,rgba(36,86,230,.22));
  outline-offset:1px;
}
.mtg-select-trigger__value{
  display:block;
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.mtg-select-trigger__chevron{
  display:flex;
  flex:0 0 12px;
  align-items:center;
  justify-content:center;
  color:var(--text-muted,#667085);
}
.mtg-select-trigger__chevron svg{
  display:block;
  width:13px;
  height:13px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.5;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.mtg-select-menu.is-open{z-index:80}
.mtg-select-menu__list{
  position:absolute;
  z-index:81;
  top:calc(100% + 5px);
  left:0;
  width:100%;
  max-height:198px;
  overflow-y:auto;
  overscroll-behavior:contain;
  padding:4px 0;
  border:1px solid var(--border-strong,#d0d5dd);
  border-radius:10px;
  background:var(--surface,#fff);
  box-shadow:0 10px 26px rgba(16,24,40,.16);
  scrollbar-width:thin;
  scrollbar-color:var(--text-subtle,#98a2b3) transparent;
}
.mtg-select-menu__list[hidden]{display:none!important}
.mtg-select-menu--join .mtg-select-menu__list{max-height:158px}
.mtg-select-menu__option{
  display:block;
  width:100%;
  min-height:36px;
  padding:8px 12px;
  border:0;
  border-radius:0;
  background:transparent;
  color:var(--text,#101828);
  font:inherit;
  font-size:13px;
  line-height:1.35;
  text-align:left;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  cursor:pointer;
}
.mtg-select-menu__option:hover,
.mtg-select-menu__option:focus-visible{background:var(--surface-hover,#f2f4f7);outline:0}
.mtg-select-menu__option.is-selected{
  background:var(--surface-3,#eef1f5);
  color:var(--text,#101828);
  font-weight:600;
}
.mtg-select-menu--language .mtg-select-menu__option,
.mtg-select-menu--voice .mtg-select-menu__option{padding-inline:12px}
.mtg-voice-controls .field{min-width:0}
.mtg-voice-controls .mtg-select-menu{margin-top:0}
.mtg-join-select{width:220px;max-width:100%}
@media(max-width:767px){
  .mtg-voice-controls{align-items:flex-end;gap:10px}
  .mtg-select-menu--language{width:112px;flex-basis:112px}
  .mtg-select-menu--voice{width:125px;flex-basis:125px}
  .mtg-select-menu--join{width:min(220px,100%)}
}
@media(max-width:380px){
  .mtg-voice-controls{gap:8px}
  .mtg-select-menu--language{width:108px;flex-basis:108px}
  .mtg-select-menu--voice{width:118px;flex-basis:118px}
}


/* Side drawers/popup panels are flush to the viewport edge. */
.mtg-drawer,
.mtg-drawer[open] {
  border-radius: 0 !important;
}


/* Single-scroll drawer fix:
   Keep the dialog and form locked to the viewport; only the content body scrolls. */
dialog.mtg-drawer,
dialog.mtg-drawer[open]{
  box-sizing:border-box;
  height:100dvh;
  max-height:100dvh;
  overflow:hidden!important;
  overscroll-behavior:none;
}
dialog.mtg-drawer>.mtg-drawer__form,
dialog.mtg-drawer .mtg-drawer__form{
  display:flex;
  flex-direction:column;
  height:100%;
  min-height:0;
  max-height:100%;
  overflow:hidden;
}
dialog.mtg-drawer .mtg-drawer__head,
dialog.mtg-drawer .mtg-drawer__foot{
  flex:0 0 auto;
}
dialog.mtg-drawer .mtg-drawer__body{
  flex:1 1 0;
  min-height:0;
  height:0;
  overflow-x:hidden;
  overflow-y:auto;
  overscroll-behavior:contain;
  -webkit-overflow-scrolling:touch;
}


/* Meeting option rows: keep inline validation in normal flow, never over the next row. */
#mtg-outcome-list .mtg-option-row,
#mtg-type-list .mtg-option-row{
  display:grid;
  grid-template-columns:14px minmax(0,1fr) 26px;
  align-items:center;
  column-gap:7px;
  row-gap:3px;
}
#mtg-outcome-list .mtg-option-row [data-mtg-option-error],
#mtg-type-list .mtg-option-row [data-mtg-option-error]{
  grid-column:2;
  grid-row:2;
  position:static;
  margin:0 0 2px;
}
#mtg-outcome-list .mtg-option-row .mtg-option-grip,
#mtg-type-list .mtg-option-row .mtg-option-grip{grid-column:1;grid-row:1;}
#mtg-outcome-list .mtg-option-row .input,
#mtg-type-list .mtg-option-row .input{grid-column:2;grid-row:1;min-width:0;width:100%;}
#mtg-outcome-list .mtg-option-row .mtg-option-remove,
#mtg-type-list .mtg-option-row .mtg-option-remove{grid-column:3;grid-row:1;}


/* View-users filter dropdown: match the compact CRM popover menu. */
.mtg-filter-select{position:relative;display:inline-flex;align-items:center;gap:6px;white-space:nowrap}
.mtg-filter-select .mtg-filter-dropdown{position:relative;display:inline-flex;align-items:center}
.mtg-filter-select select.mtg-filter-native{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important;opacity:0!important;pointer-events:none!important}
.mtg-filter-dropdown__trigger{display:inline-flex;align-items:center;gap:4px;min-height:28px;padding:3px 5px;border:0;border-radius:5px;background:transparent;color:var(--text,#101828);font:inherit;font-size:12px;font-weight:650;cursor:pointer}
.mtg-filter-dropdown__trigger:hover,.mtg-filter-dropdown__trigger[aria-expanded="true"]{background:var(--surface-hover,#f2f4f7)}
.mtg-filter-dropdown__trigger svg{width:12px;height:12px;flex:0 0 auto;color:var(--text-muted,#667085);transition:transform .15s ease}
.mtg-filter-dropdown__trigger[aria-expanded="true"] svg{transform:rotate(180deg)}
.mtg-filter-dropdown__menu{position:absolute;z-index:30;top:calc(100% + 7px);right:0;width:126px;max-height:220px;padding:5px 0;border:1px solid var(--border,#e4e7ec);border-radius:12px;background:var(--surface,#fff);box-shadow:0 8px 24px rgba(16,24,40,.16);overflow-y:auto}
.mtg-filter-dropdown__menu[hidden]{display:none!important}
.mtg-filter-dropdown__option{display:block;width:100%;min-height:36px;padding:9px 16px;border:0;background:transparent;color:var(--text,#344054);font:inherit;font-size:12px;text-align:left;cursor:pointer}
.mtg-filter-dropdown__option:hover,.mtg-filter-dropdown__option:focus-visible{background:var(--surface-hover,#f2f4f7);outline:0}
.mtg-filter-dropdown__option[aria-selected="true"]{background:var(--surface-3,#eef1f5);font-weight:600}
@media(max-width:767px){.mtg-filter-select{align-self:flex-end;margin-bottom:8px}.mtg-filter-dropdown__menu{right:0}}
