.mch-root{font-size:11px;line-height:1.3;color:inherit}.mch-root *{box-sizing:border-box}.mch-root h2{font-size:15px!important;margin:0}.mch-root h3{font-size:12px!important;margin:0}.mch-root p{margin:3px 0;color:#857b72;font-size:10px}.mch-heading{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:9px}.mch-controls{display:flex;align-items:center;gap:4px;flex-wrap:wrap}.mch-root button,.mch-root input{font:inherit;border:1px solid #decfc3;background:#fff;color:inherit;border-radius:5px;padding:4px 7px;min-height:26px}.mch-root button{cursor:pointer}.mch-calendar-layout{display:grid;grid-template-columns:240px minmax(0,1fr);gap:14px}.mch-calendar{padding:8px;background:#faf7f3;border-radius:7px}.mch-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px;margin-top:8px}.mch-days>span{text-align:center;color:#857b72;font-size:9px;padding:4px 0}.mch-days button{position:relative;height:30px;padding:2px;border:1px solid transparent;background:transparent;font-size:11px}.mch-days button b{position:absolute;right:1px;top:1px;font-size:8px;color:#be5d2f}.mch-days button.is-today{border-color:#e5733b}.mch-days button[aria-pressed=true]{background:#e5733b;color:white}.mch-days button[aria-pressed=true] b{color:white}.mch-days button.is-outside{opacity:.35}.mch-event-list{min-width:0}.mch-table{overflow:auto;width:100%}.mch-root .mch-table table{width:100%;border-collapse:collapse;table-layout:auto;font-size:10px}.mch-root .mch-table th{font-size:9px;white-space:nowrap;text-transform:none}.mch-root .mch-table td,.mch-root .mch-table th{padding:5px 6px;line-height:1.3;overflow-wrap:normal;word-break:normal}.mch-table td:first-child{min-width:150px}.mch-table td:last-child{min-width:90px}.mch-table td button{font-size:9px;padding:3px 5px;min-height:23px;margin:2px}.mch-root small{display:block;font-size:9px;color:#857b72;margin-top:2px}.mch-tag{display:inline-block;font-size:9px;background:#f4ede5;border-radius:4px;padding:3px 5px;white-space:nowrap}.mch-bottom{display:grid;grid-template-columns:1fr 1.5fr;gap:9px;margin-top:10px}.mch-root details{border:1px solid #e7d9cd;border-radius:6px;padding:7px;margin-top:8px}.mch-root summary{font-weight:600;font-size:11px;cursor:pointer}.mch-detail{border:1px solid #edb08a;border-radius:7px;padding:10px;margin-top:10px}.mch-note{margin-top:9px!important;font-size:10px!important}.mc-hub .mc-events-list th:nth-child(1){width:24%}.mc-hub .mc-events-list th:nth-child(2){width:12%}.mc-hub .mc-events-list th:nth-child(3){width:18%}.mc-hub .mc-events-list th:nth-child(4){width:10%}.mc-hub .mc-events-list th:nth-child(5){width:12%}.mc-hub .mc-events-list th:nth-child(6){width:10%}.mc-hub .mc-events-list th:nth-child(7){width:14%;white-space:nowrap;overflow-wrap:normal;min-width:100px}.mc-hub .mc-events-list td:last-child{overflow-wrap:normal;word-break:normal}.mc-hub:has(.mch-root) .mc-schedule{display:block;padding:10px}.mc-hub .mc-schedule .mch-calendar{grid-area:auto}.gcm-inline{display:block!important;position:relative!important;inset:auto!important;margin:9px 0!important;width:100%!important;max-width:none!important;height:auto!important;max-height:none!important;border:1px solid #e5d6c9;border-radius:8px;background:var(--gcm-bg,#fff);box-shadow:none!important;padding:0;z-index:1}.gcm-inline main{overflow:visible!important;padding:10px!important;max-height:none!important;height:auto!important}.gcm-inline header{padding:9px 10px}.gcm-inline footer{font-size:9px}.mc-hub.gcm-workspace-open>*:not(.mc-head):not(.gcm-inline):not([data-gcm-toolbar]){display:none!important}.mc-hub.gcm-workspace-open .gcm-inline{display:block!important}.gcm-inline .mcroi{font-size:11px}.gcm-inline .mcroi h2{font-size:16px}.gcm-inline .mcroi h3{font-size:13px}.gcm-inline .mcroi p{font-size:10px;margin:4px 0}.gcm-inline .mcroi-note{padding:6px 9px;margin:5px 0 8px}.gcm-inline .mcroi-note summary{cursor:pointer;font-size:10px;font-weight:600}.gcm-inline .mcroi-filters{gap:6px;margin-bottom:7px}.gcm-inline .mcroi-filters label{font-size:9px}.gcm-inline .mcroi-filters input,.gcm-inline .mcroi-filters select{min-height:26px;font-size:10px;padding:4px}.gcm-inline .mcroi-kpis{gap:7px;margin:7px 0}.gcm-inline .mcroi-kpis article{padding:8px;min-height:64px;font-size:10px}.gcm-inline .mcroi-kpis b{font-size:18px;margin:5px 0}.gcm-inline .mcroi-kpis small{font-size:9px;line-height:1.25}.gcm-inline .mcroi-table td,.gcm-inline .mcroi-table th{font-size:10px;padding:5px 6px}.gcm-inline .mcroi-table td small{font-size:9px;margin:1px 0}.gcm-inline .mcroi-table button{font-size:9px;min-height:21px;padding:2px 5px;margin:2px 0}.gcm-inline .mcroi-head{margin:0 0 5px;gap:6px}.gcm-inline .mcroi-line{padding:5px 0}.gcm-inline .mcroi-card{padding:10px;margin:8px 0}.gcm-inline .mcroi [data-roi-message]:empty{display:none}.mcroi-mini-chart{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:8px 0}.mcroi-mini-chart section{padding:9px;border:1px solid #e6d8cb;border-radius:6px;min-width:0}.mcroi-mini-chart h3{margin-bottom:6px;font-size:11px!important}.mcroi-mini-chart .mcroi-chart-row{display:grid;grid-template-columns:70px 1fr 100px;gap:8px;align-items:center;font-size:10px;margin:7px 0}.mcroi-chart-row .mcroi-bar-pair{display:grid;gap:3px}.mcroi-bar-pair i{display:block;height:5px;border-radius:3px;background:#dc763f}.mcroi-bar-pair i:nth-child(2){background:#45967f}.mcroi-mini-chart small{font-size:9px}.mcroi-detail-table{width:100%;border-collapse:collapse;font-size:10px}.mcroi-detail-table td,.mcroi-detail-table th{padding:6px!important;vertical-align:top}.mcroi-detail-table small{font-size:9px}.mcroi-detail-totals{display:flex;gap:8px;flex-wrap:wrap;margin:8px 0}.mcroi-detail-totals span{padding:7px;background:#f8f3ec;border-radius:5px;font-size:10px}.mcroi-detail-totals b{display:block;font-size:14px;margin-top:3px}@media(max-width:900px){.mch-calendar-layout{grid-template-columns:1fr}.mch-calendar{max-width:330px}.mch-bottom,.mcroi-mini-chart{grid-template-columns:1fr}.mch-root .mch-table table{min-width:630px}.mch-heading{flex-wrap:wrap}.gcm-inline nav{flex-wrap:wrap}}html[data-theme=dark] .mch-calendar{background:#292521}html[data-theme=dark] .mch-root button,html[data-theme=dark] .mch-root input{background:#28231e;border-color:#584a3f}html[data-theme=dark] .mch-tag,html[data-theme=dark] .mcroi-detail-totals span{background:#362c25}html[data-theme=dark] .mch-root details,html[data-theme=dark] .mcroi-mini-chart section{border-color:#55473b}

.gcm-inline .mcroi.is-detail .mcroi-block,.gcm-inline .mcroi.is-detail .mcroi-mini-chart{display:none}.gcm-inline .mcroi-detail-table th{font-size:9px}.gcm-inline .mcroi-detail-table details{font-size:10px}.gcm-inline .mcroi h4{font-size:11px;margin:10px 0 5px}.gcm-inline .mcroi .mcroi-scroll{max-height:none}

.gcm-inline .mcroi.is-detail .mcroi-block,.gcm-inline .mcroi.is-detail .mcroi-mini-chart{display:none}.gcm-inline .mcroi-detail-table th{font-size:9px}.gcm-inline .mcroi-detail-table details{font-size:10px}.gcm-inline .mcroi h4{font-size:11px;margin:10px 0 5px}.gcm-inline .mcroi .mcroi-scroll{max-height:none}

.mcroi-list-footer{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 0}.mch-bottom{align-items:start}html[data-theme=dark] .mch-root small{color:#bdaea0}html[data-theme=dark] .gcm-inline{background:#28231e;color:#eee3d9}html[data-theme=dark] .mcroi-mini-chart section{background:#28231e}

.mch-root .mch-bottom{grid-template-columns:minmax(0,1fr) minmax(0,1.5fr)}
.mch-root .mch-bottom > details{min-width:0}
.mch-root .mch-bottom > details > summary{color:#803613;background:#fff1e7;font-size:13px;font-weight:750;margin:-7px;padding:9px;border-radius:5px;min-height:34px}
.mch-root .mch-bottom > details[open] > summary{margin-bottom:5px}
.mch-root .mch-bottom > details:nth-child(2) > summary{background:#edf7f2;color:#215e4b}
.mch-linked{color:#236851}
.mch-root dialog.mch-drawer{box-sizing:border-box;position:fixed;inset:64px 12px 12px auto;margin:0;width:min(448px,calc(100vw - 24px));max-width:none;max-height:calc(100dvh - 76px);padding:0;border:1px solid #e4d5c8;border-radius:12px;background:#fff;color:#29231f;box-shadow:0 10px 45px #251b162e;overflow:hidden;font:12px/1.4 system-ui,sans-serif}
.mch-drawer[open]{display:flex;flex-direction:column;animation:mch-drawer-entry .16s ease-out}
.mch-drawer::backdrop{background:#211a1415}
.mch-drawer header{padding:12px;border-bottom:1px solid #e4d5c8;display:flex;justify-content:space-between;align-items:start;gap:8px}
.mch-drawer header h3{font-size:16px!important}
.mch-drawer-body{overflow:auto;padding:8px 12px 12px;overscroll-behavior:contain}
.mch-drawer-form label,.mch-drawer [data-mch-link-form] label{display:grid;gap:4px;margin:9px 0;font-weight:600}
.mch-drawer input,.mch-drawer select{min-height:34px;width:100%;border:1px solid #decfc3;border-radius:5px;padding:5px;font:inherit;background:transparent;color:inherit}
.mch-drawer [data-mch-suggestions]{display:grid;gap:4px;max-height:255px;overflow:auto}
.mch-drawer [data-mch-suggestions] button{text-align:left;padding:7px}
.mch-drawer .mch-link-primary{margin-top:8px;color:white;background:#b94f28;border-color:#b94f28}
.mch-drawer .mch-link-primary:disabled{opacity:.5;cursor:default}
.mch-guest-list{display:grid;list-style:none;padding:0;margin:0 0 6px}
.mch-guest-list li{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:8px;padding:8px 0;border-bottom:1px solid #e8ded7;overflow-wrap:anywhere}
.mch-guest-status{display:inline-block;font-size:10px;padding:2px 5px;border-radius:4px;background:#f3ede8;color:#685a4f}
.mch-guest-status.is-attended{background:#e5f5ea;color:#256047}
#gc-page-sources{position:fixed;bottom:8px;left:81px;z-index:7900;border:1px solid #d9cabe;background:#fff;color:#6b5340;border-radius:14px;font:10px/1.2 Arial;padding:5px 9px;min-height:24px;cursor:pointer}
#gc-page-sources[hidden]{display:none!important}
#gc-page-sources-dialog{width:min(390px,calc(100vw - 20px));box-sizing:border-box;position:fixed;inset:auto auto 38px 8px;margin:0;padding:12px;max-height:70dvh;overflow:auto;border:1px solid #e4d5c8;border-radius:9px;background:#fff;color:#29231f;font:12px/1.4 system-ui,sans-serif}
#gc-page-sources-dialog::backdrop{background:#211a1420}
#gc-page-sources-dialog header{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:5px}
#gc-page-sources-dialog header button{border:1px solid #e4d5c8;border-radius:5px;background:transparent;color:inherit;cursor:pointer}
#gc-page-sources-dialog a{display:block;text-decoration:none;padding:6px 2px;border-top:1px solid #e4d5c8;color:#985032}
#gc-page-sources-dialog a:hover{text-decoration:underline}
html[data-theme=dark] .mch-root .mch-bottom > details > summary{background:#493326;color:#ffc2a7}
html[data-theme=dark] .mch-root .mch-bottom > details:nth-child(2) > summary{background:#223d32;color:#b6e6cf}
html[data-theme=dark] .mch-linked{color:#b6e6cf}
html[data-theme=dark] .mch-root dialog.mch-drawer,html[data-theme=dark] #gc-page-sources-dialog,html[data-theme=dark] #gc-page-sources{background:#2b2521;color:#eee5db;border-color:#615144}
html[data-theme=dark] #gc-page-sources-dialog a{color:#ffc2a7}
@media(max-width:640px){.mch-root dialog.mch-drawer{inset:8px 8px 8px auto;width:calc(100vw - 16px);max-height:calc(100dvh - 16px)}.mch-drawer input,.mch-drawer select{font-size:16px}}
@media(max-width:900px){.mch-root .mch-bottom{grid-template-columns:minmax(0,1fr)}}
@media(prefers-reduced-motion:reduce){.mch-drawer[open]{animation:none}}
@keyframes mch-drawer-entry{from{transform:translateX(16px);opacity:.4}to{transform:none;opacity:1}}

/* Keep only the active master-class workspace in the document layout. */
.mc-hub [hidden],.mc-hub .mc-workspace[hidden],.mc-hub .mc-schedule[hidden],.mc-hub .mc-contact-queue[hidden]{display:none!important}
.mc-hub .mc-workspace:not(.mc-workspace-schedule){display:block!important;grid-template-columns:minmax(0,1fr)!important}
.mc-hub .mc-workspace:not(.mc-workspace-schedule)>.mc-contact-queue{width:100%;min-width:0;max-width:none}
.mc-hub .mc-workspace-schedule>.mc-schedule:has(.mch-root){display:block;max-width:none}
.mc-hub .mc-workspace-schedule:has(.mch-root){display:block}
.mch-root{font:11px/1.3 'Golos Text',Arial,sans-serif}
.mch-root h2{font-size:14px!important}.mch-root h3{font-size:11px!important}
.mch-calendar-layout{grid-template-columns:250px minmax(0,1fr);align-items:start;gap:12px}
.mch-mini-head{display:flex;align-items:center;justify-content:space-between;gap:5px;margin-bottom:6px}
.mch-mini-head button{min-height:24px;min-width:24px;padding:2px 5px}
.mch-root .mch-month-total{font-size:10px;margin-top:7px}
.mch-root .mch-schedule-table{table-layout:fixed!important;min-width:850px;width:100%}
.mch-root .mch-schedule-table td,.mch-root .mch-schedule-table th{padding:4px 6px;vertical-align:middle;line-height:1.25;font-size:10px;overflow-wrap:normal}
.mch-root .mch-schedule-table th{font-size:9px;white-space:nowrap}
.mch-root .mch-event-title small{display:block;max-width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:10px;margin:2px 0 0}
.mch-root .mch-city>b,.mch-root .mch-people-table td:first-child>b{font-weight:700}
.mch-event-actions{display:flex;gap:3px;align-items:center;flex-wrap:nowrap}
.mch-root .mch-event-actions button{font-size:9px;min-height:24px;padding:3px 5px;white-space:nowrap}
.mch-root .mch-count-pair,.mch-root .mch-editable-number{display:inline-flex;gap:3px;align-items:center;white-space:nowrap}
.mch-root .mch-count-pair>span{color:var(--muted,#83776c);padding:0 2px}
.mch-root button.mch-count-edit{display:inline-grid;place-items:center;width:18px;height:18px;min-height:18px;padding:2px;border:0;background:transparent;color:#948477;vertical-align:middle}
.mch-root button.mch-count-edit:hover{background:#fff0e5;color:#d56a36}
.mch-count-edit svg{width:12px;height:12px;fill:none;stroke:currentColor;stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round}
.mch-root .mch-people-table{table-layout:fixed;width:100%;min-width:390px}
.mch-root .mch-people-table th:first-child{width:29%}.mch-root .mch-people-table th:nth-child(2){width:17%}.mch-root .mch-people-table th:nth-child(3){width:22%}.mch-root .mch-people-table th:last-child{width:32%}
.mch-root .mch-people-table td,.mch-root .mch-people-table th{padding:4px 6px;vertical-align:middle;line-height:1.25;font-size:10px}
.mch-root .mch-people-table td{height:32px}.mch-root .mch-people-table td:last-child{white-space:normal}
.mch-root .mch-people-table td:last-child>small{display:inline;margin:0 4px 0 0;font-size:9px}
.mch-root .mch-people-table td:last-child>strong{display:inline;font-size:10px}
.mch-root .mch-people-table td:last-child>button{display:inline-block;min-height:22px;margin:0;padding:3px 5px;font-size:9px}
.mch-root .mch-bottom{gap:10px;margin-top:10px;align-items:start}
.mch-root .mch-bottom>details>summary,.mch-root .mch-past>summary{font-size:12px;font-weight:700;padding:8px 9px}
.mch-root .mch-past{border:1px solid #dfd4ca;border-radius:6px;margin-top:10px;overflow:hidden}
.mch-root .mch-past>summary{cursor:pointer;background:#f1eee9}
.mch-root .mch-past>summary>small{font-size:10px;font-weight:400;margin-left:7px}
.mch-count-dialog{width:min(430px,calc(100vw - 24px));border:1px solid #ddcec2;border-radius:9px;padding:13px;color:var(--ink,#302b26);background:var(--card,#fff);font:12px/1.4 'Golos Text',Arial,sans-serif}
.mch-count-dialog::backdrop{background:#201b1726}
.mch-count-dialog p{margin:5px 0;color:inherit}.mch-count-dialog h3{font-size:13px;margin:0}
.mch-count-dialog button{font:inherit;border:1px solid #dbcdbf;border-radius:5px;background:#fff;padding:5px 8px;cursor:pointer}
.mch-count-dialog [type=submit]{background:#f27439;border-color:#f27439;color:#fff}
.mch-count-fields{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:10px 0}
.mch-count-fields label{display:grid;gap:4px;font-size:11px}
.mch-count-fields input{width:100%;box-sizing:border-box;padding:6px;border:1px solid #ddcec2;border-radius:5px;font:inherit}
.mch-count-dialog .mch-note{font-size:10px;color:#87776a}
.mch-count-dialog [data-count-error]{color:#ab3d30;font-size:11px}
.mc-hub .mca-inline-cell{width:28px!important;min-width:28px;padding:4px!important;text-align:center!important}
.mc-hub .mca-inline-cell input{width:14px;height:14px;margin:0}
.mc-hub .mca-inline-tools{display:inline-flex;gap:7px;align-items:center;flex-wrap:wrap;margin-left:7px;font-size:10px}
.mc-hub .mca-inline-tools>button{min-height:26px;font-size:10px}
.mc-hub .mc-contact-queue .mc-panel-title,.mc-hub .mcp-inbox .mc-panel-title{flex-wrap:wrap;gap:7px}
.mc-hub .mc-contact-queue .mc-toolbar{flex-wrap:wrap;min-width:0}
html[data-theme=dark] .mch-root .mch-past>summary{background:#322d28;color:#f5e9dd}
html[data-theme=dark] .mch-count-dialog{background:#2b2622;color:#f5e9dd;border-color:#675242}
html[data-theme=dark] .mch-count-dialog input,html[data-theme=dark] .mch-count-dialog button{background:#332b25;color:#f5e9dd;border-color:#675242}
@media(min-width:701px){.mc-hub .mc-events-list table:has(.mca-inline-cell){table-layout:fixed;width:100%}.mc-hub .mc-events-list table:has(.mca-inline-cell) th:nth-child(2){width:calc(24% - 28px)}.mc-hub .mc-events-list table:has(.mca-inline-cell) th:nth-child(3){width:10%}.mc-hub .mc-events-list table:has(.mca-inline-cell) th:nth-child(4){width:18%}.mc-hub .mc-events-list table:has(.mca-inline-cell) th:nth-child(5){width:9%}.mc-hub .mc-events-list table:has(.mca-inline-cell) th:nth-child(6){width:12%}.mc-hub .mc-events-list table:has(.mca-inline-cell) th:nth-child(7){width:10%}.mc-hub .mc-events-list table:has(.mca-inline-cell) th:nth-child(8){width:17%}}
@media(max-width:900px){.mch-calendar-layout{grid-template-columns:minmax(0,1fr)}.mch-calendar{max-width:340px}.mch-root .mch-bottom{grid-template-columns:minmax(0,1fr)}}
@media(max-width:600px){.mch-heading{align-items:start;flex-wrap:wrap}.mch-controls{width:100%}.mch-root .mch-people-table{min-width:375px}.mch-count-fields{grid-template-columns:1fr 1fr}.mc-hub .mca-inline-tools{margin:4px 0;max-width:100%}}

.mch-root .mch-count-edit{width:18px!important;height:18px!important;min-width:18px!important;margin:0 3px 0 5px!important;border:1px solid #dfd4c8!important;border-radius:4px!important;background:#faf7f3!important;vertical-align:middle}.mch-root .mch-count-edit svg{width:9px!important;height:9px!important}.mch-root .mch-count-pair{gap:3px!important}.mch-root .mch-count-pair>span{margin:0 4px}.mch-past-filter{display:flex;flex-wrap:wrap;align-items:center;gap:10px;padding:9px 0}.mch-past-filter label{display:flex;align-items:center;gap:7px}.mch-past-filter input{max-width:240px;min-width:140px;padding:5px 7px}.mch-past-table td:nth-child(3){overflow:hidden;text-overflow:ellipsis}.mch-root .mch-count-edit:hover{background:#ffeadb!important;border-color:#e96c30!important}html[data-theme=dark] .mch-root .mch-count-edit{background:#332b25!important;border-color:#6a5748!important;color:#efc9a4!important}

.mch-root .mch-count-edit{min-height:18px!important;max-height:18px!important;padding:0!important;line-height:1!important}

.mch-root .mch-schedule-table th:nth-child(6),.mch-root .mch-schedule-table td:nth-child(6){text-align:center}.mch-root .mch-source-row{font-size:9px;display:block;margin-top:2px;color:#98683d;text-decoration:underline}.mch-root .mch-attendance{display:inline-block;padding:3px 5px;border-radius:4px;font-size:10px;font-weight:650;font-variant-numeric:tabular-nums;background:#f2eee8}.mch-root .mch-attendance.is-full{background:#e7f3ec;color:#2b7954}.mch-root .mch-attendance.is-partial{background:#fff2dd;color:#946922}.mch-root .mch-attendance.is-low,.mch-root .mch-attendance.is-over,.mca-share.is-over{background:#faeae7;color:#a24e45}.mch-root .mch-attendance.is-missing{background:none;color:#8c8178}.mch-root .mch-schedule-table td:first-child{min-width:125px}
.mch-root dialog.mch-drawer{width:min(1080px,calc(100vw - 24px));max-width:none;inset:12px 12px 12px auto;max-height:calc(100dvh - 24px);font-size:10px}.mch-root .mch-drawer>header{padding:10px 12px;min-height:60px}.mch-root .mch-drawer>header h3{font-size:14px!important}.mch-root .mch-drawer>header p{font-size:10px}.mch-root .mch-drawer-body{padding:8px 12px}.mch-participant-scroll{overflow:auto}.mch-root .mch-participant-table{width:100%;min-width:670px;border-collapse:collapse;table-layout:fixed}.mch-root .mch-participant-table th{font-size:9px;text-align:left;color:#887d72;background:#f5f1ec;font-weight:500;padding:5px 6px}.mch-root .mch-participant-table td{padding:4px 6px;border-bottom:1px solid #e8dcd2;vertical-align:middle;line-height:1.25;font-size:10px}.mch-root .mch-participant-table th:nth-child(1){width:23%}.mch-root .mch-participant-table th:nth-child(2){width:33%}.mch-root .mch-participant-table th:nth-child(3){width:27%}.mch-root .mch-participant-table th:nth-child(4){width:17%}.mch-root .mch-participant-table td>strong{font-size:11px}.mch-root .mch-participant-table small{font-size:9px;line-height:1.2;margin:1px 0}.mch-root .mch-guest-phone{display:block;border:0;background:none;padding:0;min-height:14px;font-size:9px;color:#6f7e8c}.mch-root .mch-result{display:inline-block;border-radius:4px;padding:3px 5px;font-size:10px;font-weight:650;line-height:1.3;white-space:normal;overflow-wrap:anywhere;max-width:100%}.mch-result.is-purchase{background:#e5f2e9;color:#28744d}.mch-result.is-partner{background:#efe8f9;color:#7851a2}.mch-result.is-refused{background:#faeae7;color:#a35c50}.mch-result.is-thinking{background:#fff3dc;color:#906a2f}.mch-result.is-neutral{background:#f3f0eb;color:#625a52}.mch-root .mch-guest-assign{min-height:23px;padding:3px 5px;font-size:9px;max-width:100%;text-align:left;white-space:normal}.mch-root .mch-guest-assign.is-linked{border-color:#c5ddce;background:#edf6f0;color:#387555}.mch-root .mch-visit-note{color:#887f76;font-size:9px;font-weight:400}.mch-root .mch-drawer-note{font-size:9px;margin-top:8px}.mch-root .mch-meeting-sources a{display:block;font-size:9px;padding:3px 0}.mch-root [data-mch-copy-status]:empty{display:none}
.mca-activity .mca-topic{padding:10px;border:1px solid #dfd7cc;border-radius:7px;margin:10px 0;background:#faf8f4}.mca-activity .mca-topic.is-inviters{background:#f3f8f5;border-color:#ccddd1}.mca-activity .mca-topic h3{margin-bottom:5px}.mca-activity .mch-table{background:var(--mc-bg,#fff);border-radius:5px}.mca-activity .mca-table{min-width:650px}.mca-activity .mca-table td{vertical-align:top}.mca-activity .mca-table th{font-size:9px}.mca-activity .mca-table td:first-child{min-width:140px}.mca-activity .mca-table details{margin:0;border:0;padding:0}.mca-activity .mca-table details[open]>summary{margin-bottom:6px}.mca-activity .mca-share{white-space:nowrap;font-weight:600;font-variant-numeric:tabular-nums}.mca-activity .mca-unresolved>div{max-height:380px;overflow:auto}.mca-activity .mch-table .mch-table{margin:6px 0;min-width:520px}.mca-activity .mca-table table th{white-space:normal}.mca-activity .mca-table td button{white-space:nowrap}
html[data-theme=dark] .mca-topic{background:#292723;border-color:#5a5045}html[data-theme=dark] .mca-topic.is-inviters{background:#252f29;border-color:#4f6a58}html[data-theme=dark] .mch-participant-table th{background:#342f29;color:#c5b8aa}html[data-theme=dark] .mch-participant-table td{border-color:#544b42}html[data-theme=dark] .mch-result.is-purchase{background:#2f4938;color:#bfdcc7}html[data-theme=dark] .mch-result.is-partner{background:#40314d;color:#dbcaeb}html[data-theme=dark] .mch-result.is-refused{background:#503730;color:#e7c9be}html[data-theme=dark] .mch-result.is-thinking{background:#4b412c;color:#e1d0aa}html[data-theme=dark] .mch-result.is-neutral{background:#39332c;color:#d7c8b9}
@media(max-width:700px){.mch-root dialog.mch-drawer{width:calc(100vw - 12px);max-height:calc(100dvh - 12px)}.mch-root .mch-drawer-body{padding:6px}.mca-activity .mca-topic{padding:7px}.mch-root .mch-schedule-table{min-width:720px!important}}

.mch-root dialog.mch-drawer:has([data-mch-link-form]){width:min(500px,calc(100vw - 24px))}

.mch-root .mch-participant-table td{padding:3px 6px}.mch-root .mch-guest-phone{min-height:12px;line-height:11px}.mch-root .mch-guest-assign{min-height:20px;padding:2px 5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

.mch-root .mch-bottom .mch-people-table td,.mch-root .mch-bottom .mch-people-table th{padding:3px 6px;line-height:1.15;vertical-align:middle;font-size:10px}.mch-root .mch-bottom .mch-people-table th{font-size:9px}.mch-root .mch-bottom .mch-people-table td button{margin:0;min-height:20px;padding:1px 5px;font-size:9px;line-height:1.2}.mch-root .mch-bottom .mch-people-table .mch-count-edit{width:16px;height:16px;min-height:16px;padding:2px;margin-left:4px}.mch-root .mch-bottom .mch-link-short{max-width:240px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;vertical-align:middle}.mch-root .mch-link-short.is-linked{color:#397652;background:#edf6f0;border-color:#d0e3d6;font-weight:600}.mch-attendance-count{white-space:nowrap;font-variant-numeric:tabular-nums}.mch-attendance-count.is-pending{font-size:9px;font-weight:400;color:#8a7762}.mch-attendance-count.is-conflict{color:#9b6b30}.mch-root .mch-bottom>details>summary{font-size:11px;padding:7px;min-height:29px}.mch-root .mch-bottom .mch-people-table td:first-child{min-width:105px}.mch-root .mch-bottom .mch-people-table td:last-child{min-width:105px}html[data-theme=dark] .mch-root .mch-link-short.is-linked{background:#2e4134;color:#c4dfcc;border-color:#526c5b}
.mch-root .mch-bottom .mch-people-table td{height:26px}

.mch-root .mch-bottom .mch-link-short{max-width:100%}

.mch-root .mch-controls{align-items:end;flex-wrap:wrap;gap:6px}.mch-root .mch-sort-field{display:grid;gap:3px;font-size:10px;color:var(--mc-muted,#82766b)}.mch-root .mch-sort-field select{font-size:11px;min-height:28px;max-width:205px;padding:4px 6px;border:1px solid var(--mc-border,#dfd4c8);border-radius:5px;background:var(--mc-bg,#fff);color:var(--mc-ink,#302b26)}.mch-root .mch-purchases-heading,.mch-root .mch-purchases-cell{text-align:center}.mch-root .mch-purchase-count{min-height:23px;min-width:29px;padding:3px 7px;border:1px solid #c5dfce;border-radius:4px;background:#e8f3ec;color:#2f7952;font-size:11px;font-weight:600;font-variant-numeric:tabular-nums}.mch-root .mch-purchase-count.is-zero{background:#f4f1ec;border-color:#e1d9cf;color:#817468}.mch-root .mch-purchases-missing{font-size:11px;color:#8b8075}.mch-root .mch-list-pager{display:flex;align-items:center;flex-wrap:wrap;gap:7px;padding:7px 0 2px}.mch-root .mch-list-pager>small{font-size:10px;color:#887c70;margin-right:auto}.mch-root .mch-list-pager>button,.mch-root .mch-collapse-top{font-size:10px;min-height:25px;padding:4px 7px}.mch-root .mch-event-list,.mch-root .mch-past{scroll-margin-top:90px}.mch-root .mch-event-list>.mch-heading{flex-wrap:wrap;gap:6px}.mch-root .mch-event-list>.mch-heading>.mch-collapse-top{margin-left:auto}html[data-theme=dark] .mch-root .mch-purchase-count{background:#2e4536;border-color:#526e59;color:#c6e2ce}html[data-theme=dark] .mch-root .mch-purchase-count.is-zero{background:#332c26;border-color:#5f5146;color:#d3c0b0}@media(max-width:700px){.mch-root .mch-controls .mch-sort-field{width:100%}.mch-root .mch-sort-field select{max-width:100%}}

@media(min-width:701px){.mch-root .mch-table .mch-schedule-table{table-layout:fixed;min-width:0}.mch-root .mch-schedule-table td:first-child,.mch-root .mch-schedule-table td:last-child{min-width:0}.mch-root .mch-schedule-table th{white-space:normal}.mch-root .mch-schedule-table .mch-event-actions{display:flex;flex-wrap:wrap;gap:3px}.mch-root .mch-schedule-table .mch-event-actions>button{margin:0;max-width:100%}}

.mca-activity .mca-period-note{margin:7px 0 9px}
.mca-activity .mca-pair{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px;align-items:start;margin-top:10px}
.mca-activity .mca-topic,.mca-activity .mca-unresolved{min-width:0;margin:0;padding:9px;border-radius:7px}
.mca-activity .mca-topic.is-inviters{background:#f0f7f3;border:1px solid #bdd8c9;border-top:3px solid #78ae95}
.mca-activity .mca-topic.is-organizers{background:#fcf5ec;border:1px solid #e6cdb0;border-top:3px solid #cfa377}
.mca-activity .mca-topic h3,.mca-activity .mca-unresolved>summary{display:flex;align-items:center;gap:6px;font-size:12px!important;line-height:1.4;margin:0 0 4px}
.mca-activity h3>span,.mca-activity summary>span{font-size:10px;line-height:1.3;padding:2px 5px;border-radius:4px;background:#fff9;font-variant-numeric:tabular-nums}
.mca-activity .mca-topic>p{margin:3px 0 7px;line-height:1.4}
.mca-activity .mch-table .mca-table{table-layout:fixed;width:100%;min-width:0}
.mca-activity .mca-table td,.mca-activity .mca-table th{padding:4px 5px;vertical-align:middle;line-height:1.3;font-size:11px;min-width:0!important;overflow-wrap:normal;word-break:normal}
.mca-activity .mca-table th{font-size:10px;font-weight:600;white-space:normal;background:#f6f4f0}
.mca-activity .mca-table td button{min-height:23px;margin:0;padding:3px 5px;font-size:10px;line-height:1.2;white-space:nowrap}
.mca-activity .mca-table small{font-size:10px;line-height:1.2;margin-top:2px}
.mca-activity .mca-inviters-table th:nth-child(1){width:25%}
.mca-activity .mca-inviters-table th:nth-child(2){width:15%}
.mca-activity .mca-inviters-table th:nth-child(3){width:12%}
.mca-activity .mca-inviters-table th:nth-child(4){width:12%}
.mca-activity .mca-inviters-table th:nth-child(5){width:18%}
.mca-activity .mca-inviters-table th:nth-child(6){width:18%}
.mca-activity .mca-organizers-table th:first-child{width:43%}
.mca-activity .mca-organizers-table th:nth-child(2){width:24%}
.mca-activity .mca-number{text-align:center;font-variant-numeric:tabular-nums}
.mca-activity .mca-invited{display:inline-flex;align-items:baseline;gap:4px;white-space:nowrap}.mca-activity .mca-invited small{display:inline;font-size:9px;margin:0}
.mca-activity .mca-empty{padding:14px 8px!important;color:#84786d;line-height:1.5!important}
.mca-activity .mca-unresolved.is-unlinked{background:#fffbef;border:1px solid #e3d29f;border-top:3px solid #c3a65c}
.mca-activity .mca-unresolved.is-no-organizer{background:#f5f2fb;border:1px solid #d6c9e8;border-top:3px solid #a992c7}
.mca-activity .mca-unresolved>summary{display:list-item;font-size:11px!important;margin:0;cursor:pointer}
.mca-activity .mca-unresolved>summary>span{margin-left:4px}
.mca-activity .mca-unresolved[open]>summary{margin-bottom:7px}
.mca-activity .mca-unresolved>.mch-table{max-height:310px;overflow:auto;scrollbar-width:thin}
.mca-activity .mca-unresolved .mca-table td{padding:3px 5px;height:29px}
.mca-activity .mca-unresolved .mca-table th{position:sticky;top:0;z-index:1}
.mca-activity .mca-unlinked-table th:first-child{width:45%}
.mca-activity .mca-unlinked-table th:nth-child(2){width:20%}
.mca-activity .mca-unassigned-table th:first-child{width:30%}
.mca-activity .mca-unassigned-table th:nth-child(2){width:41%}
.mca-activity dialog.mch-drawer{inset:0 0 0 auto;margin:0;height:100dvh;max-height:100dvh;width:min(820px,100vw);border-radius:10px 0 0 10px}
.mca-activity dialog.mch-drawer header{flex:none;padding:13px 16px}
.mca-activity .mch-drawer-body{flex:1;min-height:0;padding:10px 14px}
.mca-activity .mca-meetings-table th:first-child{width:32%}
.mca-activity .mca-meetings-table td{padding:7px 5px}
.mca-activity .mca-meetings-table td:last-child button+button{margin:3px 0 0 3px}
.mca-activity .mca-back{border:0;background:transparent;padding:0;min-height:22px;color:#80634f;font-size:10px;margin-bottom:5px}
.mca-activity .mca-reported{color:#347a56}
.mca-activity dialog.mch-drawer:has([data-mch-link-form]){width:min(500px,100vw)}
@media(max-width:1150px){.mca-activity .mca-pair{grid-template-columns:minmax(0,1fr)}}
@media(max-width:600px){.mca-activity .mca-table td,.mca-activity .mca-table th{font-size:10px;padding:4px}.mca-activity .mca-inviters-table{min-width:475px!important}.mca-activity .mca-meetings-table{min-width:620px!important}.mca-activity dialog.mch-drawer{width:100vw;border-radius:0}.mca-activity .mca-topic,.mca-activity .mca-unresolved{padding:7px}}
html[data-theme=dark] .mca-activity .mca-topic.is-inviters{background:#24342d;border-color:#54816a}
html[data-theme=dark] .mca-activity .mca-topic.is-organizers{background:#362e25;border-color:#8e7152}
html[data-theme=dark] .mca-activity .mca-unresolved.is-unlinked{background:#353123;border-color:#8c7942}
html[data-theme=dark] .mca-activity .mca-unresolved.is-no-organizer{background:#302b3b;border-color:#796291}
html[data-theme=dark] .mca-activity h3>span,html[data-theme=dark] .mca-activity summary>span{background:#ffffff12}
html[data-theme=dark] .mca-activity .mca-table th{background:#352f29}
html[data-theme=dark] .mca-activity .mca-reported{color:#aed4bd}
/* Keep schedule actions together without changing the wide-screen layout. */
@media(min-width:701px){.mch-root .mch-schedule-table .mch-event-actions{flex-wrap:nowrap;white-space:nowrap;gap:3px}.mch-root .mch-schedule-table .mch-event-actions>button{flex:none;max-width:none;font-size:9px;padding:3px 5px}}
@media(min-width:901px) and (max-width:1200px){.mch-root .mch-calendar-layout{grid-template-columns:minmax(0,1fr)}.mch-root .mch-calendar{max-width:280px}}

.mch-root .mch-report-summary{display:flex;flex-wrap:wrap;gap:7px 14px;background:#f5f2eb;border:1px solid #e4d9ca;border-radius:5px;padding:7px 9px;margin-bottom:5px;font-size:11px}.mch-root .mch-report-summary>span:first-child b{color:#2f7651;font-size:14px}.mch-root .mch-totals-basis{margin:5px 0 8px;font-size:10px;line-height:1.4}.mci .mci-report-purchases .mci-orders{font-weight:700;color:#2f7651}html[data-theme=dark] .mch-root .mch-report-summary{background:#302d27;border-color:#625644}html[data-theme=dark] .mch-root .mch-report-summary>span:first-child b,html[data-theme=dark] .mci .mci-report-purchases .mci-orders{color:#b5d9c4}

/* Menu from the event's own source block. */
.mch-menu{margin:0 0 12px;padding:10px 12px;border:1px solid var(--line,#e5d9cf);border-radius:8px;background:var(--surface-soft,#faf6f0);min-width:0;max-width:100%;box-sizing:border-box}
.mch-menu h4{margin:0 0 6px;font-size:12px;line-height:1.4;color:var(--text,#302b26)}
.mch-menu-entry{min-width:0;max-width:100%}.mch-menu-entry+.mch-menu-entry{margin-top:8px;padding-top:8px;border-top:1px solid var(--line,#e5d9cf)}
.mch-menu p{margin:0;font-size:12px;line-height:1.5;white-space:pre-wrap;overflow-wrap:anywhere}
.mch-menu a,.mch-menu small{display:block;margin-top:4px;font-size:11px;line-height:1.4;overflow-wrap:anywhere}
.mch-menu.is-missing{background:transparent}.mch-menu.is-missing p{color:var(--muted,#81776e);font-size:11px}

.mch-root .mch-drawer .mch-attendance-table select.mch-visit-select {
  box-sizing: border-box;
  width: min(100%, 132px);
  min-height: 22px !important;
  padding: 1px 4px !important;
  font-size: 10px !important;
  line-height: 1.2;
  border: 1px solid var(--mc-border, #d9ccc0);
  border-radius: 5px;
  color: var(--mc-text, inherit);
  background: var(--mc-bg, #fff);
}
.mch-root .mch-drawer .mch-attendance-table select.visit-attended { background: #e7f3ec; color: #276547; }
.mch-root .mch-drawer .mch-attendance-table select.visit-no_show { background: #faeae7; color: #993a32; }
.mch-drawer .mch-attendance-summary {
  margin: 5px 0;
  font-size: 10px;
  line-height: 1.25;
}
.mch-drawer [data-mch-visit-feedback]:not([hidden]) {
  display: block;
  margin-top: 2px;
  font-size: 9px;
  line-height: 1.25;
}
.mch-drawer [data-mch-visit-error] { color: #a13b2d; }
html[data-theme=dark] .mch-root .mch-drawer .mch-attendance-table select.mch-visit-select { border-color: #665a4d; }
html[data-theme=dark] .mch-root .mch-drawer .mch-attendance-table select.visit-unmarked { background: #2a2622; color: #eee5d8; }
html[data-theme=dark] .mch-root .mch-drawer .mch-attendance-table select.visit-attended { background: #2f4938; color: #cee7d4; }
html[data-theme=dark] .mch-root .mch-drawer .mch-attendance-table select.visit-no_show { background: #503730; color: #f6d4ca; }
html[data-theme=dark] .mch-drawer [data-mch-visit-error] { color: #f6ad9e; }

@media(max-width: 700px) {
  .mch-root .mch-participant-table.mch-attendance-table { min-width: 0; display: block; }
  .mch-attendance-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }
  .mch-attendance-table tbody { display: block; }
  .mch-attendance-table tr {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 3px 6px;
    padding: 5px 0;
    border-bottom: 1px solid var(--mc-border, #ded4c9);
  }
  .mch-root .mch-attendance-table td { min-width: 0; padding: 0; border: 0; overflow-wrap: anywhere; }
  .mch-attendance-table .mch-attendance-cell { grid-column: 2; grid-row: 1; }
  .mch-attendance-table [data-mch-field]::before {
    content: attr(data-mch-field);
    display: block;
    font-size: 9px;
    margin-bottom: 2px;
  }
  #app-main.workspace .mch-root .mch-drawer .mch-attendance-cell select.mch-visit-select,
  .mch-root .mch-drawer .mch-attendance-table select.mch-visit-select {
    width: 100%;
    height: 40px !important;
    min-height: 40px !important;
    font-size: 16px !important;
  }
}

button.mc-has-participants[title="Есть именной список"] {
  background:#e6f3eb;
  border-color:#99c5ac;
  color:#205538;
}
button.mc-has-participants[title="Есть именной список"]:hover {
  background:#d5ebde;
  border-color:#6a9a7c;
}
html[data-theme=dark] button.mc-has-participants[title="Есть именной список"] {
  background:#264133;
  border-color:#547d63;
  color:#c5e6d1;
}

.mch-root .mch-schedule-table .mch-capacity-cell { text-align:center; }
.mch-root .mch-source-stamp:empty { display:none; }
.mch-root .mch-source-stamp { margin:2px 0 0; }
.mch-root .mch-source-time { color:var(--muted,#74695e); font-size:10px; }
@media (max-width:700px) {
  .mch-root .mch-schedule-table { min-width:820px!important; }
}

@media (min-width:701px) and (max-width:1550px) {
  .mch-root .mch-schedule-table .mch-event-actions { flex-wrap:wrap; white-space:normal; }
  .mch-root .mch-schedule-table .mch-tag { white-space:normal; }
}

.mch-root .mch-content .mch-table > .mch-schedule-table {
  width:100%;
  min-width:0 !important;
}
.mch-root .mch-schedule-table :is(th,td) {
  padding:4px 5px;
  overflow-wrap:anywhere;
}
.mch-root .mch-schedule-table :is(th,.mch-tag) {
  white-space:normal;
}
.mch-root .mch-schedule-table tr[data-mc-history-source] {
  cursor:pointer;
}
.mch-root .mch-schedule-table tr[data-mc-history-source]:is(:hover,.mch-selected,:focus-within) > td {
  background:color-mix(in srgb, var(--accent,#e6703a) 8%, transparent);
}
.mch-root .mch-schedule-table .mch-event-date {
  color:inherit;
  background:transparent;
  border:0;
  font:inherit;
  font-weight:700;
  text-align:left;
  padding:0;
  min-height:0;
  max-width:100%;
  margin:0;
}
.mch-root .mch-event-date:is(:hover,:focus-visible) {
  text-decoration:underline;
  text-underline-offset:2px;
}
.mch-root .mch-content .mch-schedule-table .mch-event-actions {
  flex-wrap:wrap;
  white-space:normal;
}
.mch-root .mch-content .mch-schedule-table .mch-event-actions > button {
  flex:0 1 auto;
  max-width:100%;
  white-space:normal;
  overflow-wrap:anywhere;
  margin:0;
}
.mch-root .mch-schedule-table .mch-count-pair {
  flex-wrap:wrap;
  gap:2px;
}
.mch-root .mch-schedule-table .mch-count-pair > button {
  margin:0;
}
.mch-root .mch-open-report {
  width:100%;
  min-width:0;
  margin:10px 0;
  scroll-margin-top:85px;
}
.mch-root .mch-open-report > header {
  flex-wrap:wrap;
  border-bottom:1px solid var(--mc-border,#e4d8cd);
  padding-bottom:6px;
}
.mch-root .mch-open-report > header h3 {
  font-size:14px !important;
}
.mch-root #mch-current-report:focus {
  outline:none;
}
.mch-root .mch-open-report > header .mch-event-actions {
  flex-wrap:wrap;
}

@media (max-width:700px) {
  .mch-root .mch-content .mch-table > .mch-schedule-table,
  .mch-root .mch-schedule-table tbody {
    display:block;
  }
  .mch-root .mch-schedule-table colgroup {
    display:none;
  }
  .mch-root .mch-schedule-table thead {
    position:absolute;
    width:1px;
    height:1px;
    overflow:hidden;
    clip-path:inset(50%);
    white-space:nowrap;
  }
  .mch-root .mch-schedule-table tbody > tr {
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:4px 8px;
    margin:0 0 5px;
    padding:5px 7px;
    border:1px solid var(--mc-border,#e4d8cd);
    border-radius:5px;
  }
  .mch-root .mch-schedule-table tbody > tr > td {
    min-width:0;
    padding:3px;
    text-align:left;
    border:0;
  }
  .mch-root .mch-schedule-table td[colspan] {
    grid-column:1 / -1;
  }
  .mch-root .mch-schedule-table td[data-label]::before {
    display:block;
    content:attr(data-label);
    color:var(--muted,#74695e);
    font-size:9px;
    margin-bottom:2px;
  }
}
