/* Shared presentation dimensions are aliases of menu_objects.php; only states and palettes live here. */
.notes-panel{width:100%;max-width:none;margin:0 auto var(--ui-secondary-space-double-large);color:var(--ink)}
.notes-query[hidden]{display:none !important}
.notes-query .notes-query-value{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.notes-panel[hidden], .notes-panel [hidden]{display:none !important}
.notes-panel button, .notes-panel select, .notes-panel textarea{font:inherit;color:var(--ink);background:var(--card);border:var(--ui-border-width) solid var(--line);border-radius:var(--ui-secondary-radius-8);min-height:var(--ui-button-height);box-sizing:border-box}
.notes-panel button{cursor:pointer;padding:var(--ui-secondary-space-medium-tight) var(--ui-space-large)}
.notes-panel button:disabled{cursor:default}
.notes-panel select:disabled, .notes-panel textarea:disabled{opacity:.65;cursor:default}
.notes-panel select, .notes-panel textarea{padding:var(--ui-secondary-space-medium-tight) var(--ui-secondary-space-medium-plus);max-width:100%;min-width:0}
.notes-header{align-items:center}
.notes-panel .notes-edit-mode{border-color:var(--rose);white-space:nowrap}
.notes-panel .notes-add{margin-left:auto;border-color:var(--rose);white-space:nowrap}
.notes-panel .notes-archive-toggle{font-size:var(--ui-font-small);background:transparent}
.notes-list, .notes-archive-list{list-style:none;margin:0;padding:0}
.notes-row{display:grid;align-items:center;gap:var(--ui-secondary-space-medium-plus);padding:var(--ui-space-large) 0;border-bottom:var(--ui-border-width) solid var(--line-soft)}
.notes-row-copy{display:flex;align-items:baseline;gap:var(--ui-secondary-space-small-plus) var(--ui-space-large);flex:1;min-width:0}
.notes-row-copy{grid-column:2;grid-row:1}
.notes-date, .notes-hour{font-variant-numeric:tabular-nums;font-size:var(--ui-font-small);white-space:nowrap}
.notes-date{flex:0 0 auto;font-weight:700}
.notes-hour{color:var(--ink-soft)}
.notes-text{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:var(--ui-line-body)}
.notes-full-text{grid-column:1 / -1;min-width:0;margin:0;padding:var(--ui-secondary-space-fine) 0 var(--ui-secondary-space-comfortable);white-space:pre-wrap;overflow-wrap:anywhere;line-height:var(--ui-line-reading)}
.notes-list > .notes-row.is-next{border-top:var(--ui-secondary-border-2) solid var(--rose)}
.notes-row.is-current .notes-date{color:var(--rose-dark,var(--rose))}
.notes-panel .notes-expand, .notes-panel .notes-edit{width:var(--ui-secondary-control-size);min-height:var(--ui-button-height);padding:var(--ui-space-small);font-size:var(--ui-font-heading);line-height:var(--ui-line-tight);background:transparent;border-color:transparent}
.notes-panel .notes-expand{grid-column:3;grid-row:1;color:var(--rose-dark,var(--rose))}
.notes-panel .notes-edit{grid-column:4;grid-row:1}
.notes-archive{border-bottom:var(--ui-border-width) solid var(--line);margin-bottom:var(--ui-secondary-space-section);padding-bottom:var(--ui-space-large)}
.notes-archive-scroll{max-height:var(--ui-notes-history-max-height);overflow:auto;overscroll-behavior:contain;padding:0 var(--ui-secondary-space-comfortable)}
.notes-archive .notes-date, .notes-archive .notes-text, .notes-archive .notes-full-text{color:var(--ink-soft)}
.notes-panel .notes-earlier, .notes-panel .notes-later{display:block;margin:var(--ui-space-large) auto;font-size:var(--ui-font-small);background:transparent}
.notes-form{border:var(--ui-border-width) solid var(--line);border-radius:var(--ui-secondary-radius-12);background:var(--card);margin-bottom:var(--ui-secondary-space-large-plus)}
.notes-form-title{margin:0 0 var(--ui-secondary-space-large-plus);font-size:var(--ui-font-body)}
.notes-date-fields{display:grid;grid-template-columns:var(--ui-layout-jayxak);gap:var(--ui-space-large)}
.notes-schedule-fields{display:grid;grid-template-columns:var(--ui-layout-single-column);gap:var(--ui-space-large)}
.notes-frequency{display:grid;grid-template-columns:var(--ui-layout-rhfahw);gap:var(--ui-space-medium)}
.notes-frequency select{width:100%}
.notes-field{display:flex;flex-direction:column;gap:var(--ui-secondary-space-small-plus);min-width:0;margin-bottom:var(--ui-space-large);font-size:var(--ui-font-small)}
.notes-panel .notes-day, .notes-panel .notes-year, .notes-panel .notes-month{width:100%;font-variant-numeric:tabular-nums}
.notes-time-parts{display:grid;grid-template-columns:var(--ui-layout-arxxrr);gap:var(--ui-secondary-space-small-plus);align-items:center}
.notes-time-parts select{width:100%;font-variant-numeric:tabular-nums}
.notes-period-hint{margin:0 0 var(--ui-space-large);font-size:var(--ui-font-small);color:var(--ink-soft)}
.notes-description{height:var(--ui-note-span-220);min-height:var(--ui-note-span-220);resize:none;overflow-y:auto;line-height:var(--ui-line-body);white-space:pre-wrap}
.notes-icon-image{display:block;width:var(--ui-secondary-control-size);height:var(--ui-secondary-control-size);flex:0 0 auto;object-fit:contain;color:var(--rose-dark,var(--rose))}
.notes-row-icon{display:flex;grid-column:1;grid-row:1;align-items:center;justify-content:center}
.notes-row-icon .notes-icon-image{width:var(--ui-secondary-control-large);height:var(--ui-secondary-control-large)}
.notes-icon-image.is-line{--note-icon-fill:transparent}
.notes-icons{min-inline-size:0;margin:0 0 var(--ui-secondary-space-double-medium);padding:var(--ui-space-large);border:var(--ui-border-width) solid var(--line-soft);border-radius:var(--ui-secondary-radius-10)}
.notes-icons > legend{padding:0 var(--ui-secondary-space-small-plus);font-size:var(--ui-font-small)}
.notes-icon-toolbar{display:flex;align-items:center;justify-content:space-between;gap:var(--ui-secondary-space-medium-plus);min-width:0}
.notes-icon-styles{display:flex;justify-content:center;gap:var(--ui-space-medium);margin:0 0 var(--ui-secondary-space-large-plus)}
.notes-panel .notes-icon-style{min-width:var(--ui-note-span-100);background:transparent}
.notes-panel .notes-icon-style[aria-pressed=true]{color:var(--rose-dark,var(--rose));border-color:var(--rose);background:var(--paper);font-weight:700}
.notes-icon-preview{display:flex;align-items:center;gap:var(--ui-space-medium);min-width:0;font-size:var(--ui-font-small)}
.notes-icon-preview-label{overflow-wrap:anywhere}
.notes-panel .notes-icon-none{flex:none;margin-left:auto;padding:var(--ui-secondary-space-comfortable) var(--ui-secondary-space-medium-plus);font-size:var(--ui-font-small)}
.frame .notes-icon-keyboard{width:100%;margin:var(--ui-secondary-space-large-plus) auto var(--ui-secondary-space-medium-plus);padding:0 !important}
.notes-icon-query{display:flex;align-items:baseline;justify-content:center;gap:var(--ui-space-medium);min-width:0;margin:0 0 var(--ui-space-large)}
.notes-icon-query-value{min-width:0;overflow-wrap:anywhere}
.notes-icon-query-count{flex:none;font-size:var(--ui-font-small);color:var(--ink-soft)}
.notes-icon-grid{min-width:0}
.notes-panel .notes-icon-choice{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:var(--ui-secondary-space-small-plus);background:var(--card)}
.notes-icon-label{font-size:var(--ui-font-small);line-height:var(--ui-line-label);overflow-wrap:anywhere;text-align:center}
.notes-panel .notes-icon-choice[aria-pressed=true], .notes-panel .notes-icon-none[aria-pressed=true]{border-color:var(--rose);background:var(--paper);color:var(--rose-dark,var(--rose));font-weight:700}
.notes-icon-status{margin:var(--ui-secondary-space-medium-loose) 0 0;font-size:var(--ui-font-small);color:var(--ink-soft)}
.notes-form-actions{display:flex;flex-wrap:wrap;gap:var(--ui-secondary-space-medium-plus);justify-content:flex-end}
.notes-panel .notes-save{border-color:var(--rose)}
.notes-panel .notes-remove{margin-right:auto;background:transparent}
.notes-delete-confirm{border-top:var(--ui-border-width) solid var(--line);padding-top:var(--ui-space-large);margin-top:var(--ui-secondary-space-large-plus);text-align:right}
.notes-delete-confirm p{text-align:left;line-height:var(--ui-line-editor)}
.notes-delete-confirm button{margin-left:var(--ui-space-medium)}
.notes-panel .notes-confirm-remove{border-color:var(--danger);color:var(--danger)}
.notes-status{font-size:var(--ui-font-small);text-align:center;margin:var(--ui-space-large) 0 0;overflow-wrap:anywhere}
.notes-panel .notes-retry{display:block;margin:var(--ui-secondary-space-medium-plus) auto}
html[data-display=paper] .notes-panel .notes-save,
html[data-display=paper] .notes-panel .notes-add,
html[data-display=paper] .notes-panel .notes-edit-mode{color:#8b2026;border-color:#8b2026;background:#fff}
html[data-display=paper] .notes-row.is-current .notes-date{color:#8b2026}
html[data-display=paper] .notes-list > .notes-row.is-next{border-top-color:#8b2026}
html[data-display=paper] .notes-panel{--note-icon-fill:transparent}
html[data-display=paper] .notes-icon-image{color:#8b2026}
html[data-display=paper] .notes-panel .notes-icon-choice[aria-pressed=true],
html[data-display=paper] .notes-panel .notes-icon-none[aria-pressed=true],
html[data-display=paper] .notes-panel .notes-icon-style[aria-pressed=true]{background:#fff;border-color:#8b2026;color:#8b2026}
.notes-header{display:flex;margin-bottom:var(--ui-space-large)}
.notes-archive-toggle[aria-pressed=true]{background:var(--paper-deep);border-color:var(--ink);font-weight:700}
.notes-icon-grid{grid-template-columns:var(--ui-layout-khhraw)}
.notes-icon-choice{min-width:var(--ui-button-height);min-height:var(--ui-button-height);padding:var(--ui-secondary-space-comfortable)}
.notes-icon-choice .notes-icon-image{width:var(--ui-tag-height);height:var(--ui-tag-height)}
.notes-description{width:100%;box-sizing:border-box}
.notes-expand{min-height:var(--ui-tag-height);font-size:var(--ui-font-label)}
.notes-query-count{display:none !important}
.notes-form-actions .notes-save[hidden]{display:none !important}
.notes-form{padding:var(--ui-secondary-space-medium-plus)}
.notes-form .notes-description{height:var(--ui-note-span-76);min-height:var(--ui-note-span-76);line-height:var(--ui-line-editor)}
.notes-form .notes-icons{padding:var(--ui-space-small);border:0;margin:0 0 var(--ui-secondary-space-medium-tight)}
.notes-icons legend,.notes-icon-toolbar{display:none}
.notes-icon-grid{display:flex;justify-content:center;flex-wrap:wrap;gap:var(--ui-secondary-space-compact)}
.notes-panel .notes-icon-choice{width:var(--ui-secondary-control-size);min-width:var(--ui-secondary-control-size);height:var(--ui-secondary-control-size);min-height:var(--ui-secondary-control-size);padding:var(--ui-secondary-space-compact)}
.notes-panel .notes-icon-choice[aria-pressed=true]{outline:var(--ui-secondary-border-2) solid var(--ink);outline-offset:var(--ui-secondary-space-hairline)}
.notes-form .notes-field{margin-bottom:var(--ui-secondary-space-small-plus)}
.notes-form .notes-field select,.notes-effective-date{padding:var(--ui-secondary-space-small-plus);min-height:var(--ui-tag-height)}
.notes-header{justify-content:center;gap:var(--ui-space-medium)}
.notes-header button[aria-pressed=true]{border:var(--ui-secondary-border-2) solid var(--ink);font-weight:600}
.notes-present-toggle{color:#446a4a}
.notes-archive-toggle{color:#875758}
.notes-month-grid{display:grid;grid-template-columns:repeat(var(--ui-calendar-columns),minmax(0,1fr));gap:var(--ui-space-small)}
.notes-month-day{min-height:var(--ui-note-span-78);border:var(--ui-border-width) solid var(--line);border-radius:var(--ui-secondary-radius-4);padding:var(--ui-space-small);min-width:0}
.notes-month-number{font-variant-numeric:tabular-nums;font-size:var(--ui-font-label)}
.notes-month-note{display:block;width:100%;text-align:left;font:inherit;font-size:var(--ui-font-caption);margin:var(--ui-secondary-space-compact) 0;padding:var(--ui-secondary-space-compact);overflow-wrap:anywhere}
.notes-reference{font-size:var(--ui-font-caption);opacity:.8;margin-top:var(--ui-space-small);overflow-wrap:anywhere}
.notes-reference a{display:block}
.notes-saved-rule{display:block;font-size:var(--ui-font-label);color:var(--ink-soft);overflow-wrap:anywhere;margin-top:var(--ui-space-small)}
.notes-panel .notes-month-note{min-height:0;height:auto;padding:var(--ui-space-small);font-size:var(--ui-font-caption);line-height:var(--ui-line-editor);white-space:normal}
.notes-row-copy{flex-wrap:wrap}
.notes-archive .notes-date{white-space:normal}
.notes-saved-rule{flex-basis:100%}
.notes-panel .notes-expand{padding:0;line-height:var(--ui-line-compact)}
.notes-row{grid-template-columns:var(--ui-layout-tttwkj)}
.notes-panel.is-editing .notes-row{grid-template-columns:var(--ui-layout-yxwkty)}
.notes-panel .notes-expand{width:var(--ui-note-span-50);font-size:var(--ui-font-label);white-space:nowrap;overflow-wrap:normal}
.frame .notes-panel{width:100%;max-width:none;margin:0;padding:0;border:0}
.frame .notes-header{display:none}
.frame .notes-month-view{width:100%;max-width:none;margin:0}
.frame .notes-month-grid{grid-template-columns:repeat(var(--ui-calendar-columns),minmax(0,1fr));width:100%}
.frame .notes-month-day{min-width:0}
.notes-day-heading{cursor:pointer}
.notes-reference[data-tradition=muslim]{border-left:var(--ui-secondary-border-3) solid #3f8064}
.notes-reference[data-tradition=christian]{border-left:var(--ui-secondary-border-3) solid #8a5369}
.notes-reference[data-tradition=orthodox]{border-left:var(--ui-secondary-border-3) solid #936d22}
.notes-reference[data-tradition=jewish]{border-left:var(--ui-secondary-border-3) solid #446f9e}
.notes-reference[data-tradition=civil]{border-left:var(--ui-secondary-border-3) solid #777178}
.frame .notes-reference{padding-left:var(--ui-space-small);overflow-wrap:anywhere}
.frame .notes-workspace{margin:0;border:0}
.notes-sidebar,.notes-detail{min-width:0}
.frame .notes-list,.frame .notes-archive,.frame .notes-archive-list,.frame .notes-archive-scroll{margin:0;padding:0;border:0;max-height:none;overflow:visible}
.frame .notes-row{gap:var(--ui-space-small);border-bottom:var(--ui-border-width) solid var(--line-soft)}
.frame .notes-text{display:block;overflow:hidden;text-overflow:ellipsis}
.frame .notes-expand,.frame .notes-edit{width:var(--ui-note-span-28);min-width:0;min-height:var(--ui-note-span-28);height:var(--ui-note-span-28);padding:var(--ui-secondary-space-fine);border-radius:var(--ui-secondary-radius-4)}
.notes-detail-description{white-space:pre-wrap;overflow-wrap:anywhere}
.notes-detail-date{margin:var(--ui-secondary-space-medium-tight) 0;font-size:var(--ui-font-body)}
.notes-detail-rule{font-size:var(--ui-font-label);color:var(--ink-soft)}
.frame .notes-detail .notes-form{margin:0;padding:var(--ui-secondary-space-small-plus) 0;border:0;background:transparent}
.frame .notes-period-toggle{font-size:var(--ui-font-caption)}
.frame .notes-day-heading{list-style:none}
.frame .notes-day-heading::-webkit-details-marker{display:none}
.frame .notes-day-heading::before{content:'▸';font-size:var(--ui-font-caption);flex:none}
.frame .notes-month-day[open]>.notes-day-heading::before{content:'▾'}
.frame .notes-panel > .notes-workspace,
.frame .notes-panel > .notes-month-view,
.frame .notes-panel > .notes-header{margin:0 var(--ui-secondary-space-five-medium) var(--ui-secondary-space-section)}
.frame .notes-workspace{padding:0}
.frame .notes-header:not([hidden]){display:flex;justify-content:flex-start}
.frame .notes-header .notes-add{margin:0;font-weight:400}
.frame .notes-row{display:grid;grid-template-columns:var(--ui-layout-ayyaxt);column-gap:var(--ui-secondary-space-section-plus);align-items:start}
.frame .notes-row-summary{display:grid;min-width:0;align-items:center}
.frame .notes-row-copy{display:flex}
.frame .notes-text{flex:1}
.frame .notes-saved-rule{display:none}
.frame .notes-full-text{grid-column:2;grid-row:1;margin:0;font-size:var(--ui-font-small);line-height:var(--ui-line-reading);min-height:var(--ui-secondary-control-size)}
.frame .notes-row > .notes-form{grid-column:1 / -1;margin:var(--ui-secondary-space-medium-plus) 0 var(--ui-secondary-space-fine)}
.frame .notes-expand[aria-pressed=true]{background:var(--paper-deep);color:var(--rose-dark,var(--rose));border-color:var(--line)}
.frame .notes-form{padding:var(--ui-secondary-space-large-plus);background:var(--card)}
.frame .notes-title{width:100%;min-width:0;box-sizing:border-box;font:inherit;color:var(--ink);background:var(--card);border:var(--ui-border-width) solid var(--line);border-radius:var(--ui-secondary-radius-8);min-height:var(--ui-secondary-control-size);padding:var(--ui-secondary-space-comfortable) var(--ui-secondary-space-medium-plus)}
.frame .notes-repeat-label{display:flex;align-items:center;gap:var(--ui-space-medium);margin:var(--ui-secondary-space-medium-tight) 0;font-size:var(--ui-font-small)}
.frame .notes-repeat-toggle{width:var(--ui-note-span-17);height:var(--ui-note-span-17);accent-color:var(--rose-dark,var(--rose))}
.frame .notes-frequency{grid-template-columns:var(--ui-layout-xawhrg);align-items:center;font-size:var(--ui-font-small);margin-bottom:var(--ui-secondary-space-medium-plus)}
.frame .notes-month-view{border:var(--ui-border-width) solid #dedee6;background:#fff;color:#252536;box-sizing:border-box;overflow:hidden}
.frame .notes-month-grid{min-width:0}
.frame .notes-weekday{padding:var(--ui-secondary-space-comfortable) var(--ui-space-small) var(--ui-secondary-space-medium-plus);font-size:var(--ui-font-label);text-align:left;color:#666b78}
.frame .notes-month-day{min-height:var(--ui-note-span-118);border:0;border-top:var(--ui-border-width) solid #eeeeF3;border-radius:0;box-shadow:inset calc(var(--ui-secondary-space-hairline) * -1) 0 #f5f5f8;background:#fff}
.frame .notes-month-day:nth-child(7n){box-shadow:none}
.frame .notes-day-heading{padding:0 0 var(--ui-secondary-space-small-plus);cursor:default}
.frame .notes-day-heading::before{display:none}
.frame .is-today .notes-month-number{font-weight:650}
.frame .notes-day-content{max-height:var(--ui-note-span-158);overflow-y:auto;scrollbar-width:thin;overscroll-behavior:contain}
.frame .notes-reference{padding:var(--ui-secondary-space-compact) var(--ui-space-small);margin:var(--ui-secondary-space-compact) 0;font-size:var(--ui-font-caption);line-height:var(--ui-line-body);text-decoration:none;opacity:1;color:#666b78;border:0;border-radius:var(--ui-secondary-radius-4);background:#f7f7f7}
.frame .notes-reference[data-tradition=christian],.frame .notes-reference[data-tradition=orthodox]{border:0;background:#f9edf0;color:#674351}
.frame .notes-reference[data-tradition=muslim]{border:0;background:#e5f3fb;color:#31596c}
.frame .notes-reference[data-tradition=season]{background:#fff3d6;color:#77603c}
.frame .notes-reference[data-tradition=saint]{background:transparent;color:#747484}
.frame .notes-reference-caveat{display:block;font-size:var(--ui-font-caption)}
.frame .notes-month-note{display:flex;align-items:center;gap:var(--ui-space-small);margin:var(--ui-secondary-space-compact) 0;background:#f3eff1;border:0;color:#513d46;border-radius:var(--ui-secondary-radius-4);font-size:var(--ui-font-caption);line-height:var(--ui-line-editor)}
.frame .notes-month-note .notes-icon-image{width:var(--ui-note-span-18);height:var(--ui-note-span-18);flex:none}
.frame .notes-calendar-sources a{color:#666b78;text-underline-offset:var(--ui-note-span-2)}
.frame .notes-workspace{position:relative;isolation:isolate}
.frame .notes-parchment{position:absolute;z-index:-1;inset:0 0 0 auto;width:calc((100% - var(--ui-note-span-20)) / 2);min-height:var(--ui-note-span-180);background:#fff;border:var(--ui-border-width) solid #eeebea;border-radius:var(--ui-secondary-radius-12);box-sizing:border-box;box-shadow:0 var(--ui-secondary-space-fine) var(--ui-space-medium) #29212605;pointer-events:none}
.frame .notes-row{border:0;min-height:var(--ui-note-span-58);padding:var(--ui-secondary-space-small-plus) 0}
.frame .notes-row.is-next{border:0}
.frame .notes-row-summary{gap:var(--ui-secondary-space-comfortable);border:var(--ui-border-width) solid var(--line-soft);border-radius:var(--ui-pill-radius);background:var(--card);padding:var(--ui-secondary-space-small-plus) var(--ui-secondary-space-medium-plus);min-height:var(--ui-note-span-46);box-sizing:border-box}
.frame .notes-row-summary .notes-edit{grid-column:3;grid-row:1}
.frame .notes-row-summary .notes-expand,.frame .notes-row-summary .notes-pin{grid-row:1;justify-self:center}
.frame .notes-row-summary .notes-expand{background:transparent;color:var(--rose-dark,var(--rose));border:0;font-size:var(--ui-font-heading)}
.frame .notes-pin{width:var(--ui-note-span-17);height:var(--ui-note-span-17);margin:0;accent-color:var(--rose-dark,var(--rose));cursor:pointer}
.frame .notes-full-text{background:transparent;color:#37323a;padding:var(--ui-secondary-space-medium-plus) var(--ui-secondary-space-large-plus);border:0;border-radius:0}
.frame .notes-row.is-pinned .notes-full-text{box-shadow:inset var(--ui-secondary-space-fine) 0 #d9c1c7}
.frame .notes-detail{display:block;position:absolute;top:0;right:0;width:calc((100% - var(--ui-note-span-20)) / 2);height:100%;min-height:var(--ui-note-span-180);box-sizing:border-box;padding:var(--ui-secondary-space-double-medium);overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;color:#37323a}
.frame .notes-detail-date{margin:0 0 var(--ui-space-medium);font-size:var(--ui-font-caption);font-weight:400;color:#77707b}
.frame .notes-detail-title{margin:0 0 var(--ui-space-large);font-size:var(--ui-font-small);font-weight:500;line-height:var(--ui-line-body);overflow-wrap:anywhere}
.frame .notes-detail-description{margin:0;font-size:var(--ui-font-small);line-height:var(--ui-line-reading-loose)}
.frame .notes-detail-text{border:0;padding:0}
.frame .notes-row > .notes-form{position:relative;z-index:1}
.frame .notes-panel > .notes-workspace,
.frame .notes-panel > .notes-month-view,
.frame .notes-panel > .notes-header{width:calc(100% - var(--ui-note-span-40));max-width:var(--ui-note-span-960);margin-left:auto;margin-right:auto}
.frame .notes-header .notes-add{min-height:var(--ui-tag-height);padding:var(--ui-space-small) var(--ui-secondary-space-medium-plus);font-size:var(--ui-font-label);border-width:var(--ui-border-width)}
.frame .notes-month-toggle[aria-expanded=true]{background:var(--paper-deep)}
.frame .notes-sidebar > .notes-header{flex-wrap:wrap;justify-content:flex-start;width:calc((100% - var(--ui-note-span-20)) / 2);margin:0 0 var(--ui-secondary-space-medium-loose)}
.frame .notes-type-filters{display:grid;max-width:100%;min-width:0}
.frame .notes-panel .notes-type-filter{display:flex;align-items:center;justify-content:center;width:100%;min-width:0;border:var(--ui-border-width) solid transparent;padding:var(--ui-secondary-space-fine);border-radius:50%;background:transparent}
.frame .notes-panel .notes-type-filter[aria-pressed=true]{border-color:var(--rose);background:var(--paper-deep)}
.frame .notes-selection-actions{flex-wrap:wrap}
.frame .notes-selection-actions button{display:inline-flex;align-items:center;justify-content:center;border:var(--ui-border-width) solid var(--line);background:var(--card);color:var(--rose-dark,var(--rose));line-height:var(--ui-line-tight)}
.frame .notes-tool-icon{width:var(--ui-note-span-20);height:var(--ui-note-span-20);fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.frame .notes-month-toggle{display:flex;align-items:center;justify-content:center}
.frame .notes-period-toggle{display:flex;align-items:center;justify-content:center}
.frame .notes-row-summary{grid-template-columns:var(--ui-layout-kaywwg)}
.frame .notes-row-summary .notes-expand,.frame .notes-row-summary .notes-pin{grid-column:3}
.frame .notes-detail > .notes-form{width:100%;margin:0;padding:0;border:0;border-radius:0;background:transparent}
.frame .notes-detail .notes-icon-grid{grid-template-columns:var(--ui-layout-kgftrx);grid-template-rows:var(--ui-layout-agwwhk)}
.frame .notes-detail .notes-icon-choice{min-width:0;padding:var(--ui-secondary-space-fine)}
.frame .notes-detail .notes-form input,.frame .notes-detail .notes-form select,.frame .notes-detail .notes-form textarea{max-width:100%;box-sizing:border-box}
.frame .notes-detail .notes-form input[type=date]{min-width:0;width:100%}
.frame .notes-detail .notes-form-actions{gap:var(--ui-secondary-space-small-plus)}
.frame .notes-detail .notes-form-actions button{padding:var(--ui-secondary-space-small-plus) var(--ui-secondary-space-medium-tight);font-size:var(--ui-font-label);min-height:var(--ui-tag-height)}
.frame .notes-detail .notes-delete-confirm{font-size:var(--ui-font-label)}
.frame .notes-detail .notes-delete-confirm button{font-size:var(--ui-font-caption);margin:var(--ui-secondary-space-compact) 0 0 var(--ui-space-small)}
.frame .notes-month-toggle{gap:var(--ui-secondary-space-hairline)}
.frame .notes-month-toggle .notes-tool-icon{width:var(--ui-note-span-18);height:var(--ui-note-span-20);min-width:0;flex:0 1 var(--ui-note-span-18)}
.frame .notes-month-toggle .notes-tool-icon:nth-child(2){width:var(--ui-note-span-23);height:var(--ui-note-span-23);flex-basis:var(--ui-note-span-23)}
.frame .notes-calendar-filters{display:flex;gap:var(--ui-space-small) var(--ui-secondary-space-comfortable);padding:var(--ui-space-small) var(--ui-secondary-space-compact) var(--ui-secondary-space-medium-loose)}
.frame .notes-calendar-filter{min-height:var(--ui-note-span-28);padding:var(--ui-secondary-space-compact) var(--ui-space-medium);border:var(--ui-border-width) solid #d9d5cb;border-radius:var(--ui-secondary-radius-5);font-size:var(--ui-font-caption);line-height:var(--ui-line-label)}
.frame .notes-month-day.is-today{background:#fff}
.frame .is-today .notes-month-number{box-sizing:border-box}
.frame .notes-month-number{flex:none}
.frame .notes-day-sky{display:flex;flex-direction:column;gap:var(--ui-secondary-space-compact);min-width:0}
.frame .notes-day-sky .notes-reference{margin:0;font-size:var(--ui-font-caption);line-height:var(--ui-line-label)}
.frame .notes-sky-symbol{margin-right:var(--ui-secondary-space-compact)}
.frame .notes-reference[data-tradition=moon]{background:#edeae1;color:#575345}
.frame .notes-sidebar > .notes-header{display:grid;grid-template-columns:var(--ui-layout-agkxhg);align-items:stretch;gap:var(--ui-secondary-space-medium-plus)}
.frame .notes-type-filters{width:100%;grid-template-columns:var(--ui-layout-kgftrx);gap:var(--ui-space-small)}
.frame .notes-panel .notes-type-filter{height:var(--ui-note-span-34);min-height:var(--ui-note-span-34)}
.frame .notes-type-filter .notes-icon-image{width:var(--ui-note-span-29);height:var(--ui-note-span-29)}
.frame .notes-selection-actions{display:grid;grid-template-columns:var(--ui-layout-tkayjj);gap:var(--ui-secondary-space-small-plus);align-items:stretch}
.frame .notes-selection-actions button{grid-area:auto;justify-self:stretch;align-self:stretch;width:100%;height:100%;min-width:0;min-height:var(--ui-note-span-34);margin:0;border-radius:var(--ui-secondary-radius-8);font-size:var(--ui-font-label);padding:var(--ui-secondary-space-fine)}
.frame .notes-selection-actions .notes-add{min-height:var(--ui-note-span-34);padding:0;font-size:var(--ui-font-title)}
.frame .notes-selection-actions .notes-freeze[aria-pressed=true]{color:#365f68;border-color:#365f68;background:#eef6f6}
.frame .notes-selection-actions button:disabled{color:var(--ink-soft)}
.frame .notes-panel .notes-row-summary{display:grid;width:100%;grid-template-columns:var(--ui-layout-hwagxg);gap:var(--ui-space-medium);padding:var(--ui-secondary-space-medium-tight) var(--ui-secondary-space-ratio-11);text-align:left;border:var(--ui-border-width) solid var(--line-soft);border-radius:var(--ui-secondary-radius-14);background:var(--card);color:#282622}
.frame .notes-panel .notes-row-summary:focus-visible{outline:var(--ui-secondary-border-2) solid var(--rose);outline-offset:var(--ui-secondary-space-fine)}
.frame .notes-row.is-selected .notes-row-summary{border-color:var(--rose)}
.frame .notes-row-copy{flex-wrap:wrap;gap:var(--ui-secondary-space-hairline) var(--ui-space-medium);align-items:baseline}
.frame .notes-row-icon .notes-icon-image{width:var(--ui-note-span-34);height:var(--ui-note-span-34)}
.frame .notes-date{color:var(--rose-dark,var(--rose));font-size:var(--ui-font-body);font-weight:650}
.frame .notes-text{color:#282622;font-size:var(--ui-font-small);line-height:var(--ui-line-body);white-space:normal;overflow-wrap:anywhere;min-width:var(--ui-note-span-70)}
.frame .notes-detail{background:#fff;border-radius:var(--ui-secondary-radius-12)}
.frame .notes-detail-title{color:#282622}
.frame .notes-detail-description{color:#37323a}
.frame .notes-detail .notes-remove{margin-right:0}
.frame .notes-workspace{--notes-gap:var(--ui-note-span-20);--notes-left:calc((100% - var(--notes-gap)) * .42);--notes-right:calc((100% - var(--notes-gap)) * .58)}
.frame .notes-workspace .notes-sidebar > .notes-header{width:100%}
.frame .notes-workspace .notes-row{display:block;width:100%}
.frame .notes-workspace .notes-list,
.frame .notes-workspace .notes-archive-scroll{max-height:var(--ui-note-span-560);overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;padding:var(--ui-secondary-space-fine) var(--ui-secondary-space-compact);box-sizing:border-box}
.frame .notes-workspace .notes-list:focus-visible{outline:var(--ui-border-width) solid var(--rose);outline-offset:var(--ui-secondary-space-compact);border-radius:var(--ui-secondary-radius-8)}
.frame .notes-workspace .notes-parchment,
.frame .notes-workspace .notes-detail{width:var(--notes-right);min-height:var(--ui-note-span-480);background:var(--notes-leaf);border:var(--ui-border-width) solid var(--line-soft);border-radius:var(--ui-secondary-radius-12);box-shadow:none}
.frame .notes-workspace .notes-detail-title{font-size:var(--ui-font-body)}
.frame .notes-workspace .notes-detail-description{font-size:var(--ui-font-small);line-height:var(--ui-line-reading-loose)}
.frame .notes-workspace.is-frozen .notes-parchment,
.frame .notes-workspace.is-frozen .notes-detail{border-color:transparent}
.frame .notes-detail .notes-effective-parts{width:100%}
.frame .notes-detail .notes-effective-parts select{width:100%}
.frame .notes-panel > .notes-month-view{display:flex;flex-wrap:wrap;align-items:center;gap:var(--ui-secondary-space-medium-tight) var(--ui-secondary-space-large-plus)}
.frame .notes-month-view > .notes-calendar-filters{padding:0}
.frame .notes-month-view > .notes-month-grid{flex-basis:100%}
.frame .notes-month-view .notes-calendar-filter{margin:0}
.frame .notes-panel > .notes-header{display:flex;align-items:center;justify-content:space-between;flex-wrap:nowrap;gap:var(--ui-secondary-space-section);margin-bottom:var(--ui-space-large);padding:var(--ui-secondary-space-hairline) 0 var(--ui-secondary-space-small-plus);overflow-x:auto;scrollbar-width:thin}
.frame .notes-header .notes-type-filters{display:flex;flex:1 0 auto;align-items:center;justify-content:space-between;width:auto;max-width:none;gap:var(--ui-secondary-space-small-plus)}
.frame .notes-header .notes-type-filter{flex:0 0 var(--ui-note-span-34);width:var(--ui-note-span-34);height:var(--ui-secondary-control-size);min-height:var(--ui-secondary-control-size);border-radius:var(--ui-secondary-radius-7)}
.frame .notes-header .notes-type-filter .notes-icon-image{width:var(--ui-note-span-28);height:var(--ui-note-span-28)}
.frame .notes-header .notes-selection-actions{display:flex;flex:none;align-items:center;gap:var(--ui-secondary-space-comfortable)}
.frame .notes-header .notes-selection-actions button{flex:0 0 var(--ui-secondary-control-size);width:var(--ui-secondary-control-size);height:var(--ui-secondary-control-size);min-height:var(--ui-secondary-control-size);min-width:var(--ui-secondary-control-size);padding:0;margin:0;border-radius:var(--ui-secondary-radius-8)}
.frame .notes-header .notes-selection-actions button:disabled{color:#aaa6a0;border-color:#e0ddd7;background:#f2f0eb;opacity:.65}
.frame .notes-header .notes-selection-actions .notes-add{font-size:var(--ui-font-title)}
.frame .notes-header .notes-selection-actions .is-deleting:enabled{color:#9d3434;border-color:#9d3434;background:#fff0ed}
.frame .notes-header .notes-tool-icon{width:var(--ui-note-span-21);height:var(--ui-note-span-21);stroke-width:1.7}
.frame .notes-workspace{display:grid;align-items:start;gap:var(--ui-secondary-space-section);min-height:var(--ui-note-span-480)}
.frame .notes-workspace .notes-sidebar{width:100%}
.frame .notes-workspace .notes-parchment{display:none}
.frame .notes-workspace .notes-detail{position:relative;inset:auto;width:100%;height:auto;min-height:var(--ui-note-span-480);max-height:var(--ui-note-span-740);padding:var(--ui-secondary-space-section-wide);background:var(--notes-leaf);border:var(--ui-border-width) solid #eeebea}
.frame .notes-workspace .notes-list{padding-top:0}
.frame .notes-workspace .notes-row{margin:0;padding:0 0 var(--ui-space-medium);min-height:0}
.frame .notes-workspace .notes-row-summary{grid-template-columns:var(--ui-layout-whfjwj);gap:var(--ui-secondary-space-comfortable);min-height:var(--ui-note-span-58);padding:var(--ui-space-medium)}
.frame .notes-workspace .notes-row-icon .notes-icon-image{width:var(--ui-note-span-27);height:var(--ui-note-span-27)}
.frame .notes-workspace .notes-text{flex-basis:100%;font-size:var(--ui-font-label)}
.frame .notes-workspace .notes-row.is-sticky{position:sticky;top:0;z-index:2}
.frame .notes-workspace .notes-row.is-sticky .notes-row-summary{box-shadow:0 var(--ui-secondary-space-compact) var(--ui-space-medium) #3e341615}
.frame .notes-workspace .notes-later{width:100%;min-height:var(--ui-note-span-58);margin:0;border-radius:var(--ui-secondary-radius-14);font-size:var(--ui-font-label);background:var(--card)}
.frame .notes-workspace.has-draft{min-height:var(--ui-note-span-640)}
.frame .notes-workspace.has-draft .notes-detail{min-height:var(--ui-note-span-640);max-height:none;overflow:visible}
.frame .notes-detail .notes-icon-grid{display:flex;flex-wrap:nowrap;justify-content:space-between;overflow-x:auto;gap:var(--ui-space-small);padding:var(--ui-secondary-space-compact) var(--ui-secondary-space-hairline)}
.frame .notes-detail .notes-icon-choice{flex:0 0 var(--ui-secondary-icon-large);width:var(--ui-secondary-icon-large);height:var(--ui-note-span-34);min-height:var(--ui-note-span-34)}
.frame .notes-detail .notes-icon-choice .notes-icon-image{width:var(--ui-note-span-26);height:var(--ui-note-span-26)}
.frame .notes-detail .notes-timing{display:grid;align-items:start}
.frame .notes-detail .notes-date-fields{gap:var(--ui-secondary-space-small-plus)}
.frame .notes-detail .notes-schedule-fields{display:flex;flex-wrap:wrap;padding-top:var(--ui-secondary-space-section)}
.frame .notes-detail .notes-repeat-label{flex:none;margin:0;min-height:var(--ui-tag-height)}
.frame .notes-detail .notes-frequency{grid-template-columns:var(--ui-layout-hxwygg);margin:0}
.frame .notes-detail .notes-effective-parts{max-width:var(--ui-note-span-235)}
.frame .notes-detail .notes-form .notes-description{display:block;height:var(--ui-note-span-320);min-height:var(--ui-note-span-320);resize:none;border-radius:0 0 var(--ui-secondary-radius-8) var(--ui-secondary-radius-8);border-top:0;line-height:var(--ui-line-reading);font-size:var(--ui-font-small)}
.frame .notes-detail .notes-rich-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:var(--ui-secondary-space-compact);padding:var(--ui-secondary-space-small-plus);border:var(--ui-border-width) solid var(--line);border-radius:var(--ui-secondary-radius-8) var(--ui-secondary-radius-8) 0 0;background:#faf9f6}
.frame .notes-detail .notes-rich-button{width:var(--ui-note-span-31);min-width:var(--ui-note-span-31);height:var(--ui-secondary-icon-large);min-height:var(--ui-secondary-icon-large);padding:0;border:0;border-radius:var(--ui-secondary-radius-4);background:transparent;font-size:var(--ui-font-small)}
.frame .notes-detail .notes-rich-button:enabled:hover{background:#ece7dc}
.notes-rich-button[data-format=bold]{font-weight:750}
.notes-rich-button[data-format=italic]{font-family:var(--ui-font-literary);font-style:italic}
.notes-rich-button[data-format=underline]{text-decoration:underline}
.notes-rich-button[data-format=strike]{text-decoration:line-through}
.frame .notes-detail .notes-rich-button:disabled{opacity:.35}
.notes-rich-link-panel{display:flex;flex-wrap:wrap;gap:var(--ui-secondary-space-small-plus);padding:var(--ui-secondary-space-comfortable);border:var(--ui-border-width) solid var(--line);background:#fff}
.frame .notes-detail .notes-rich-link-panel input{flex:1 1 var(--ui-note-span-160);width:100%;min-width:0;font:inherit;padding:var(--ui-secondary-space-comfortable);border:var(--ui-border-width) solid var(--line);border-radius:var(--ui-secondary-radius-5)}
.frame .notes-detail .notes-rich-link-panel button{min-height:var(--ui-tag-height);font-size:var(--ui-font-label);padding:var(--ui-secondary-space-compact) var(--ui-space-medium)}
.notes-detail-description h2{margin:var(--ui-secondary-space-double-medium) 0 var(--ui-space-medium);font-size:var(--ui-font-heading);line-height:var(--ui-line-editor)}
.notes-detail-description ul,.notes-detail-description ol{white-space:normal;margin:var(--ui-space-medium) 0;padding-left:var(--ui-secondary-space-double-large)}
.notes-detail-description a{color:#8b455b;text-decoration:underline;overflow-wrap:anywhere}
.notes-detail-description code{font-family:var(--ui-font-monospace);font-size:var(--ui-font-small);background:#f2f0ec;padding:var(--ui-secondary-space-hairline) var(--ui-space-small);border-radius:var(--ui-secondary-radius-3)}
.notes-rich-code{margin:var(--ui-space-large) 0;border:var(--ui-border-width) solid #ddd8cf;border-radius:var(--ui-secondary-radius-7);background:#faf9f5;white-space:normal}
.notes-rich-code summary{padding:var(--ui-secondary-space-medium-tight) var(--ui-secondary-space-medium-plus);cursor:pointer;font-size:var(--ui-font-label);color:#696359}
.notes-rich-code pre{overflow-x:auto;margin:0;padding:var(--ui-secondary-space-medium-plus);white-space:pre}
.notes-rich-code pre code{background:transparent;padding:0}
.notes-rich-image{display:block;max-width:100%;height:auto;max-height:var(--ui-note-span-360);object-fit:contain;margin:var(--ui-secondary-space-medium-plus) 0;border-radius:var(--ui-secondary-radius-6)}
.frame .notes-detail .notes-delete-confirm{border:var(--ui-border-width) solid #dcb0a3;border-radius:var(--ui-secondary-radius-7);color:#863d35;background:#fff0e9}
.frame .notes-detail .notes-frequency .notes-interval{min-width:0}
.frame .notes-detail .notes-date-fields select{padding-left:var(--ui-secondary-space-compact);padding-right:var(--ui-secondary-space-hairline);min-width:0}
.notes-detail-description ul{list-style:disc outside}
.notes-detail-description ol{list-style:decimal outside}
.frame .notes-detail .notes-rich-toolbar{overflow-x:auto;overscroll-behavior-inline:contain;scrollbar-width:thin}
.frame .notes-calendar-filter{--category-ink:#625a4b;--category-bg:#f2ede2;--category-line:#b9ac90;color:var(--category-ink);border-color:var(--category-line);background:#fff}
.frame .notes-calendar-filter[aria-pressed=true]{color:var(--category-ink);background:var(--category-bg);border-color:var(--category-line)}
.frame .notes-calendar-filter[aria-pressed=false]{color:#8c877e;border-color:#e0ddd7;background:#fff}
.frame .notes-calendar-filter[data-reference-filter=all]{font-weight:650}
.frame .notes-calendar-filter[data-reference-filter=switzerland],.frame .notes-reference[data-reference-category=switzerland]{--category-ink:#994f51;--category-bg:#f9e4e3;--category-line:#dcb1af}
.frame .notes-calendar-filter[data-reference-filter=lebanon],.frame .notes-reference[data-reference-category=lebanon]{--category-ink:#496f54;--category-bg:#e6f0df;--category-line:#abc7a0}
.frame .notes-calendar-filter[data-reference-filter=france],.frame .notes-reference[data-reference-category=france]{--category-ink:#496d98;--category-bg:#e6eefb;--category-line:#aec1df}
.frame .notes-calendar-filter[data-reference-filter=season],.frame .notes-reference[data-reference-category=season]{--category-ink:#876321;--category-bg:#fff0cb;--category-line:#d9bf7b}
.frame .notes-calendar-filter[data-reference-filter=christian],.frame .notes-reference[data-reference-category=christian]{--category-ink:#91576d;--category-bg:#f7e4ed;--category-line:#d8adc2}
.frame .notes-calendar-filter[data-reference-filter=muslim],.frame .notes-reference[data-reference-category=muslim]{--category-ink:#37766f;--category-bg:#e1f2ee;--category-line:#9dcfc4}
.frame .notes-detail .notes-date-fields{grid-template-columns:var(--ui-layout-wawarx)}
.frame .notes-detail .notes-timing{grid-template-columns:var(--ui-layout-xyaahw);gap:var(--ui-secondary-space-double-medium)}
.frame .notes-detail .notes-schedule-fields{gap:var(--ui-secondary-space-comfortable) var(--ui-space-medium);align-items:center}
.frame .notes-detail .notes-frequency{display:flex;flex:0 1 auto;align-items:center;gap:var(--ui-space-small);min-width:0;font-size:var(--ui-font-caption)}
.frame .notes-detail .notes-frequency > span{flex:none}
.frame .notes-detail .notes-frequency .notes-interval{flex:0 0 var(--ui-secondary-control-size);width:var(--ui-secondary-control-size);min-height:var(--ui-note-span-29);padding:var(--ui-secondary-space-fine) var(--ui-secondary-space-hairline);font-size:var(--ui-font-caption)}
.frame .notes-detail .notes-frequency .notes-repeat{flex:0 1 auto;min-width:var(--ui-notes-repeat-min-width);max-width:100%;min-height:var(--ui-note-span-29);padding:var(--ui-secondary-space-fine) var(--ui-secondary-space-hairline) var(--ui-secondary-space-fine) var(--ui-space-small);font-size:var(--ui-font-caption)}
.frame .notes-header .notes-selection-actions .notes-remove.is-deleting:enabled{color:#ad3735;border-color:#be6c58;background:#fff0e5}
.frame .notes-reference[data-reference-category]{color:var(--category-ink,#666b78);background:var(--category-bg,#f7f7f7)}
.frame .notes-calendar-filter{display:inline-flex;align-items:center;justify-content:center}
.notes-category-icon{display:inline-block;flex:none;width:var(--ui-note-span-17);height:var(--ui-note-span-17);fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;vertical-align:middle}
.notes-category-flag{width:auto;height:auto;min-width:var(--ui-note-span-17);font-size:var(--ui-font-small);line-height:var(--ui-line-tight)}
.frame .notes-month-grid{box-sizing:border-box}
.frame .notes-month-grid > .notes-weekday{margin:0}
.frame .notes-month-day,.frame .notes-month-day:nth-child(7n){box-shadow:none}
.frame .notes-month-blank{min-height:100%}
.frame .notes-reference{display:flex;align-items:flex-start;gap:var(--ui-secondary-space-compact)}
.frame .notes-reference[data-tradition=saint]{padding:var(--ui-secondary-space-compact) var(--ui-space-small)}
.frame .notes-reference-label{min-width:0;overflow-wrap:anywhere}
.frame .notes-reference-caveat{flex-basis:100%}
.frame .notes-reference:has(.notes-reference-caveat){flex-wrap:wrap}
.frame .notes-reference:has(.notes-reference-caveat) .notes-reference-label{flex:1}
.frame .notes-day-sky .notes-reference{align-items:center;justify-content:center;flex-wrap:wrap;gap:0 var(--ui-secondary-space-compact);padding:var(--ui-secondary-space-hairline) var(--ui-secondary-space-compact)}
.notes-moon-icon{width:var(--ui-note-span-28);height:var(--ui-note-span-28);display:block;flex:none;overflow:visible}
.frame .notes-sky-label{display:inline;font-size:var(--ui-font-caption);font-weight:600;white-space:nowrap}
.frame .notes-workspace.is-frozen,html[data-display=paper] .frame .notes-workspace,html[data-display=paper] .frame .notes-workspace.is-frozen{--notes-leaf:#fffbed}
.frame .notes-workspace .notes-detail,.frame .notes-workspace.is-frozen .notes-detail{background:var(--notes-leaf);border-color:#e9e0bf}
.frame .notes-detail .notes-form .notes-description{background:#fffdf5}
.frame .notes-workspace .notes-row-summary,.frame .notes-workspace .notes-row.is-sticky .notes-row-summary{background:#fffbed;border-color:#e9e0bf}
.frame .notes-workspace .notes-row.is-selected .notes-row-summary{border-color:var(--rose)}
.notes-detail-text{position:relative}
.notes-detail-pin{display:block;position:absolute;top:calc(var(--ui-secondary-space-ratio-8) * -1);right:calc(var(--ui-secondary-space-ratio-8) * -1);width:var(--ui-secondary-control-large);height:var(--ui-secondary-control-large);pointer-events:none}
.notes-detail-pin .notes-tool-icon{width:var(--ui-secondary-control-large);height:var(--ui-secondary-control-large)}
.notes-detail-pin[hidden]{display:none}
.notes-detail-pin:not([hidden]) ~ .notes-detail-title{padding-right:var(--ui-secondary-space-ratio-50);min-height:var(--ui-note-span-38)}
.frame .notes-list-pages{box-sizing:border-box;width:100%}
.frame .notes-list-pages .notes-later,.frame .notes-list-pages .notes-back-top{margin:0;border-radius:var(--ui-secondary-radius-9);font-size:var(--ui-font-label);line-height:var(--ui-line-editor)}
.frame .notes-detail .notes-delete-confirm{padding:var(--ui-space-large)}
.frame .notes-detail .notes-delete-confirm button{min-height:var(--ui-note-span-40);padding:var(--ui-secondary-space-medium-tight) var(--ui-secondary-space-medium-plus)}
.frame .notes-page-status{text-align:center;color:var(--ink-soft);font-size:var(--ui-font-caption);font-variant-numeric:tabular-nums}
.frame .notes-panel > .notes-month-view,
.frame .notes-panel > .notes-header,
.frame .notes-panel > .notes-workspace{width:calc(100% - var(--ui-note-span-80));max-width:none;margin-left:var(--ui-secondary-space-five-medium);margin-right:var(--ui-secondary-space-five-medium)}
.frame .notes-workspace{grid-template-columns:var(--ui-layout-yafjkr);--notes-leaf:#fffdf4}
.frame .notes-workspace.is-frozen{--notes-leaf:#fff0ac}
html[data-display=paper] .frame .notes-workspace{--notes-leaf:#fffdf4}
html[data-display=paper] .frame .notes-workspace.is-frozen{--notes-leaf:#fff0ac}
.frame .notes-workspace .notes-row-summary{background:#fffdf4}
.frame .notes-workspace .notes-row.is-sticky .notes-row-summary{background:#fff0ac;border-color:#d6b75a}
.frame .notes-workspace .notes-row.is-sticky .notes-row-copy::after{content:'Épinglé';color:#786021;font-size:var(--ui-font-caption)}
.frame .notes-workspace.is-frozen .notes-detail{border-color:#d6b75a}
.frame .notes-header .notes-selection-actions .notes-freeze{background:#fffdf4}
.frame .notes-header .notes-selection-actions .notes-freeze[aria-pressed=true]{background:#fff0ac;border-color:#d6b75a;color:#786021}
.frame .notes-header .notes-selection-actions .notes-freeze .notes-tool-icon{width:var(--ui-note-span-25);height:var(--ui-note-span-25);stroke-width:2}
.notes-detail-pin{transform:rotate(22deg);color:#9c7a27}
.notes-detail-pin .notes-tool-icon{stroke-width:2}
.frame .notes-list-pages{grid-column:1 / -1;display:flex;flex-wrap:nowrap;align-items:center;justify-content:flex-start;gap:var(--ui-space-large);padding:var(--ui-space-small) 0 0}
.frame .notes-list-pages .notes-page-status{flex:none;white-space:nowrap}
.frame .notes-list-pages .notes-later,.frame .notes-list-pages .notes-back-top{flex:0 1 auto;width:auto;min-height:var(--ui-note-span-38);padding:var(--ui-secondary-space-comfortable) var(--ui-space-large);white-space:nowrap}
.frame .notes-header .notes-selection-actions .notes-ok{font-size:var(--ui-font-small);font-weight:800;letter-spacing:var(--ui-notes-action-tracking);line-height:var(--ui-line-tight)}
.frame .notes-header .notes-selection-actions .is-validating:enabled{color:#24713e;border-color:#428755;background:#edf8ec}
.frame .notes-header .notes-selection-actions .notes-remove.is-deleting:enabled,.frame .notes-confirm-remove{color:#b22d2d;border-color:#b22d2d;background:#fff0eb;font-weight:800}
.frame .notes-month-view{gap:var(--ui-secondary-space-medium-plus) var(--ui-secondary-space-section);padding:var(--ui-space-large);border-radius:var(--ui-secondary-radius-16)}
.frame .notes-month-view > .notes-calendar-filters{flex:1 1 auto;align-self:center;align-items:center;min-height:var(--ui-note-span-46)}
.frame .notes-month-view .notes-calendar-filter{min-height:var(--ui-tag-height);padding:var(--ui-space-small) var(--ui-secondary-space-comfortable);font-size:var(--ui-font-caption)}
.frame .notes-calendar-filter[data-reference-filter=all]{--category-ink:#86552f;--category-bg:#ffebd2;--category-line:#d6a477}
.frame .notes-calendar-filter[data-reference-filter=saint],.frame .notes-reference[data-reference-category=saint]{--category-ink:#68517e;--category-bg:#eee5f5;--category-line:#c3b0d6}
.frame .notes-month-grid > .notes-weekday{font-size:var(--ui-font-heading);text-transform:none;padding:var(--ui-space-medium) var(--ui-secondary-space-fine);text-align:center}
.frame .notes-month-day,.frame .notes-month-day:nth-child(7n){border:var(--ui-border-width) solid #d6d2dc;border-radius:var(--ui-secondary-radius-10);padding:var(--ui-secondary-space-small-plus)}
.frame .notes-month-blank{border:var(--ui-border-width) solid #e8e4eb;border-radius:var(--ui-secondary-radius-10)}
.frame .notes-month-number{display:inline-flex;align-items:center;justify-content:center;font-size:var(--ui-font-heading);line-height:var(--ui-line-tight);margin:0}
.frame .is-today .notes-month-number{border-radius:50%}
.frame .notes-day-sky{margin-left:auto;flex:none}
.frame .notes-calendar-coverage,.frame .notes-calendar-sources{flex-basis:100%;margin:0;font-size:var(--ui-font-caption);line-height:var(--ui-line-body);color:#79717e}
.frame .notes-calendar-sources{display:flex;flex-wrap:wrap;gap:var(--ui-space-small) var(--ui-space-large)}
.frame .notes-panel > .notes-notebook{border:var(--ui-secondary-border-2) solid var(--ink);border-radius:var(--ui-secondary-radius-8);overflow:hidden;background:var(--card)}
.frame .notes-notebook .notes-header{display:flex;flex:1 1 100%;align-items:center;justify-content:space-between;flex-wrap:nowrap;width:100%;min-width:0;margin:0;padding:0;gap:var(--ui-secondary-space-section);overflow-x:auto;scrollbar-width:thin}
.frame .notes-notebook > .notes-workspace{width:100%;max-width:none;margin:0;padding:var(--ui-secondary-space-large-plus);box-sizing:border-box}
.frame .notes-notebook > .notes-list-pages{display:flex;width:100%;margin:0;gap:var(--ui-space-medium)}
.frame .notes-notebook .notes-workspace .notes-detail{max-height:none}
.frame .notes-notebook .notes-detail .notes-form .notes-description{height:var(--ui-note-span-640);min-height:var(--ui-note-span-640)}
.frame .notes-notebook > .notes-status{margin:0;padding:var(--ui-secondary-space-medium-plus) var(--ui-secondary-space-large-plus)}
.frame .notes-month-grid{gap:var(--ui-secondary-space-hairline);border:var(--ui-border-width) solid #c6c3ce;border-radius:var(--ui-secondary-radius-12);overflow:hidden;background:#c6c3ce}
.frame .notes-month-day,.frame .notes-month-day:nth-child(7n),.frame .notes-month-blank{border:0;border-radius:0;box-shadow:none}
.frame .notes-month-day{position:relative;padding:var(--ui-secondary-space-small-plus)}
.frame .notes-day-heading{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-start;gap:0}
.frame .notes-day-date-sky{display:inline-flex;align-items:center;gap:0;flex:none}
.frame .notes-month-number{width:var(--ui-note-span-34);min-width:var(--ui-note-span-34);height:var(--ui-note-span-34);color:#74717a}
.frame .is-today .notes-month-number{color:#74717a;border:var(--ui-secondary-border-3) solid #be3948;background:transparent}
.frame .notes-month-grid .notes-day-sky{display:inline-flex;flex-direction:row;flex-basis:auto;align-items:center;gap:0;margin:0}
.frame .notes-month-grid .notes-day-sky .notes-reference{display:inline-flex;flex:none;width:auto;margin:0;padding:0;border:0;border-radius:0;background:transparent;opacity:1}
.frame .notes-calendar-filter[data-reference-filter=moon],.frame .notes-reference[data-reference-category=moon]{--category-ink:#2d7183;--category-bg:#e1f1f4;--category-line:#9dbdc6;color:var(--category-ink)}
.frame .notes-day-sky .notes-season-marker .notes-category-icon{width:var(--ui-note-span-18);height:var(--ui-secondary-icon-compact)}
.frame .notes-saint-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.frame .notes-month-grid .notes-reference-event{display:block;min-width:0;padding:0}
.frame .notes-reference-event > summary{display:flex;align-items:center;gap:var(--ui-secondary-space-compact);padding:var(--ui-secondary-space-compact) var(--ui-space-small);cursor:pointer;list-style:none;font-size:var(--ui-font-caption);line-height:var(--ui-line-editor)}
.frame .notes-reference-event > summary::-webkit-details-marker{display:none}
.frame .notes-reference-event-name{flex:1 1 0;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.frame .notes-reference-event-plus{flex:none;font-size:var(--ui-font-small);font-weight:700}
.frame .notes-reference-event[open] > summary .notes-reference-event-plus{font-size:0}
.frame .notes-reference-event[open] > summary .notes-reference-event-plus::after{content:'−';font-size:var(--ui-font-small)}
.frame .notes-reference-information{padding:var(--ui-secondary-space-compact) var(--ui-secondary-space-small-plus) var(--ui-secondary-space-comfortable);font-size:var(--ui-font-caption);line-height:var(--ui-line-editor);overflow-wrap:anywhere}
.frame .notes-reference-information p{margin:0 0 var(--ui-secondary-space-small-plus)}
.frame .notes-reference-information .notes-reference-source{display:block;margin-bottom:var(--ui-secondary-space-small-plus);color:inherit;text-decoration:underline}
.frame .notes-panel > .planning-agenda-schedule{width:calc(100% - var(--ui-note-span-40));max-width:var(--ui-note-span-960);margin:0 auto var(--ui-secondary-space-section-plus);padding:0}
.frame .notes-panel > .notes-notebook{width:calc(100% - var(--ui-note-span-40));max-width:var(--ui-note-span-960);margin:0 auto}
.frame .notes-notebook > .notes-header{box-sizing:border-box;border-top:var(--ui-border-width) solid var(--line-soft);border-bottom:var(--ui-border-width) solid var(--line-soft)}
.frame .notes-notebook .notes-header .notes-type-filters{overflow-x:auto}
.frame .notes-notebook .notes-header>.notes-archive-toggle{display:grid;place-items:center;width:var(--ui-secondary-control-size);height:var(--ui-secondary-control-size);padding:var(--ui-space-small);flex:none}
.frame .notes-header .notes-edit .notes-tool-icon{width:var(--ui-note-span-25);height:var(--ui-note-span-25)}
.frame .notes-workspace .notes-row-copy{display:flex;flex-wrap:wrap;gap:var(--ui-space-small) var(--ui-space-medium)}
.frame .notes-workspace .notes-date{flex:1 1 100%;font-size:var(--ui-font-caption)}
.frame .notes-workspace .notes-text{flex:1 1 auto;min-width:0}
.frame .notes-workspace .notes-hour:not([hidden]){display:inline;font-size:var(--ui-font-caption);white-space:nowrap}
.frame .notes-panel > :is(.notes-month-view,.planning-agenda-schedule,.notes-notebook){box-sizing:border-box;width:calc(100% - var(--ui-note-span-40));max-width:none;margin-left:var(--ui-secondary-space-section-plus);margin-right:var(--ui-secondary-space-section-plus)}
.frame .notes-person-filter,.frame .notes-person-link{display:flex;flex-direction:column;align-items:center;gap:var(--ui-space-small);min-width:var(--ui-note-span-50);padding:var(--ui-space-small);border:0;background:transparent;color:var(--person-ink)}
.frame .notes-person-initial{display:grid;place-items:center;width:var(--ui-note-span-35);height:var(--ui-note-span-35);box-sizing:border-box;border:var(--ui-border-width) solid var(--person-ink);border-radius:50%;font-size:var(--ui-font-heading);font-weight:700;background:var(--person-fill)}
.frame .notes-person-name{font-size:var(--ui-font-caption);white-space:nowrap}
.frame .notes-person-filter[aria-pressed=false] .notes-person-initial,.frame .notes-person-link[aria-pressed=false] .notes-person-initial{background:var(--paper);opacity:.4}
.frame .notes-links{min-width:0;margin:var(--ui-space-large) 0;padding:var(--ui-secondary-space-medium-plus);border:var(--ui-border-width) solid var(--line-soft);border-radius:var(--ui-secondary-radius-8)}
.frame .notes-linked-people{display:flex;gap:var(--ui-secondary-space-comfortable);flex-wrap:wrap;margin-bottom:var(--ui-secondary-space-medium-plus)}
.frame .notes-linked-event{max-width:100%;min-height:var(--ui-note-span-34)}
.frame .notes-selection-actions .notes-archive-toggle{display:grid;place-items:center;flex:none;width:var(--ui-secondary-control-size);height:var(--ui-secondary-control-size);min-width:var(--ui-secondary-control-size);padding:var(--ui-space-small)}
.frame .notes-header .notes-page-status{grid-column:2;grid-row:1;margin:0;white-space:nowrap;font-size:var(--ui-font-label)}
.frame .notes-notebook > .notes-list-pages{flex-wrap:nowrap;align-items:center;justify-content:space-between;padding:0 var(--ui-secondary-space-large-plus) var(--ui-space-large)}
.frame .notes-notebook .notes-list-pages button{white-space:nowrap}
.frame .notes-notebook .notes-workspace .notes-detail{min-height:var(--ui-note-span-500)}
.frame .notes-month-view > .notes-calendar-filters{justify-content:center;gap:var(--ui-secondary-space-medium-tight)}
.frame .notes-calendar-filter{flex-direction:column;gap:var(--ui-secondary-space-compact)}
.frame .notes-calendar-filter .notes-category-icon{stroke-width:1.8;fill:none}
.frame .notes-calendar-filter[data-reference-filter=moon] .notes-category-icon{stroke-width:.8}
.frame .notes-month-grid > .notes-weekday{font-weight:750;background:#f4f3f5}
.frame .notes-month-day,.frame .notes-month-day:nth-child(7n){background:#f8f7f9}
.frame .notes-month-blank{background:#dfdde1}
.frame .notes-month-number{font-weight:800}
.frame .notes-month-grid .notes-day-sky .notes-moon-icon{width:var(--ui-note-span-21);height:var(--ui-note-span-25)}
.frame .notes-day-sky .notes-season-daily{display:inline-flex;align-items:center;justify-content:center;width:var(--ui-note-span-23);height:var(--ui-note-span-25);font-size:var(--ui-font-heading)}
.frame .notes-saints{display:flex;flex-direction:column;flex:1 1 100%;gap:var(--ui-secondary-space-hairline);margin:var(--ui-secondary-space-hairline) 0 var(--ui-secondary-space-compact);min-width:0}
.frame .notes-month-grid .notes-saints .notes-reference{display:block;border:0;padding:0;margin:0;background:transparent;font-size:var(--ui-font-caption);line-height:var(--ui-line-label);color:#695976;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.frame .notes-saints .notes-reference-label{display:inline}
.frame .notes-past-version{margin:var(--ui-space-medium) 0;border-top:var(--ui-border-width) solid var(--line-soft);padding:var(--ui-space-medium);font-size:var(--ui-font-caption)}
.frame .notes-past-version summary{cursor:pointer}
.frame .notes-past-version-content{padding-top:var(--ui-space-medium);white-space:pre-wrap}
.frame .planning-unavailability .planning-calendar-event.is-unavailability,
.frame .planning-unavailability .planning-calendar-event.is-unavailability:disabled,
html[data-display=paper] .frame .planning-unavailability .planning-calendar-event.is-unavailability{opacity:1;background:var(--planning-person-fill);border-color:var(--planning-person-color);color:var(--planning-person-color)}
.frame .planning-unavailability-icon{width:var(--ui-note-span-17);height:var(--ui-note-span-17);fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}
.frame .planning-unavailability :is(.planning-add,.planning-slot,.planning-saved-slot){display:grid;grid-template-columns:var(--ui-layout-wwttyg);align-items:center;gap:var(--ui-space-medium);width:100%}
.frame .planning-unavailability .planning-add :is(.planning-day,.planning-clock-parts){width:100%;justify-content:center}
.frame .planning-unavailability .planning-person-editor :is(.planning-person-add,.planning-slot-delete,.planning-slot-delete.is-confirming){box-sizing:border-box;width:var(--ui-secondary-icon-large);height:var(--ui-secondary-icon-large);min-width:var(--ui-secondary-icon-large);min-height:var(--ui-secondary-icon-large);margin:0;padding:0;border:var(--ui-border-width) solid currentColor;border-radius:50%}
.frame .planning-unavailability .planning-person-editor .planning-person-add{color:#328145;background:#f0f8f0}
.frame .planning-unavailability .planning-person-editor .planning-slot-delete{color:#bc3b43;background:#fff0f1}
.frame .planning-unavailability .planning-person-editor .planning-slot-delete.is-confirming{padding:var(--ui-space-small)}
.frame .planning-unavailability .planning-day-tab :is(.planning-shared-day-name,.planning-shared-day-short,.planning-day-date){font-weight:750}
.frame .notes-notebook > .notes-header{display:grid;grid-template-columns:var(--ui-layout-single-column);gap:var(--ui-secondary-space-medium-plus);align-items:center;padding:var(--ui-secondary-space-medium-plus) var(--ui-space-large);overflow:visible}
.frame .notes-notebook .notes-header .notes-type-filters{display:flex;grid-column:1;grid-row:1;flex-wrap:wrap;align-items:center;justify-content:center;gap:var(--ui-secondary-space-medium-tight);width:100%;min-width:0;overflow:visible;padding:0}
.frame .notes-type-group{display:flex;flex-wrap:wrap;align-items:center;gap:var(--ui-secondary-space-compact);max-width:100%;padding:var(--ui-space-small);border:var(--ui-border-width) solid var(--note-category-line,#bfb1c4);border-radius:var(--ui-secondary-radius-9);background:var(--note-category-fill,#f1eaf4);color:var(--note-category-ink,#685175)}
.frame .notes-type-group[data-note-category=animaux]{--note-category-ink:#387449;--note-category-fill:#edf6ec;--note-category-line:#adc7ac}
.frame .notes-type-group[data-note-category=fetes]{--note-category-ink:#98434f;--note-category-fill:#fff0f0;--note-category-line:#d5a5ab}
.frame .notes-type-group[data-note-category=quotidien]{--note-category-ink:#745b24;--note-category-fill:#fff7de;--note-category-line:#d1be82}
.frame .notes-type-group[data-note-category=sante]{--note-category-ink:#287880;--note-category-fill:#e8f5f5;--note-category-line:#9bc9cc}
.frame .notes-type-group[data-note-category=voiture]{--note-category-ink:#4f60a0;--note-category-fill:#eef0fb;--note-category-line:#afb8db}
.frame .notes-notebook .notes-header .notes-type-filter{display:grid;place-items:center;flex:0 0 var(--ui-button-height);width:var(--ui-button-height);height:var(--ui-button-height);min-height:var(--ui-button-height);padding:var(--ui-secondary-space-compact);border:var(--ui-border-width) solid transparent;border-radius:var(--ui-secondary-radius-6);background:transparent;color:var(--note-category-ink,#685175)}
.frame .notes-notebook .notes-header .notes-type-filter .notes-icon-image{width:var(--ui-secondary-control-size);height:var(--ui-secondary-control-size);color:inherit}
.frame .notes-notebook .notes-header .notes-type-filter[aria-pressed=true]{border-color:currentColor;background:var(--card);box-shadow:inset 0 0 0 var(--ui-secondary-space-hairline) currentColor}
.frame .notes-notebook .notes-header .notes-selection-actions{display:flex;grid-column:1;grid-row:2;justify-self:center;justify-content:center;align-items:center;flex-wrap:nowrap;gap:var(--ui-secondary-space-medium-tight);width:auto;padding:0}
.frame .notes-notebook .notes-header .notes-selection-actions button{display:grid;place-items:center;flex:0 0 var(--ui-button-height);width:var(--ui-button-height);height:var(--ui-button-height);min-width:var(--ui-button-height);min-height:var(--ui-button-height);padding:var(--ui-secondary-space-small-plus)}
.frame .notes-notebook .notes-header .notes-selection-actions .notes-add{color:#377746;background:#edf6ec;border-color:#adc7ac}
.frame .notes-notebook .notes-header .notes-selection-actions .notes-edit{color:#795128;background:#fff5e4;border-color:#cfb58d}
.frame .notes-notebook .notes-header .notes-selection-actions .notes-remove{color:#aa3a48;background:#fff0f0;border-color:#d5a5ab}
.frame .notes-notebook .notes-header .notes-selection-actions .notes-freeze{color:#806815;background:#fff7d5;border-color:#d5c37e}
.frame .notes-notebook .notes-header .notes-selection-actions .notes-archive-toggle{color:#546ca0;background:#eef1fb;border-color:#afb8db}
.frame .notes-notebook .notes-header .notes-selection-actions button:disabled{color:#96918b;background:#f2f0eb;border-color:#e0ddd7;opacity:.65}
.frame .notes-notebook .notes-header .notes-selection-actions .is-validating:enabled{color:#24713e;border-color:#428755;background:#edf8ec}
.frame .notes-notebook .notes-header .notes-tool-icon{width:var(--ui-secondary-icon-large);height:var(--ui-secondary-icon-large);stroke-width:1.8}
.frame .notes-notebook .notes-list-pages{display:flex;justify-content:flex-start;align-items:center;flex-wrap:nowrap;gap:var(--ui-secondary-space-comfortable);margin-top:var(--ui-secondary-space-medium-loose)}
.frame .notes-notebook .notes-list-pages button{display:grid;place-items:center;flex:0 0 var(--ui-note-span-38);width:var(--ui-note-span-38);min-width:var(--ui-note-span-38);height:var(--ui-note-span-38);min-height:var(--ui-note-span-38);padding:var(--ui-secondary-space-small-plus);margin:0}
.frame .notes-notebook .notes-list-pages .notes-page-status{flex:0 0 var(--ui-note-span-28);text-align:center;font-size:var(--ui-font-body);font-weight:700;font-variant-numeric:tabular-nums}
.frame .notes-notebook .notes-list-pages .notes-back-top{margin-left:auto}
.frame .notes-notebook .notes-list-pages .notes-tool-icon{width:var(--ui-tag-icon);height:var(--ui-tag-icon)}
html .frame .notes-notebook .notes-sidebar>.notes-list-pages{align-items:center}
html .frame .notes-notebook .notes-sidebar>.notes-list-pages button{flex:0 0 var(--ui-note-span-38);width:var(--ui-note-span-38);min-width:var(--ui-note-span-38);min-height:var(--ui-note-span-38);padding:var(--ui-secondary-space-small-plus)}
html .frame .notes-notebook .notes-header{align-items:flex-start;justify-content:space-between}
html .frame .notes-notebook .notes-header .notes-selection-actions{display:flex;margin-left:auto;gap:var(--ui-secondary-space-comfortable)}
html .frame .notes-notebook .notes-header .notes-type-filter,html .frame .notes-icon-choice,.frame .notes-note-category-filter{display:flex;flex-direction:column;justify-content:flex-start;align-items:center;height:auto;min-height:var(--ui-note-span-58);width:var(--ui-note-span-58);flex:0 0 var(--ui-note-span-58);padding:var(--ui-secondary-space-compact);color:var(--note-category-ink,var(--ink));gap:var(--ui-secondary-space-compact)}
.frame .notes-icon-label{font-size:var(--ui-font-caption);line-height:var(--ui-line-compact);text-align:center;color:inherit}
html .frame .notes-type-filter .notes-icon-image,.frame .notes-note-category-filter .notes-icon-image{width:var(--ui-note-span-35);height:var(--ui-note-span-35);color:inherit}
.frame .notes-calendar-filters{flex-wrap:wrap}
html .frame .notes-notebook .notes-sidebar>.notes-list-pages{gap:var(--ui-secondary-space-compact)}
html .frame .notes-notebook .notes-sidebar>.notes-list-pages .notes-back-top{margin-left:0}
html .frame .notes-notebook .notes-list-pages .notes-page-status{flex:1 1 auto;min-width:var(--ui-note-span-58);white-space:nowrap}
.frame .notes-notebook-heading>.notes-tool-icon{width:var(--ui-tag-icon);height:var(--ui-tag-icon);flex:none;margin-right:var(--ui-secondary-space-comfortable);fill:none;stroke:currentColor;stroke-width:1.7}
.frame .notes-day-temperatures{display:flex;align-items:baseline;justify-content:center;gap:var(--ui-space-small);font-variant-numeric:tabular-nums;font-size:var(--ui-font-caption);white-space:nowrap}
.frame .notes-temperature-unit{font-size:var(--ui-font-caption);color:var(--ink)}
.frame .notes-temperature-high{font-weight:750;color:#b33438}
.frame .notes-temperature-low{font-weight:750;color:#2867a2}
.frame .notes-month-meeting{display:flex;align-items:center;gap:var(--ui-secondary-space-compact);width:100%;border:var(--ui-border-width) solid var(--rose);border-radius:var(--ui-secondary-radius-4);background:var(--paper);color:var(--ink);font-size:var(--ui-font-caption)}
.frame .notes-month-meeting svg{width:var(--ui-note-span-17);height:var(--ui-note-span-17);flex:none}
html .frame .planning-unavailability .planning-add{grid-template-columns:var(--ui-layout-jrrgry)}
html .frame .planning-unavailability :is(.planning-slot,.planning-saved-slot){grid-template-columns:var(--ui-layout-wtghrt)}
.frame .planning-location-field select{width:100%}
.frame .planning-slot-location{font-size:var(--ui-font-title);line-height:var(--ui-line-tight);color:var(--planning-person-color,var(--rose))}
.frame .notes-calendar-filter[data-reference-filter=religion]{--category-ink:#79654e;--category-bg:#f1e9df;--category-line:#cebaa2}
.frame .notes-calendar-filter[data-reference-filter=countries]{--category-ink:#496d98;--category-bg:#e6eefb;--category-line:#aec1df}
.frame .notes-calendar-country-controls{display:inline-flex;align-items:stretch;gap:var(--ui-secondary-space-fine)}
.frame .notes-calendar-country-picker{min-width:var(--ui-note-span-25);min-height:var(--ui-tag-height);padding:var(--ui-secondary-space-compact);border:var(--ui-border-width) solid #aec1df;border-radius:var(--ui-secondary-radius-5);background:var(--paper);color:#496d98;font-size:var(--ui-font-heading);line-height:var(--ui-line-tight)}
.frame .notes-calendar-country-picker[aria-expanded=true]{background:#e6eefb}
.frame .notes-calendar-countries{display:flex;flex:1 1 100%;flex-wrap:wrap;justify-content:center;gap:var(--ui-secondary-space-small-plus);padding:var(--ui-space-medium);border:var(--ui-border-width) solid #d9d5cb;border-radius:var(--ui-secondary-radius-5);background:var(--paper)}
.frame .notes-calendar-countries[hidden]{display:none}
.frame .notes-calendar-country{display:flex;flex-direction:column;align-items:center;gap:var(--ui-secondary-space-compact);flex:0 1 var(--ui-note-span-76);min-width:var(--ui-note-span-66);min-height:var(--ui-note-span-58);padding:var(--ui-secondary-space-small-plus);border:var(--ui-border-width) solid #d9d5cb;border-radius:var(--ui-secondary-radius-5);background:#fff;color:#746e63;font-size:var(--ui-font-caption);line-height:var(--ui-line-compact)}
.frame .notes-calendar-country[aria-pressed=true]{border-color:#aec1df;background:#e6eefb;color:#496d98}
.frame .notes-calendar-country>svg,.frame .notes-calendar-country>img,.frame .notes-calendar-country>span.notes-category-flag{width:var(--ui-note-span-26);height:var(--ui-note-span-26);object-fit:contain;font-size:var(--ui-font-heading)}
.frame .notes-calendar-filter[data-reference-filter=countries]>svg{width:var(--ui-tag-icon);height:var(--ui-tag-icon)}
.frame .notes-religion-symbol{font-family:var(--ui-font-serif);font-size:var(--ui-font-heading);line-height:var(--ui-line-tight)}
.frame .notes-reference-information>.notes-reference-source{display:block}
.frame .notes-weekday{text-decoration:none}
.frame .notes-weekday-short{display:none}
html .frame .notes-notebook .notes-header{display:flex;flex-wrap:wrap;gap:var(--ui-secondary-space-medium-plus)}
html .frame .notes-notebook .notes-header .notes-selection-actions{order:-1;flex:1 1 100%;width:100%;margin:0;justify-content:flex-start}
html .frame .notes-notebook .notes-header .notes-type-filters{display:grid;grid-template-columns:var(--ui-layout-axkjha);gap:var(--ui-secondary-space-small-plus);flex:1 1 100%;width:100%;justify-content:center}
html .frame .view[data-view=notes] .notes-notebook .notes-header .notes-type-filters>button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:var(--ui-space-small);width:100%;min-width:0;max-width:none;height:var(--ui-note-span-70);min-height:var(--ui-note-span-70);max-height:none;flex:none;padding:var(--ui-space-small) var(--ui-secondary-space-fine);font-size:var(--ui-font-caption);line-height:var(--ui-line-compact)}
html .frame .notes-notebook .notes-header .notes-type-filters>button>.notes-icon-image{width:var(--ui-secondary-control-size);height:var(--ui-secondary-control-size);max-width:100%;object-fit:contain;flex:none}
html .frame .notes-notebook .notes-sidebar>.notes-list-pages{justify-content:center}
html .frame .notes-notebook .notes-sidebar>.notes-list-pages .notes-page-status{flex:0 0 auto;min-width:var(--ui-note-span-65)}
html .frame .notes-panel>.notes-month-view{display:grid;grid-template-columns:var(--ui-layout-single-column);gap:0;padding:0;align-items:stretch}
html .frame .notes-calendar-heading>.notes-month-header{display:grid;grid-template-columns:var(--ui-calendar-heading-columns);justify-content:center;align-items:center;width:100%;margin:0}
html .frame .notes-month-view .notes-month-label{display:block;min-width:var(--ui-calendar-title-width);width:var(--ui-calendar-title-width);text-align:center;white-space:nowrap}
html .frame .notes-calendar-heading>.notes-calendar-filters{display:grid;grid-template-columns:var(--ui-layout-ywhrya);justify-content:center;align-items:stretch;margin:0;padding:0}
html .frame .notes-month-view>.notes-month-grid{width:100%;margin:0}
html .frame .notes-reference-event>summary{display:flex;align-items:center;gap:var(--ui-secondary-space-compact);flex-wrap:nowrap}
html .frame .notes-reference-event-name{display:block;flex:1 1 0;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;order:0;font-size:var(--ui-font-caption);line-height:var(--ui-line-compact)}
html .frame .notes-reference-event-plus{flex:none;margin-left:auto}
html .frame .notes-notebook[hidden]{display:none!important}
html .frame .notes-audio-icon,html .frame .notes-audio-icon svg{display:block;width:var(--ui-note-span-26);height:var(--ui-note-span-26)}
html .frame .notes-audio-add{color:#598b9a}
html .frame .notes-audio-add.is-recording{color:#c3313b;animation:notes-recording-pulse 1s ease-in-out infinite}
html .frame :is(.notes-audio-preview,.notes-audio-player){display:block;width:100%;max-width:100%;margin:var(--ui-space-medium) 0}
html .frame .notes-audio-preview[hidden]{display:none}
html[data-display=paper] .frame .notes-audio-add.is-recording{animation:none}
html .frame .notes-calendar-filters>button[hidden]{display:none!important}
html .frame .notes-calendar-heading{min-width:0;border:var(--ui-border-width) solid #c6c3ce;border-bottom:0;border-radius:var(--ui-secondary-radius-12) var(--ui-secondary-radius-12) 0 0;background:#f5f3f6;overflow:hidden}
html .frame .notes-calendar-heading>.notes-month-header{box-sizing:border-box;min-height:var(--ui-button-height);border-bottom:var(--ui-border-width) solid #c6c3ce;padding:var(--ui-secondary-space-compact) 0}
html .frame .notes-calendar-heading>.notes-calendar-filters{width:100%;gap:0;border:0}
html .frame .notes-calendar-heading .notes-calendar-filter{height:var(--ui-note-span-62);min-height:var(--ui-note-span-62);border:0;border-right:var(--ui-border-width) solid #c6c3ce;border-radius:0;box-shadow:none}
html .frame .notes-calendar-heading .notes-calendar-filter:last-child{border-right:0}
html .frame .notes-calendar-heading .notes-calendar-filter .notes-icon-image{stroke-width:1.1}
html .frame .notes-calendar-heading .notes-calendar-filter>span:last-child{font-size:var(--ui-font-caption);line-height:var(--ui-line-compact);white-space:nowrap;letter-spacing:normal}
html .frame .notes-month-view>.notes-month-grid{border-top-left-radius:0;border-top-right-radius:0}
html .frame .notes-month-grid .notes-reference-event:not([data-tradition=civil]){background:transparent;border:0;box-shadow:none;color:var(--ink)}
html .frame .notes-month-grid .notes-reference-event>summary{flex-wrap:nowrap;min-width:0}
html .frame .notes-month-grid .notes-reference-event-name{flex:1 1 0;order:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html .frame .notes-month-grid .notes-reference-event>summary .notes-category-icon{flex:none}
html .frame .notes-month-grid .notes-day-date-sky{width:100%;justify-content:space-between}
html .frame .notes-month-grid .notes-day-sky{display:grid;grid-template-columns:var(--ui-secondary-icon-compact) var(--ui-tag-icon) var(--ui-note-span-20);gap:var(--ui-secondary-space-hairline);align-items:center}
html .frame .notes-day-sky>.notes-reference:not(.notes-season-marker){grid-column:1;grid-row:1}
html .frame .notes-day-sky>.notes-day-temperatures{grid-column:2;grid-row:1;display:grid;grid-template-columns:var(--ui-layout-single-column);grid-template-rows:var(--ui-layout-targjx);gap:0;margin:0;font-size:var(--ui-font-caption);text-align:center}
html .frame .notes-day-temperatures>.notes-temperature-high{grid-column:1;grid-row:1}
html .frame .notes-day-temperatures>.notes-temperature-low{grid-column:1;grid-row:2}
html .frame .notes-day-sky>.notes-season-marker{grid-column:3;grid-row:1}
html .frame .notes-month-grid .notes-reference-event>summary{justify-content:center;min-height:var(--ui-note-span-26);width:var(--ui-note-span-28);max-width:100%;margin:0;padding:var(--ui-secondary-space-compact);list-style:none;cursor:pointer}
html .frame .notes-reference-event>summary::-webkit-details-marker{display:none}
html .frame .notes-reference-event>summary::after{content:none}
html .frame .notes-reference-event>summary:focus-visible{outline:var(--ui-secondary-border-2) solid var(--ink);outline-offset:var(--ui-secondary-space-hairline)}
html .frame .notes-reference-event>summary .notes-category-icon{width:var(--ui-note-span-20);height:var(--ui-note-span-20)}
html .frame .notes-day-notes{margin:var(--ui-secondary-space-fine) 0;color:var(--ink)}
html .frame .notes-day-notes-list .notes-month-note{display:flex;align-items:center;gap:var(--ui-secondary-space-small-plus);width:100%;text-align:left;padding:var(--ui-secondary-space-small-plus);font-size:var(--ui-font-small)}
html .frame .notes-reference-source{display:block;text-decoration:underline;margin-top:var(--ui-space-small)}
html .frame .notes-month-grid{position:relative}
html .frame .notes-month-grid .notes-month-day{position:static}
html .frame .notes-month-grid .notes-reference-event[open]>.notes-reference-information{position:absolute;left:var(--ui-secondary-space-comfortable);right:var(--ui-secondary-space-comfortable);z-index:5;max-width:none;max-height:var(--ui-note-span-280);overflow:auto;padding:var(--ui-space-large);border:var(--ui-border-width) solid var(--line);border-radius:var(--ui-secondary-radius-6);background:var(--card);color:var(--ink);box-shadow:0 var(--ui-space-small) var(--ui-secondary-space-double-medium) #0002;font-size:var(--ui-font-small);line-height:var(--ui-line-body);text-align:left}
html .frame .notes-notebook .notes-detail .notes-form{gap:var(--ui-space-medium);padding:var(--ui-space-medium)}
html .frame .notes-notebook .notes-workspace.has-draft,html .frame .notes-notebook .notes-workspace.has-draft .notes-detail{min-height:0}
html .frame .notes-notebook .notes-detail .notes-form .notes-description{height:var(--ui-note-span-130);min-height:var(--ui-note-span-100);resize:vertical}
html .frame .notes-form .notes-field{gap:var(--ui-secondary-space-compact)}
html .frame .notes-form .notes-links{margin:0;padding:0;border:0}
html .frame .notes-form .notes-links>legend{display:none}
html .frame .notes-type-filters.is-choosing .notes-type-filter[aria-pressed=false]{background:transparent;box-shadow:none;opacity:.65}
html .frame .notes-type-filters.is-choosing .notes-type-filter[aria-pressed=true]{border-color:currentColor;box-shadow:inset 0 0 0 var(--ui-secondary-space-hairline) currentColor;opacity:1}
html .frame .notes-panel.is-dictating>:not(.notes-dictation-view){display:none!important}
html .frame .notes-dictation-view{max-width:var(--ui-note-span-620);margin:var(--ui-space-large) auto;padding:var(--ui-space-large) var(--ui-secondary-space-section)}
html .frame .notes-dictation-view[hidden],html .frame .notes-proposals[hidden]{display:none!important}
html .frame .notes-dictation-commands{display:flex;justify-content:space-between;gap:var(--ui-space-large)}
html .frame :is(.notes-dictation-commands,.notes-proposal-actions)>button{display:grid;place-items:center;width:var(--ui-note-span-42);height:var(--ui-secondary-control-size);padding:var(--ui-secondary-space-small-plus);border:var(--ui-border-width) solid var(--line);border-radius:var(--ui-secondary-radius-5);background:var(--card);font-size:var(--ui-font-title);line-height:var(--ui-line-tight)}
html .frame .notes-dictation-mic{display:grid;place-items:center;width:var(--ui-note-span-86);height:var(--ui-note-span-86);margin:var(--ui-secondary-space-section-plus) auto;padding:var(--ui-secondary-space-section);border:var(--ui-border-width) solid var(--line);border-radius:50%;background:var(--card)}
html .frame .notes-dictation-mic .notes-audio-icon,html .frame .notes-dictation-mic svg{width:var(--ui-secondary-control-large);height:var(--ui-secondary-control-large)}
html .frame .notes-dictation-mic.is-recording{color:#b4323d;border-color:currentColor;animation:notes-recording-pulse 1s ease-in-out infinite}
html .frame .notes-dictation-mic.is-recording svg *{stroke:currentColor}
html .frame .notes-dictation-instructions{font-size:var(--ui-font-small);line-height:var(--ui-line-body)}
html .frame .notes-dictation-instructions p{margin:0 0 var(--ui-space-large)}
html .frame .notes-dictation-service{font-size:var(--ui-font-label);color:var(--ink-soft)}
html .frame .notes-dictation-status{min-height:var(--ui-notes-status-height);font-size:var(--ui-font-small)}
html .frame .notes-proposals{display:grid;grid-template-columns:var(--ui-layout-kwrfxj);gap:var(--ui-space-medium);width:100%;padding:var(--ui-space-medium)}
html .frame .notes-proposal{min-width:0;padding:var(--ui-secondary-space-medium-plus);border:var(--ui-border-width) solid var(--line);border-radius:var(--ui-secondary-radius-6);background:var(--card);overflow-wrap:anywhere}
html .frame .notes-proposal-title{margin:0;font-size:var(--ui-font-body);line-height:var(--ui-line-label)}
html .frame .notes-proposal p{margin:var(--ui-secondary-space-small-plus) 0;font-size:var(--ui-font-small);white-space:pre-wrap}
html .frame .notes-proposal-meta{color:var(--ink-soft)}
html .frame .notes-proposal-hint{color:#8d5333}
html .frame .notes-proposal-actions{display:flex;justify-content:flex-end;gap:var(--ui-space-medium);margin-top:var(--ui-space-medium)}
html .frame .notes-proposal-actions svg,html .frame .notes-dictation-send svg{width:var(--ui-note-span-26);height:var(--ui-note-span-26)}
html .frame .notes-proposal-yes,html .frame .notes-dictation-send{color:#287344}
html .frame .notes-proposal-no{color:#ab3545}
html .frame .notes-proposal-thumb.is-no{transform:rotate(180deg)}
html .frame .notes-proposal-source{font-size:var(--ui-font-label);margin-top:var(--ui-secondary-space-comfortable)}
html .frame .notes-proposal-source summary{cursor:pointer}
html .frame .notes-proposal-status{grid-column:1/-1}
html .frame :is(.notes-proposal-actions,.notes-dictation-view) button:disabled{opacity:.45;cursor:default}
html[data-display=paper] .frame .notes-dictation-mic.is-recording{animation:none}
@keyframes notes-recording-pulse{50%{opacity:.4}}
@media(prefers-reduced-motion:reduce){html .frame .notes-audio-add.is-recording{animation:none}}
@media(prefers-reduced-motion:reduce){html .frame .notes-dictation-mic.is-recording{animation:none}}

html .frame .notes-panel>.notes-month-view{min-width:0;overflow:visible}
html .frame .notes-month-view>.notes-month-grid{width:100%;min-width:0;max-width:100%;overflow:visible}
html .frame .notes-day-heading{width:100%;min-width:0;justify-content:center}
html .frame .notes-day-date-sky{flex:0 1 auto;min-width:0;max-width:100%;flex-wrap:wrap;justify-content:center}
html .frame .notes-month-grid .notes-day-sky{flex-wrap:wrap;justify-content:center;min-width:0;max-width:100%}
html .frame .notes-day-content,html .frame .notes-day-references{min-width:0;max-width:100%;overflow-wrap:anywhere}
html .frame .notes-month-grid :is(.notes-month-note,.notes-month-meeting){display:flex;flex-wrap:wrap;justify-content:flex-start;min-width:0;max-width:100%;white-space:normal;overflow-wrap:anywhere;-webkit-line-clamp:unset}
html .frame .notes-month-grid :is(.notes-reference,.notes-reference-information){max-width:100%;min-width:0;overflow-wrap:anywhere}
html .frame .notes-month-grid .notes-saints .notes-reference{white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:anywhere}
html .frame .notes-day-temperatures{max-width:100%;flex-wrap:wrap}
html .frame .notes-notebook .notes-header .notes-selection-actions,html .frame .notes-notebook .notes-sidebar>.notes-list-pages{max-width:100%;flex-wrap:wrap}
html .frame .notes-detail .notes-rich-toolbar{flex-wrap:wrap;justify-content:flex-start;overflow:visible}
html .frame .notes-detail .notes-schedule-fields{min-width:0;flex-wrap:wrap;padding-top:0}
html .frame .notes-detail .notes-frequency{max-width:100%;flex-wrap:wrap}
html .frame .notes-detail .notes-time-parts,html .frame .notes-detail .notes-time-parts select{min-width:0;max-width:100%}
html .frame .notes-rich-code pre{white-space:pre-wrap;overflow-wrap:anywhere;overflow:visible}


/* Active note and calendar families share one parent chain. */
html .frame .notes-workspace .notes-row-summary{grid-template-columns:var(--ui-layout-fwfhtk);min-height:var(--ui-note-card-height);gap:var(--ui-space-small);padding:var(--ui-space-medium)}
html .frame .notes-workspace .notes-row-icon .notes-icon-image{width:var(--ui-note-card-icon);height:var(--ui-note-card-icon)}
html .frame .notes-workspace .notes-row-summary :is(.notes-date,.notes-text){font-size:var(--ui-font-small)}
html .frame .notes-calendar-heading .notes-calendar-filter{height:var(--ui-calendar-filter-height);min-height:var(--ui-calendar-filter-height)}
html .frame .notes-calendar-heading .notes-calendar-filter>span:last-child{font-size:var(--ui-font-caption);line-height:var(--ui-line-label)}
html .frame .notes-dictation-view{max-width:var(--ui-note-dictation-width);padding:var(--ui-space-large);margin:var(--ui-space-large) auto}
html .frame .notes-dictation-mic{width:var(--ui-note-dictation-size);height:var(--ui-note-dictation-size);padding:var(--ui-space-large)}
html .frame .notes-dictation-mic :is(.notes-audio-icon,svg){width:var(--ui-note-dictation-icon);height:var(--ui-note-dictation-icon)}
html .frame :is(.notes-dictation-commands,.notes-proposal-actions)>button{width:var(--ui-note-command-size);height:var(--ui-secondary-control-size);font-size:var(--ui-font-title)}
html .frame :is(.notes-proposal-actions,.notes-dictation-send) svg{width:var(--ui-note-command-icon);height:var(--ui-note-command-icon)}
html .frame .notes-detail .notes-timing{grid-template-columns:var(--ui-notes-timing-columns);gap:var(--ui-space-medium)}
html .frame .notes-detail .notes-date-fields,html .frame .notes-date-fields{grid-template-columns:var(--ui-notes-date-columns);width:100%;max-width:100%;gap:var(--ui-space-small)}
html .frame .notes-notebook .notes-detail .notes-form .notes-description{height:var(--ui-note-editor-height);min-height:var(--ui-note-editor-min-height)}
html .frame .notes-month-grid .notes-weekday-full{display:var(--ui-calendar-weekday-full-display)}
html .frame .notes-month-grid .notes-weekday-short{display:var(--ui-calendar-weekday-short-display)}

/* Narrow layouts keep the same semantic columns and let content wrap inside them. */
html .frame .planning-unavailability .planning-add{grid-template-columns:var(--ui-notes-planning-add-columns);gap:var(--ui-space-small)}
html .frame .planning-unavailability :is(.planning-slot,.planning-saved-slot){grid-template-columns:var(--ui-notes-planning-slot-columns);gap:var(--ui-space-small)}
html .frame .planning-unavailability :is(.planning-slot-day-label,.planning-slot-time-label){width:auto;min-width:0;white-space:normal;overflow-wrap:anywhere;font-size:var(--ui-font-caption)}
html .frame .notes-detail .notes-form{grid-template-columns:var(--ui-notes-form-columns)}
