.meeting-material-workspace { display: grid; gap: 18px; min-width: 0; }
.meeting-material-workspace [hidden], .ml-dialog [hidden], .ml-log-links [hidden] { display: none !important; }
.ml-page-head, .ml-link-head, .ml-calendar > header, .ml-agenda-item > header, .ml-settings-list > article {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
}
.ml-page-head h1 { margin: 3px 0; font-size: clamp(1.75rem, 3vw, 2.35rem); letter-spacing: -.035em; overflow-wrap: anywhere; }
.meeting-material-workspace h2, .ml-dialog h2 { margin: 0; font-size: 1.14rem; }
.ml-tools { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; min-width: 0; }
.ml-tools .button { min-height: 36px; }
.ml-muted, .ml-notice, .ml-metadata { color: var(--soft); line-height: 1.65; }
.ml-notice { padding: 14px 0; margin: 0; }
.ml-metadata { display: block; overflow-wrap: anywhere; }
.ml-panel { min-width: 0; border: 1px solid var(--line); border-radius: 14px; padding: 17px; background: var(--panel); }
.ml-library-tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.ml-library-tabs { width: max-content; }
.ml-library-search { flex: 1 1 238px; max-width: 340px; min-height: 44px; padding-block: 0; }
.ml-library-search > input { min-height: 42px; }
.ml-library-search > input::-webkit-search-cancel-button { display: none; }
.ml-library-search .search-query-clear { width: 38px; height: 42px; }
.ml-search-results h2 { padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.ml-search-excerpt { color: var(--soft); font-size: .9rem; }
.ml-search-row mark { background: var(--search-mark); color: var(--search-text); border-radius: 3px; }
.ml-search-results .ml-pages:empty { display: none; }
.ml-recurring { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,28rem),1fr)); gap: 12px; align-items: start; }
.ml-recurring-meeting > p { margin: 5px 0 12px; }
.ml-recurring-date { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; border-top: 1px solid var(--line); padding: 10px 0; }
.ml-recurring-date:last-child { padding-bottom: 0; }
.ml-recurring-date small { display: block; }
.ml-suggested-materials, .ml-prior-material { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 12px; }
.ml-suggested-materials { margin: 0 0 16px; padding: 8px 12px; border: 1px solid color-mix(in srgb,var(--purple) 28%,var(--line)); border-radius: 9px; background: color-mix(in srgb,var(--purple) 7%,var(--panel)); }
.ml-suggested-materials .button { min-height: 40px; }
.ml-suggested-groups { display: grid; gap: 10px; }
.ml-suggested-groups label { align-items: start; }
.ml-suggested-groups ul { padding-inline-start: 18px; margin-block: 4px; }
.ml-prior-material { padding: 8px 12px; border: 1px solid color-mix(in srgb,var(--purple) 28%,var(--line)); border-radius: 9px; background: color-mix(in srgb,var(--purple) 7%,var(--panel)); }
.ml-prior-material details { position: relative; }
.ml-prior-material summary { list-style: none; min-height: 40px; }
.ml-prior-material summary::-webkit-details-marker { display: none; }
.ml-prior-material summary::after { content: '⌄'; padding-inline-start: 6px; }
.ml-prior-options { position: absolute; z-index: 2; inset-inline-end: 0; top: calc(100% + 5px); min-width: max-content; display: grid; gap: 4px; padding: 5px; border: 1px solid var(--line); border-radius: 9px; background: var(--panel); box-shadow: 0 8px 24px #0003; }
.ml-prior-options .button { justify-content: flex-start; min-height: 42px; }
.ml-copy-origin { color: var(--soft); margin: 0; font-size: .89rem; }
.ml-library-grid { display: grid; grid-template-columns: minmax(0,1.12fr) minmax(0,1fr); gap: 15px; align-items: start; }
.ml-calendar > header .button { white-space: nowrap; }
.ml-calendar-month { flex-wrap: nowrap; }
.ml-calendar-month h2 { white-space: nowrap; }
.ml-month-grid { margin-top: 16px; display: grid; grid-template-columns: repeat(7,minmax(0,1fr)); gap: 4px; }
.ml-week-label { padding: 6px 0; text-align: center; color: var(--soft); font-size: .92rem; }
.ml-day { min-width: 0; position: relative; min-height: 44px; color: var(--text); border: 1px solid var(--line); border-radius: 7px; background: transparent; }
.ml-week-label.is-sat, .ml-day.is-sat { color: #7bb0ff; }
.ml-week-label.is-sun, .ml-day.is-sun { color: #ef8798; }
html[data-theme=light] .ml-week-label.is-sat, html[data-theme=light] .ml-day.is-sat { color: #245aa1; }
html[data-theme=light] .ml-week-label.is-sun, html[data-theme=light] .ml-day.is-sun { color: #aa304d; }
.ml-day[aria-pressed=true] { border-color: var(--purple); background: color-mix(in srgb,var(--purple) 17%,transparent); font-weight: 700; }
.ml-day[aria-current=date] span { text-decoration: underline; text-underline-offset: 3px; }
.ml-day i { position: absolute; bottom: 4px; left: calc(50% - 2.5px); width: 5px; height: 5px; border-radius: 50%; background: var(--purple); }
.ml-agenda-item { border-top: 1px solid var(--line); margin-top: 13px; padding-top: 13px; }
.ml-agenda-item h3, .ml-agenda-item p { margin: 0 0 4px; }
.ml-agenda-item > .button { margin-top: 9px; }
.ml-report-group { margin-top: 12px; }
.ml-report-group > h4 { margin: 0; color: var(--purple); font-size: .94rem; }
.ml-cancelled { color: var(--red); font-weight: 650; }
.ml-categories { display: grid; gap: 12px; }
.ml-cards { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,12rem),1fr)); gap: 12px; }
.ml-category-card { display: flex; align-items: center; justify-content: space-between; gap: 12px; text-align: left; min-width: 0; min-height: 78px; padding: 14px; color: var(--text); border: 1px solid var(--line); border-inline-start: 3px solid var(--ml-category); border-radius: 11px; background: color-mix(in srgb,var(--ml-category) 10%,var(--panel)); overflow-wrap: anywhere; font-weight: 650; }
.ml-category-count { color: var(--text); white-space: nowrap; font-variant-numeric: tabular-nums; font-size: 1.38rem; }
.ml-category-count small { padding-left: 3px; color: var(--soft); font-weight: 500; }
.ml-day:hover, .ml-category-card:hover, .ml-row:hover { background: color-mix(in srgb,var(--purple) 12%,transparent); }
.ml-row { display: grid; gap: 3px; text-align: left; color: var(--text); background: transparent; border: 0; border-bottom: 1px solid var(--line); padding: 11px 8px; width: 100%; text-decoration: none; overflow-wrap: anywhere; }
.ml-row small { color: var(--soft); }
.ml-row:last-child { border-bottom: 0; }
.ml-pages { justify-content: flex-end; margin-top: 9px; }
.ml-editor-layout, .ml-paper-reader {
  display: grid; grid-template-columns: minmax(0,1fr); gap: 14px;
}
.ml-paper-reader { inline-size: min(100%, 62rem); margin-inline: auto; }
.ml-field { display: grid; gap: 6px; margin-bottom: 12px; color: var(--text); font-weight: 550; }
.ml-field input, .ml-field textarea, .ml-field select, .ml-readout { width: 100%; min-width: 0; font-size: 1rem; }
.ml-field input, .ml-field select { min-height: 42px; }
.ml-readout { display: block; padding: 11px; border-radius: 8px; border: 1px solid var(--line); background: color-mix(in srgb,var(--purple) 10%,transparent); overflow-wrap: anywhere; }
.ml-editor-head {
  display: grid; grid-template-columns: minmax(0,1fr); gap: 6px;
}
.ml-editor-navigation { display: flex; align-items: center; gap: 9px; }
.ml-editor-navigation .button { min-height: 32px; padding: 4px 8px; white-space: nowrap; }
.ml-editor-navigation h1 { margin: 0; color: var(--soft); font-size: .9rem; font-weight: 600; }
.ml-editor-title.input-field { width: 100%; min-width: 0; font-size: 1.12rem; font-weight: 650; }
.ml-editor-save { flex: none; justify-content: flex-end; }
.ml-editor-save .button { white-space: nowrap; }
.ml-save-status { color: var(--soft); font-size: .82rem; white-space: nowrap; }
.ml-draft-error:not([hidden]) { display: flex; align-items: center; gap: 8px; padding: 6px 9px; }
.ml-draft-error p { margin: 0; color: var(--red); font-size: .85rem; overflow-wrap: anywhere; }
.ml-editor-bar, .ml-paper-actions { position: sticky; inset-block-start: 64px; z-index: 3; }
.ml-editor-bar {
  min-width: 0; background: linear-gradient(var(--panel),var(--panel)), var(--bg);
  border: 1px solid var(--line); border-radius: 10px;
  box-shadow: 0 5px 16px #0002;
}
.ml-settings-row {
  position: relative; z-index: 2; display: flex; align-items: center; gap: 10px; padding: 6px 9px;
  border-bottom: 1px solid var(--line);
}
.ml-editor-settings > summary { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; list-style: none; }
.ml-editor-settings > summary::-webkit-details-marker { display: none; }
.ml-editor-settings > summary::after { content: ""; width: 5px; height: 5px; border: solid currentColor; border-width: 0 1px 1px 0; transform: translateY(-2px) rotate(45deg); }
.ml-editor-settings[open] > summary { border-color: var(--purple); }
.ml-editor-settings[open] > summary::after { transform: translateY(1px) rotate(225deg); }
.ml-settings-panel {
  position: absolute; inset-block-start: 100%; inset-inline-start: 0; inline-size: min(100%, 29rem);
  max-block-size: min(54dvh, 28rem); overflow: auto; overscroll-behavior: contain; padding: 14px;
  background: linear-gradient(var(--panel),var(--panel)), var(--bg);
  border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 12px 24px #0004;
}
.ml-placement-summary { flex: 1 1 auto; display: flex; gap: 3px 12px; min-width: 0; color: var(--soft); font-size: .8rem; }
.ml-placement-summary > span { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ml-report-picker { min-width: 0; margin: 7px 9px 3px; border: 1px solid var(--line); border-radius: 8px; background: var(--panel-2); }
.ml-report-options { min-inline-size: 0; border: 0; margin: 0; padding: 10px 11px 6px; }
.ml-report-options legend { padding: 0; font-size: .9rem; font-weight: 650; }
.ml-report-options legend span { margin-inline-start: 6px; color: var(--soft); font-size: .78rem; font-weight: 400; }
.ml-report-choices { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,5rem),1fr)); gap: 7px; max-inline-size: 36rem; }
.ml-report-choice.button {
  display: grid; align-content: center; justify-items: start; gap: 3px; min-width: 0; min-height: 44px; padding: 6px 9px;
  text-align: start; white-space: normal; overflow-wrap: anywhere; word-break: auto-phrase;
}
.ml-report-choice small { color: var(--soft); font-size: .72rem; }
.ml-report-choice.button[aria-pressed="true"] { border-color: var(--purple); background: color-mix(in srgb,var(--purple) 15%,var(--panel)); }
.ml-report-more summary { display: list-item; width: fit-content; padding-block: 7px; color: var(--soft); font-size: .84rem; cursor: pointer; }
.ml-report-more .ml-report-choices { max-block-size: min(26dvh,15rem); overflow: auto; padding: 2px; overscroll-behavior: contain; }
.ml-report-options > .button, .ml-report-summary .button { min-height: 34px; padding: 3px 7px; color: var(--purple); font-size: .84rem; white-space: nowrap; }
.ml-report-options > .button { margin-top: 3px; color: var(--soft); }
.ml-report-summary { display: flex; align-items: center; gap: 8px; padding: 3px 8px 3px 11px; font-size: .85rem; }
.ml-report-summary span:first-child { flex: none; font-weight: 650; }
.ml-report-summary .button { margin-inline-start: auto; }
.ml-report-current { min-width: 0; padding: 3px 7px; border-radius: 5px; background: color-mix(in srgb,var(--purple) 20%,transparent); overflow-wrap: anywhere; word-break: auto-phrase; }
.ml-paper-actions { display: flex; justify-content: flex-end; pointer-events: none; }
.ml-paper-actions .ml-zoom {
  pointer-events: auto; background: linear-gradient(var(--panel),var(--panel)), var(--bg);
}
.ml-paper-actions :is(.ml-zoom-options,.ml-zoom-error) { inset-inline: auto 0; }
.ml-toolbar {
  display: grid; gap: 2px; padding: 4px 9px;
}
.ml-format-primary {
  display: grid; grid-template-columns: auto minmax(0,1fr); gap: 9px; align-items: start;
}
.ml-zoom {
  position: relative; display: flex; align-items: center; flex: none; white-space: nowrap;
  border: 1px solid var(--line); border-radius: 7px;
}
.ml-zoom:focus-within { border-color: var(--purple); }
.ml-zoom label { display: flex; align-items: center; gap: 3px; padding-inline-start: 7px; color: var(--soft); font-size: .78rem; }
.ml-zoom input {
  inline-size: 6.6ch; min-height: 34px; padding: 0 3px; border: 0; color: var(--text); background: transparent;
  font: inherit; font-size: .9rem; font-variant-numeric: tabular-nums; text-align: end;
}
.ml-zoom summary {
  display: grid; place-items: center; min-inline-size: 28px; min-height: 34px;
  list-style: none; border-radius: 6px; cursor: pointer; -webkit-tap-highlight-color: transparent;
}
.ml-zoom summary::-webkit-details-marker { display: none; }
.ml-zoom summary::after {
  content: ""; width: 5px; height: 5px; border: solid currentColor; border-width: 0 1px 1px 0;
  transform: translateY(-2px) rotate(45deg);
}
.ml-zoom details[open] > summary, .ml-zoom summary:hover { background: color-mix(in srgb,var(--purple) 15%,transparent); }
.ml-zoom details[open] > summary::after { transform: translateY(1px) rotate(225deg); }
.ml-zoom :is(input,summary,button):focus-visible { outline: 2px solid var(--purple); outline-offset: -2px; }
.ml-zoom-options, .ml-zoom-error {
  position: absolute; z-index: 4; inset-block-start: calc(100% + 4px); inset-inline-start: 0;
  min-width: max-content; margin: 0; padding: 5px;
  border: 1px solid var(--line); border-radius: 9px; background: linear-gradient(var(--panel),var(--panel)), var(--bg);
  box-shadow: 0 10px 25px #0004;
}
.ml-zoom-options { display: grid; max-block-size: min(55dvh, 400px); overflow-y: auto; overscroll-behavior: contain; }
.ml-zoom-options button {
  min-height: 32px; padding-inline: 10px 24px; border: 0; border-radius: 6px; color: var(--text); background: transparent;
  font: inherit; font-size: .88rem; text-align: start; cursor: pointer;
}
.ml-zoom-options button:is(:hover,[aria-pressed=true]) { background: color-mix(in srgb,var(--purple) 17%,transparent); }
.ml-zoom-options hr { width: 100%; margin: 4px 0; border: 0; border-block-start: 1px solid var(--line); }
.ml-zoom-error { color: var(--red); font-size: .84rem; padding: 8px; }
.ml-zoom:has(details[open]) .ml-zoom-error { visibility: hidden; }
.ml-format-row, .ml-format-group, .ml-format-select { display: flex; align-items: center; flex-wrap: wrap; min-width: 0; }
.ml-format-row { gap: 6px 10px; }
.ml-format-group { gap: 3px; }
.ml-format-group + .ml-format-group { border-inline-start: 1px solid var(--line); padding-inline-start: 9px; }
.ml-format-button, .ml-format-select select {
  min-height: 34px; border: 1px solid transparent; border-radius: 7px; padding-inline: 8px;
  color: var(--text); background: transparent; font: inherit; font-size: .82rem;
}
.ml-format-button { min-width: 34px; display: inline-flex; align-items: center; justify-content: center; gap: 4px; cursor: pointer; white-space: nowrap; }
.ml-format-button[data-editor-tool="undo"], .ml-format-button[data-editor-tool="redo"] { font-size: 1.25rem; }
.ml-list-icon { display: inline-flex; align-items: center; gap: .2em; }
.ml-list-icon::after { content: ""; width: .63em; height: 9px; background: repeating-linear-gradient(currentColor 0 1px, transparent 1px 4px); }
.ml-format-button:disabled { opacity: .4; cursor: default; }
.ml-format-button[aria-pressed=true], .ml-format-button:not(:disabled):hover, .ml-format-select:hover {
  border-color: color-mix(in srgb, var(--purple) 35%, var(--line));
  background: color-mix(in srgb, var(--purple) 14%, var(--panel-2));
}
.ml-format-button:focus-visible, .ml-format-select select:focus-visible, [data-ml-check-mark]:focus-visible { outline: 2px solid var(--purple); outline-offset: 1px; }
.ml-format-select { border: 1px solid var(--line); border-radius: 7px; gap: 1px; margin-inline: 1px; white-space: nowrap; }
.ml-format-select > span { color: var(--soft); font-size: .73rem; padding-inline-start: 7px; }
.ml-format-select select { cursor: pointer; max-width: 100%; padding-inline: 6px; }
.ml-format-select option { background: var(--panel-2); color: var(--text); }
.ml-format-button[data-editor-tool=table] { color: var(--ml-color-lavender, var(--purple)); }
.ml-table-context {
  display: flex; flex-wrap: wrap; align-items: center; gap: 5px 8px;
  flex: 1 1 100%; min-width: 0; padding-top: 7px; border-top: 1px solid var(--line);
}
.ml-cell-background { white-space: nowrap; }
.ml-table-menu { position: relative; margin-inline-start: auto; }
.ml-table-menu > summary { list-style: none; border-color: var(--line); gap: 7px; }
.ml-table-menu > summary::-webkit-details-marker { display: none; }
.ml-table-menu[open] > summary { border-color: var(--purple); }
.ml-table-menu > div {
  position: absolute; z-index: 5; inset-inline-end: 0; top: calc(100% + 5px);
  display: grid; min-width: max-content; padding: 5px;
  background: var(--bg); border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 8px 24px #0003;
}
.ml-table-menu > div > button { justify-content: flex-start; }
.ml-table-menu [data-ml-table-action=delete-table] { color: var(--red); border-top-color: var(--line); }
.ml-table-error { flex: 1 1 100%; color: var(--red); font-size: 13px; margin: 1px 0; }
.ml-table-size { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.ml-editor-attachments { border-top: 1px solid var(--line); padding: 4px 9px; }
.ml-editor-attachments .button { min-height: 32px; font-size: .8rem; }
.ml-editor-bar > .ml-form-error { margin: 0; padding: 6px 9px; }
.ml-tool-results { display: grid; gap: 4px; padding: 0; margin: 0; list-style: none; max-height: 45dvh; overflow: auto; }
.ml-tool-results button { width: 100%; text-align: start; }
.ml-document-body {
  --ml-color-lavender: #c7aaf7; --ml-color-red: #ffa9bc; --ml-color-blue: #a8caff; --ml-color-green: #9ee0b6; --ml-color-amber: #f5d382;
  color: var(--text); line-height: 1.72; font-size: 10pt; overflow-wrap: anywhere;
  line-break: strict; word-break: auto-phrase;
}
.ml-paper-viewport { --ml-paper-width: 210mm; min-width: 0; overflow-x: auto; isolation: isolate; }
.ml-paper-viewport:focus-visible { outline: 2px solid var(--purple); outline-offset: 2px; }
.ml-paper-frame { inline-size: var(--ml-paper-width); margin-inline: auto; transition-property: none; }
.ml-paper-frame[data-ml-paper-scaled] {
  inline-size: calc(var(--ml-paper-width) * var(--ml-paper-scale));
  block-size: calc(var(--ml-paper-height) * var(--ml-paper-scale)); overflow: hidden; overflow: clip;
}
.ml-paper-frame[data-ml-paper-scaled] > .ml-paper { transform: scale(var(--ml-paper-scale)); transform-origin: top left; }
.ml-paper {
  --ml-paper-margin: 25.4mm;
  box-sizing: border-box; inline-size: var(--ml-paper-width); min-block-size: 297mm;
  padding: var(--ml-paper-margin);
  border: 1px solid var(--line); border-radius: 4px;
  background: linear-gradient(var(--panel),var(--panel)), var(--bg);
  -webkit-text-size-adjust: 100%; text-size-adjust: 100%; transition-property: none;
}
.ml-paper > :first-child { margin-block-start: 0; }
.ml-paper > :last-child { margin-block-end: 0; }
.ml-paper [data-ml-table-block][contenteditable=false] {
  margin-inline-start: calc(-1 * var(--ml-table-axis-width));
  max-inline-size: calc(100% + var(--ml-table-axis-width));
}
.ml-table-scroll {
  --ml-table-surface: #171820; --ml-table-heading: #322d41; --ml-table-line: #ffffff1e;
  max-inline-size: 100%; inline-size: fit-content;
  overflow-x: auto; overflow-y: hidden; overscroll-behavior-inline: contain; margin-block: 14px;
  border: 1px solid var(--ml-table-line); border-radius: 9px; background: var(--ml-table-surface);
  scrollbar-width: thin; scrollbar-color: color-mix(in srgb,var(--purple) 45%, transparent) transparent;
}
:root[data-theme=light] .ml-table-scroll {
  --ml-table-surface: #ffffff; --ml-table-heading: #eee7f7; --ml-table-line: #2c244121;
}
.ml-table-scroll:focus-visible { outline: 2px solid var(--purple); outline-offset: 2px; }
.ml-material-table { table-layout: fixed; border-collapse: separate; border-spacing: 0; font-size: inherit; line-height: 1.6; }
.ml-material-table :is(td,th) {
  position: relative; padding: 0; text-align: start; vertical-align: top;
  border-inline-end: 1px solid var(--ml-table-line); border-block-end: 1px solid var(--ml-table-line);
  background: var(--ml-table-surface);
}
.ml-material-table :is(td,th):last-child { border-inline-end: 0; }
.ml-material-table tr:last-child > :is(td,th) { border-block-end: 0; }
.ml-material-table th[data-ml-table-cell] {
  background: var(--ml-table-heading); font-weight: 600;
}
.ml-material-table .ml-table-axis {
  background: color-mix(in srgb,var(--ml-table-surface) 89%,var(--purple)); vertical-align: middle;
}
.ml-material-table .ml-table-axis:first-child { position: sticky; inset-inline-start: 0; z-index: 3; }
.ml-table-axis > button {
  display: block; width: 100%; min-height: 30px; padding: 3px;
  border: 0; background: none; color: var(--soft); font: inherit; font-size: 12px;
  font-variant-numeric: tabular-nums; cursor: pointer;
}
.ml-table-axis > button:hover, .ml-table-axis > button[aria-pressed=true] {
  color: var(--text); background: color-mix(in srgb,var(--purple) 22%,var(--ml-table-surface));
}
.ml-table-axis > button:focus-visible { outline: 2px solid var(--purple); outline-offset: -2px; }
.ml-material-table [data-ml-cell-bg=none] { background: var(--ml-table-surface); }
.ml-material-table [data-ml-cell-bg=lavender] { background: color-mix(in srgb,#9b71e5 22%,var(--ml-table-surface)); }
.ml-material-table [data-ml-cell-bg=yellow] { background: color-mix(in srgb,#e1a127 22%,var(--ml-table-surface)); }
.ml-material-table [data-ml-cell-bg=green] { background: color-mix(in srgb,#3cac71 19%,var(--ml-table-surface)); }
.ml-material-table [data-ml-cell-bg=blue] { background: color-mix(in srgb,#4894e2 19%,var(--ml-table-surface)); }
.ml-material-table [data-ml-cell-bg=pink] { background: color-mix(in srgb,#da618e 19%,var(--ml-table-surface)); }
.ml-table-cell-body { box-sizing: border-box; min-height: 38px; padding: 7px 10px; overflow-wrap: anywhere; }
.ml-document-body [data-ml-cell-editor] { line-break: inherit; word-break: inherit; }
.ml-material-table .ml-table-cell-body > :first-child { margin-block-start: 0; }
.ml-material-table .ml-table-cell-body > :last-child { margin-block-end: 0; }
.ml-contenteditable [data-ml-cell-editor]:focus { outline: 2px solid var(--purple); outline-offset: -2px; }
.ml-material-table [data-ml-cell-selected] .ml-table-cell-body {
  outline: 1px solid var(--purple); outline-offset: -1px;
  background: color-mix(in srgb,var(--purple) 18%,transparent);
}
[data-ml-range-dragging] [data-ml-cell-editor] { -webkit-user-select: none; user-select: none; }
[data-ml-range-handle] {
  display: none; position: absolute; z-index: 2; inset-inline-end: 0; inset-block-end: 0;
  width: 27px; height: 27px; touch-action: none;
}
@media (any-pointer: coarse) {
  [data-ml-range-handle] { display: grid; align-items: end; justify-items: end; padding: 3px; }
  [data-ml-range-handle]::after { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--purple); }
}
[data-ml-column-handle] {
  display: none; position: absolute; z-index: 2; inset-block: 0; inset-inline-end: 0;
  width: 7px; cursor: col-resize; touch-action: none;
}
@media (pointer: fine) {
  [data-ml-column-handle] { display: block; }
  [data-ml-column-handle]:hover { border-inline-end: 2px solid var(--purple); }
}
:root[data-theme=light] .ml-document-body {
  --ml-color-lavender: #714ea8; --ml-color-red: #983a4d; --ml-color-blue: #2d5c9e; --ml-color-green: #2d694c; --ml-color-amber: #785309;
}
.ml-document-body :is(font[color="#1f2530" i], [data-ml-color=standard]) { color: var(--text); }
.ml-document-body :is(font[color="#714ea8" i], [data-ml-color=lavender]) { color: var(--ml-color-lavender); }
.ml-document-body :is(font[color="#983a4d" i], [data-ml-color=red]) { color: var(--ml-color-red); }
.ml-document-body :is(font[color="#2d5c9e" i], [data-ml-color=blue]) { color: var(--ml-color-blue); }
.ml-document-body :is(font[color="#2d694c" i], [data-ml-color=green]) { color: var(--ml-color-green); }
.ml-document-body :is(font[color="#785309" i], [data-ml-color=amber]) { color: var(--ml-color-amber); }
.ml-document-body font[size="1"] { font-size: 8pt; }
.ml-document-body font[size="2"] { font-size: 10pt; }
.ml-document-body font[size="3"] { font-size: 12pt; }
.ml-document-body font[size="4"] { font-size: 14pt; }
.ml-document-body font[size="5"] { font-size: 18pt; }
.ml-document-body font[size="6"] { font-size: 24pt; }
.ml-document-body font[size="7"] { font-size: 36pt; }
.ml-document-body p { margin: .55em 0; }
.ml-document-body blockquote { margin-inline: 0; padding-inline: 12px; border-inline-start: 3px solid var(--purple); }
.ml-document-body [data-ml-indent] { margin-inline-start: calc(var(--ml-indent) * 1.4rem); }
.ml-document-body a:not(.button) { color: var(--ml-color-lavender); text-decoration: underline; text-underline-offset: .15em; }
.ml-document-body ul, .ml-document-body ol { padding-inline-start: 1.75rem; }
.ml-document-body ul[data-ml-checklist] { list-style: none; }
.ml-document-body ul[data-ml-checklist] > li { position: relative; min-height: 1.6em; }
[data-ml-check-mark] {
  position: absolute; inset-inline-end: calc(100% + .36em); inset-block-start: .29em; display: inline-grid; place-items: center;
  width: 1.05em; height: 1.05em; padding: 0; border: 1px solid var(--ml-color-lavender); border-radius: .24em;
  background: var(--panel-2); color: var(--text); font: inherit; vertical-align: middle;
}
button[data-ml-check-mark] { cursor: pointer; }
button[data-ml-check-mark]::before { content: ""; position: absolute; inset: -.32em; }
[data-ml-check-mark][aria-checked=true] { background: var(--ml-color-lavender); color: var(--panel); }
[data-ml-check-mark][aria-checked=true]::after { content: "✓"; font-size: .78em; line-height: 1; }
.ml-contenteditable { position: relative; }
.ml-contenteditable.is-empty::before { content: attr(data-placeholder); position: absolute; inset-inline: var(--ml-paper-margin); color: var(--muted); pointer-events: none; }
.ml-contenteditable:focus-visible, .ml-row:focus-visible, .ml-day:focus-visible, .ml-category-card:focus-visible, .ml-tabs button:focus-visible { outline: 2px solid var(--purple); outline-offset: 2px; }
.ml-contenteditable:focus-visible { outline-offset: -2px; }
.ml-media { margin: 12px 0; display: flex; align-items: center; flex-wrap: wrap; gap: 8px; padding: 9px; border: 1px solid var(--line); border-radius: 9px; background: var(--panel-2); }
.ml-media img { max-width: 100%; max-height: 480px; height: auto; display: block; }
.ml-media > span { flex: 1; min-width: 0; }
.ml-inline-pdf { flex-basis: 100%; min-width: 0; }
.ml-inline-pdf output { color: var(--soft); }
.ml-pdf-page { min-width: 0; margin-top: 8px; }
.ml-pdf-page canvas { display: block; max-width: 100%; height: auto; margin-inline: auto; }
.ml-picker-month { margin: 3px 0 10px; justify-content: space-between; }
.ml-form-error { color: var(--red); }
.ml-detail-menu { position: relative; }
.ml-detail-menu > summary { display: grid; place-items: center; min-width: 38px; list-style: none; cursor: pointer; }
.ml-detail-menu > summary::-webkit-details-marker { display: none; }
.ml-detail-menu > div {
  position: absolute; z-index: 2; inset-inline-end: 0; margin-top: 5px; padding: 4px; border-radius: 9px;
  border: 1px solid var(--line); background: var(--panel); box-shadow: 0 8px 22px #0003;
}
.ml-detail-menu > div > button { border: 0; color: var(--red); white-space: nowrap; }
.ml-delete-form > p { margin-block: 0 8px; }
.ml-dialog { width: min(620px,calc(100vw - 26px)); max-height: min(85dvh,850px); padding: 18px; background: var(--bg); color: var(--text); border: 1px solid var(--line); border-radius: 14px; overflow: auto; }
.ml-dialog::backdrop { background: #08060c90; }
.ml-dialog > header, .ml-history header { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 12px; }
.ml-dialog form { display: grid; gap: 7px; }
.ml-dialog form > .button { justify-self: start; }
.ml-dialog fieldset { margin: 0 0 12px; min-width: 0; border: 1px solid var(--line); border-radius: 8px; }
.ml-registration-confirmation > p { margin-block: 12px; overflow-wrap: anywhere; word-break: auto-phrase; }
.ml-registration-overlaps { max-height: 36dvh; overflow: auto; border: 1px solid var(--line); border-radius: 9px; }
.ml-registration-overlaps section { padding: 10px 12px; }
.ml-registration-overlaps section + section { border-top: 1px solid var(--line); }
.ml-registration-overlaps h3 { margin: 0 0 6px; font-size: .95rem; }
.ml-registration-overlaps ul { display: grid; gap: 6px; margin: 0; padding-inline-start: 1.25em; }
.ml-registration-overlaps li { overflow-wrap: anywhere; word-break: auto-phrase; }
.ml-registration-overlaps small { display: block; color: var(--soft); }
.ml-week-check, .ml-check { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.ml-week-check label { display: flex; align-items: center; gap: 5px; }
.ml-check { padding: 7px 0; }
.ml-check span { min-width: 0; overflow-wrap: anywhere; }
.ml-check small { display: block; }
.ml-week-check input, .ml-check input { accent-color: var(--purple); }
.ml-history { list-style: none; padding: 0; }
.ml-history > li { padding: 12px 0; border-top: 1px solid var(--line); }
.ml-history time { color: var(--soft); }
.ml-history dl { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
.ml-history dl div { padding: 7px; background: var(--panel); border-radius: 6px; overflow-wrap: anywhere; }
.ml-history dt { color: var(--soft); }
.ml-history dd { margin: 0; }
.ml-settings-list > article { padding: 11px 0; border-bottom: 1px solid var(--line); }
.ml-settings-list > article:last-child { border-bottom: 0; }
.ml-settings-list > article > div { min-width: 0; overflow-wrap: anywhere; }
.ml-settings-list h3 { margin: 0; font-size: 1rem; word-break: auto-phrase; }
.ml-settings-list p { margin: 4px 0 0; }
.ml-log-links .ml-notice { padding: 2px 0; font-size: 13px; }
.ml-linked-rows { display: grid; gap: 8px; }
.ml-linked-rows .ml-row {
  min-width: 0; gap: 4px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px;
  background: color-mix(in srgb,var(--purple) 1.5%,var(--panel)); cursor: pointer;
}
.ml-linked-rows .ml-row:hover { background: color-mix(in srgb,var(--purple) 7%,var(--panel)); }
.ml-linked-rows .ml-row strong { font-size: 13px; font-weight: 600; }
.ml-linked-rows .ml-row small { font-size: 11px; }
.ml-link-head h4 { margin: 0; }
.ml-linked-reader { margin-top: 10px; padding: 12px; border: 1px solid var(--line); border-radius: 9px; background: var(--panel); }
@media (max-width:1060px) {
  .ml-library-grid { grid-template-columns: minmax(0,1fr); }
}
@media (max-width:940px) {
  .ml-format-row { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: thin; padding: 2px; }
  .ml-format-group { flex: none; flex-wrap: nowrap; }
}
@media (max-width:760px) {
  .meeting-material-workspace { gap: 12px; }
  .ml-library-tools { gap: 9px; }
  .ml-library-tabs, .ml-library-search { width: 100%; max-width: none; }
  .ml-library-tabs.log-section-tabs > button.log-section-tab { padding-inline: 5px; letter-spacing: 0; }
  .ml-library-search > input { font-size: 16px; }
  .ml-panel { padding: 11px; }
  .ml-editor-layout, .ml-paper-reader { gap: 10px; }
  .ml-format-button, .ml-format-select select, .ml-zoom :is(input,summary) { min-height: 40px; }
  .ml-cards { gap: 8px; }
  .ml-category-card { padding: 9px; min-height: 60px; }
}
@media (max-width:440px) {
  .ml-calendar-month { gap: 6px; }
  .ml-calendar-month .button { padding-inline: 8px; font-size: .82rem; }
  .ml-calendar-month h2 { font-size: clamp(.86rem, 3.8vw, 1.04rem); }
  .ml-editor-navigation { gap: 5px; }
  .ml-editor-navigation h1 { font-size: .77rem; }
  .ml-editor-save { gap: 4px; }
  .ml-editor-save .button { padding-inline: 8px; font-size: .82rem; }
  .ml-settings-row { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 5px 7px; padding: 5px 7px; }
  .ml-editor-settings { grid-area: 1 / 1; justify-self: start; }
  .ml-editor-save { grid-area: 1 / 2; }
  .ml-placement-summary { grid-area: 2 / 1 / auto / -1; gap: 8px; line-height: 1.3; }
  .ml-table-context { gap: 4px; }
  .ml-cell-background select { padding-inline: 3px; }
  .ml-table-menu > div { max-height: 40dvh; overflow: auto; }
}
@media (max-width:350px) {
  .ml-library-tabs.log-section-tabs > button.log-section-tab { padding-inline: 3px; }
  .ml-calendar-month { gap: 4px; }
  .ml-calendar-month .button { padding-inline: 7px; font-size: .77rem; }
}
@media (pointer: coarse) {
  .ml-recurring-date .button, .ml-prior-material :is(summary,.button), .ml-suggested-materials .button { min-height: 44px; }
  .ml-calendar > header .button, .ml-agenda-item > header .button { min-height: 44px; }
  .ml-report-options > .button, .ml-report-summary .button { min-height: 44px; }
  .ml-format-button, .ml-format-select select, .ml-zoom :is(input,summary,button) { min-height: 44px; }
  .ml-editor-save .button { min-height: 44px; }
  .ml-draft-error .button { min-height: 44px; }
  .ml-zoom input { font-size: 16px; }
  .ml-zoom summary { min-inline-size: 38px; }
  .ml-table-axis > button { min-height: 36px; }
}
