.productivity-shell{max-width:1120px;margin:0 auto;padding:28px 20px 110px}.productivity-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:22px}.productivity-heading h2{font-size:26px;margin:0;overflow-wrap:anywhere}.productivity-gate:empty{display:none}.productivity-gate{margin:18px 0}.notes-workspace{display:grid;grid-template-columns:300px minmax(0,1fr);gap:24px}.notes-sidebar{min-width:0;border-right:1px solid var(--line);padding-right:18px}.notes-filters{display:flex;flex-wrap:wrap;gap:6px;margin:12px 0}.notes-filters button{font-size:12px;border:1px solid var(--line);border-radius:6px;background:#fff;padding:6px 9px}.notes-filters [aria-pressed="true"]{background:var(--green-50);border-color:var(--green-700);color:var(--green-900)}.notes-list{display:grid;gap:0}.note-row{display:block;border:0;border-bottom:1px solid var(--line);background:transparent;text-align:left;padding:14px 8px;min-width:0;width:100%;color:var(--ink)}.note-row.selected{background:var(--green-50);box-shadow:inset 3px 0 var(--green-700)}.note-row strong,.note-row span,.note-row small,.note-row time{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.note-row strong{font-size:14px}.note-row span{font-size:12px;margin:5px 0}.note-row small,.note-row time{font-size:11px;color:var(--muted)}.note-editor{min-width:0;display:grid;align-content:start;gap:12px}.note-editor-top{display:flex;justify-content:space-between;gap:8px;align-items:center;min-height:36px}.note-editor-top>span{font-size:12px;color:var(--muted);overflow-wrap:anywhere}.note-editor-top>div{display:flex;gap:4px;flex:none}.note-editor-top button,.note-format button{border:1px solid var(--line);background:#fff;color:var(--ink);border-radius:6px;width:34px;height:34px;display:inline-grid;place-items:center}.note-editor-top [aria-pressed="true"]{background:var(--green-50);border-color:var(--green-700)}#noteTitle{font-size:22px;border:0;border-bottom:1px solid var(--line);border-radius:0;padding:8px 0}#noteBody{line-height:1.8;min-height:280px;border:1px solid var(--line);border-radius:6px;resize:vertical}.note-format{display:flex;gap:6px}.note-preview{padding:14px;min-height:280px;border:1px solid var(--line);border-radius:6px;overflow-wrap:anywhere;line-height:1.8}.note-check{display:grid;grid-template-columns:22px minmax(0,1fr) 30px;gap:8px;align-items:center;margin:6px 0}.note-check input[type="checkbox"]{width:18px;height:18px;accent-color:var(--green-800)}.note-check input[type="text"]{font-size:13px;padding:8px}.note-check button{border:0;background:transparent;color:var(--danger);font-size:20px}.note-bottom-actions{display:flex;gap:8px}.productivity-dialog{border:1px solid var(--line);border-radius:8px;padding:24px;width:min(560px,calc(100vw - 24px));max-height:88dvh;overflow:auto;color:var(--ink)}.productivity-dialog::backdrop{background:rgba(0,0,0,.42)}.productivity-dialog h2{font-size:20px;margin:0 0 20px}.productivity-dialog form{display:grid;gap:14px}.dialog-actions{display:flex;justify-content:flex-end;gap:8px}.productivity-error,.productivity-dialog [role="alert"]{font-size:12px;color:var(--danger);overflow-wrap:anywhere}.agenda-shell{max-width:900px}.agenda-toolbar{display:grid;grid-template-columns:34px minmax(0,1fr) 34px auto;gap:10px;align-items:center;margin:20px 0}.agenda-toolbar h2{text-align:center;font-size:18px;margin:0}.agenda-toolbar button{border:1px solid var(--line);border-radius:6px;background:white;min-width:34px;height:34px;padding:4px 10px;color:var(--ink)}.agenda-calendar{gap:8px}.agenda-calendar button{border-radius:6px;min-height:54px}.agenda-calendar button.has-agenda{background:#edfaff;border-color:#63c1dc;color:#12496c}.agenda-calendar button.selected{outline-color:var(--green-700)}.agenda-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.agenda-completed{display:flex;align-items:center;gap:8px;font-size:13px}.agenda-completed input{width:18px;height:18px}.agenda-entry{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;border-radius:6px!important;box-shadow:none}.agenda-entry>div{min-width:0}.agenda-entry strong,.agenda-entry p,.agenda-entry small{overflow-wrap:anywhere}.agenda-entry p{white-space:pre-wrap}.agenda-entry.completed{opacity:.65}.agenda-entry.completed strong{text-decoration:line-through}.agenda-entry-actions{display:flex;flex-wrap:wrap;gap:6px;justify-content:flex-end}.agenda-entry-actions button{border:1px solid var(--line);border-radius:5px;background:#fff;color:var(--green-900);padding:6px 9px;font-size:12px}.agenda-state{font-size:11px;color:var(--muted);display:block;margin-top:6px}.agenda-create-row{margin-top:20px;padding-top:18px;border-top:1px solid var(--line)}
.profile-access-dialog{max-width:380px;text-align:center}.profile-access-dialog>p{font-size:14px;color:var(--muted)}.profile-access-options{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:22px 0 16px}
@media(max-width:680px){.productivity-shell{padding:22px 14px 110px}.productivity-heading h2{font-size:24px}.notes-workspace{grid-template-columns:minmax(0,1fr);gap:20px}.notes-sidebar{border:0;padding:0}.notes-list{max-height:310px;overflow:auto}.note-editor{padding-top:16px;border-top:1px solid var(--line);scroll-margin-top:76px}.agenda-calendar{gap:5px}.agenda-calendar button{min-height:42px;font-size:13px}.agenda-calendar .has-agenda i{right:2px;top:1px;min-width:13px;height:13px;font-size:9px}.agenda-toolbar{gap:6px}.agenda-toolbar h2{font-size:16px}.agenda-form-grid{grid-template-columns:1fr}.agenda-entry{flex-direction:column}.agenda-entry-actions{justify-content:flex-start}.productivity-dialog{padding:18px}#noteTitle{font-size:20px}}
.notes-search-bar{position:sticky;top:76px;z-index:3;grid-column:1/-1;align-self:start;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;background:#fff;padding:8px 0}
.notes-search-bar button{display:grid;place-items:center;padding:8px}
.note-bottom-actions,.note-popup-actions{display:flex;flex-wrap:wrap;gap:8px}
@media(max-width:760px){.notes-search-bar{top:66px}}
@media(max-width:480px){.notes-search-bar{top:60px}}
.note-editor.is-document>:not(.note-editor-top):not(#noteDocumentPanel),.note-editor.is-document #noteDownload{display:none}

.note-list-item { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:start; border-bottom:1px solid var(--line); }
.note-list-item.selected { background:var(--green-50); box-shadow:inset 3px 0 var(--green-700); }
.note-list-item .note-row { border-bottom:0; }
.note-more { inline-size:38px; block-size:38px; margin:6px 0; display:grid; place-items:center; border:0; border-radius:8px; color:var(--green-900); background:transparent; }
.note-more:is(:hover,:focus-visible,[aria-expanded="true"]) { background:var(--green-50); }
.note-more svg { inline-size:22px; block-size:22px; fill:currentColor; }
.note-sync-status { display:flex; flex-wrap:wrap; align-items:center; gap:4px 8px; font-size:12px; color:var(--muted); overflow-wrap:anywhere; }
.note-sync-status:not(:has(> span:empty)) { padding:0 8px 8px; }
.note-format { flex-wrap:wrap; align-items:center; }
.note-format button { flex:0 0 auto; }
.note-format :is(button,.note-format-select) svg { inline-size:18px; block-size:18px; fill:none; stroke:currentColor; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; }
.note-format button[aria-pressed="true"] { background:var(--green-50); border-color:var(--green-700); color:var(--green-900); }
.note-format-select { display:inline-flex; align-items:center; gap:3px; padding:0 4px 0 6px; border:1px solid var(--line); border-radius:6px; background:white; min-height:34px; color:var(--ink); }
.note-format-select select { width:auto; min-height:32px; border:0; background:white; color:inherit; font:inherit; font-size:12px; padding:0 2px; }
.note-format .note-save-button { margin-inline-start:auto; color:white; background:var(--green-800); border-color:var(--green-800); }
.note-format button:disabled,.note-format-select select:disabled { opacity:.5; cursor:default; }
#noteBody { padding:12px; min-height:280px; resize:none; background:#fff; outline:none; overflow-wrap:anywhere; white-space:pre-wrap; }
#noteBody:focus { border-color:var(--green-700); outline:1px solid var(--green-700); }
#noteBody:empty::before { content:attr(data-placeholder); color:var(--muted); pointer-events:none; }
:is(.note-rich-body,.note-preview) :is(p,h1,h2,h3,ul,ol) { margin:0 0 .55em; }
:is(.note-rich-body,.note-preview) :is(ol,ul) { padding-inline-start:1.6em; }
:is(.note-rich-body,.note-preview) h1 { font-size:1.65em; }
:is(.note-rich-body,.note-preview) h2 { font-size:1.35em; }
:is(.note-rich-body,.note-preview) h3 { font-size:1.16em; }
:is(.note-rich-body,.note-preview) a { color:var(--green-800); text-decoration:underline; }
.note-preview { white-space:pre-wrap; }
@media (max-width:680px) {
 .note-format button { width:38px; height:38px; }
 .note-format-select { min-height:38px; }
 .note-action-menu button { min-height:38px; }
}
.form-button,.form-list button{display:inline-flex;align-items:center;gap:8px;text-align:left}
.form-icon{flex:none}
.form-question{min-width:0;margin:0 0 12px;padding:12px;border:1px solid var(--line);border-radius:8px}
.form-question legend{font-weight:600;overflow-wrap:anywhere;max-width:100%}
.form-question-tools,.form-choice{display:flex;align-items:center;gap:8px;margin-top:8px}
.form-question-tools{justify-content:space-between}
.spach-form input:is([type=checkbox],[type=radio]){width:auto;flex:none}
.form-list{display:grid;gap:8px}
.form-description{white-space:pre-wrap;overflow-wrap:anywhere}
.form-branding{display:flex;align-items:center;gap:12px;padding:0 0 12px;margin-bottom:12px;border-bottom:1px solid var(--line);overflow-wrap:anywhere}
.form-branding img{width:48px;height:48px;object-fit:contain;flex:none}
.profile-details-collapsed{display:none!important}
.profile-icon-action{display:inline-grid;place-items:center;width:42px;height:42px;padding:8px;border:1px solid var(--line);border-radius:8px;background:#fff;color:var(--ink);flex:none}
.profile-icon-action[aria-checked=true]{background:#daf5e4;color:#147a3c;border-color:#147a3c}
.feature-settings{border-top:1px solid var(--line);margin-top:16px;padding-top:16px}
.feature-setting-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:8px 0}
.feature-inactive{opacity:.45}
#groupProfileActions{border-top:1px solid var(--line);padding-top:12px}
.member-profile-list{border-top:1px solid var(--line);margin-top:16px;padding-top:12px}
.member-profile-list .card-heading{display:flex;justify-content:space-between;align-items:center}
.profile-sheet-head .eyebrow[role=button]{cursor:pointer;text-decoration:underline;text-underline-offset:4px}
.profile-sheet-head .eyebrow[role=button]:focus-visible{outline:2px solid var(--green-700)}
.full-profile-photo{display:block;width:100%;aspect-ratio:1;object-fit:contain}
.photo-viewer{width:min(94vw,850px);max-height:96dvh}
#userProfileSheet .profile-sheet-head,#groupProfileSheet .profile-sheet-head{flex-direction:column;text-align:center}
.sheet-actions .profile-icon-action,#toggleGroupMembers{border:0;background:transparent;box-shadow:none}
#groupProfileActions{justify-content:space-between}
#groupProfileActions .profile-icon-action{flex:1}
.feature-name{border:0;background:transparent;color:var(--ink);padding:8px 0;text-align:left;font:inherit;min-width:0}
button.feature-name{cursor:pointer}
button.feature-name:hover{text-decoration:underline}
.feature-switch{display:grid;place-items:center;width:44px;height:44px;flex:none;border:0;background:transparent;padding:0}
.feature-switch-track{position:relative;width:34px;height:20px;border-radius:12px;background:#c7cdd1;transition:background .15s}
.feature-switch-knob{position:absolute;left:3px;top:3px;width:14px;height:14px;border-radius:50%;background:#fff;transition:transform .15s}
.feature-switch[aria-checked=true] .feature-switch-track{background:#149647}
.feature-switch[aria-checked=true] .feature-switch-knob{transform:translateX(14px)}
.feature-switch:focus-visible,.feature-name:focus-visible{outline:2px solid #147a3c;outline-offset:2px}
.feature-switch:disabled{opacity:.6;cursor:not-allowed}
.home-feature-heading{font-size:18px;margin:20px 0 10px}

#page-notes.has-document-editor :is(#notesWorkspace,#notesGate,#newNote) { display:none }
#noteDocumentEditor { width:min(100%,920px); margin-inline:auto; scroll-margin-top:80px; min-width:0 }
#noteDocumentEditor fieldset { border:0; padding:0; margin:0; min-inline-size:0 }
#noteDocumentEditor [role="status"]:empty,#noteDocumentEditor [role="alert"]:empty { display:none }
.note-document-editor-bar { display:flex; align-items:center; flex-wrap:wrap; gap:8px; margin-bottom:12px }
.note-document-editor-bar p { flex:1 1 15rem; margin:0; color:var(--muted); overflow-wrap:anywhere }
#noteDocumentEditor [data-document-updates] { margin-bottom:12px; padding:12px; border:1px solid var(--line); border-radius:10px }
#noteDocumentEditor [data-document-changes] label { display:flex; gap:8px; margin:5px 0; align-items:baseline; overflow-wrap:anywhere }
.note-document-paper { padding:clamp(12px,3vw,26px); border:1px solid var(--line); border-radius:12px; background:#fff; min-width:0; overflow-wrap:anywhere; font-size:12pt; line-height:1.45 }
.note-document-paper header { text-align:center; border-bottom:1px solid var(--line); padding-bottom:12px; margin-bottom:16px }
.note-document-paper :is(h2,h3,p) { margin-block:8px }
.note-document-paper dl { display:grid; grid-template-columns:auto minmax(0,1fr); gap:7px 12px }
.note-document-paper dd { margin:0; white-space:pre-wrap }
.note-document-paper table { width:100%; min-width:0; border-collapse:collapse }
.note-document-paper :is(th,td) { border:1px solid var(--line); padding:6px; text-align:left; vertical-align:top; white-space:pre-wrap }
.note-document-table { overflow:auto; margin-block:10px }
.note-document-text { white-space:pre-wrap }
.note-letterhead { display:flex; align-items:center; justify-content:center; gap:clamp(8px,3vw,18px); margin-bottom:12px }
.note-letterhead img { width:clamp(42px,10vw,68px); height:68px; object-fit:contain }
.note-letterhead strong { font-size:1.15em }
.note-letterhead p { margin:3px 0 0 }
.note-document-photos { margin-top:16px }
.note-document-photos [data-document-photo-file] { display:none }
.note-photo-status { color:var(--muted); font-size:.875rem }
.note-photo-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr)); gap:14px; margin-top:12px }
.note-photo-grid figure { margin:0; min-width:0 }
.note-photo-grid figure img { display:block; width:100%; max-height:300px; object-fit:contain; border-radius:8px; background:#f6f8f7 }
.note-photo-grid figcaption { margin-top:4px }
.note-photo-grid label { display:block; margin-top:8px }
.note-photo-grid label span { display:block; margin-bottom:4px; font-size:.875rem }
.note-photo-actions { display:flex; gap:12px; flex-wrap:wrap }
.note-photo-actions button:disabled { opacity:.45; cursor:default }
.note-document-actions .icon-small-btn { min-width:44px; min-height:44px }
.note-document-actions svg { width:22px; height:22px }
.note-document-editor-bar [data-document-head-group] { max-width:min(100%,340px); margin-inline-start:6px }
.note-document-editor-bar [data-document-head-status] { flex-basis:100%; order:1 }
.note-document-range { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:6px }
.note-document-range label { display:grid; text-align:left; gap:2px; font-size:.78rem }
.note-document-paper :is(input,textarea,select) { font:inherit; color:inherit; width:100%; min-width:0; border:1px solid var(--line); background:var(--green-50); border-radius:6px; padding:7px 9px; margin:0; box-sizing:border-box }
.note-document-paper :is(textarea,select) { display:block }
.note-document-paper textarea { resize:vertical }
.note-document-paper select { margin-top:5px }
.note-document-paper :is(input,textarea,select):focus { background:white; outline:2px solid var(--green-800); outline-offset:1px }
.note-document-paper .note-document-agenda label { display:grid; grid-template-columns:auto 1fr; gap:8px; align-items:center }
#noteDocumentEditor .note-popup-actions,#noteDocumentPanel .note-popup-actions,.group-note-preview .note-popup-actions { margin-top:12px }
#activityOfficerSettings { margin-top:12px; padding-block:14px }
#activityOfficerSettings summary { cursor:pointer; font-weight:600 }
.note-document-weekday { display:block; color:var(--muted); font-size:.82rem; margin-bottom:4px }
.note-document-weekday:empty { display:none }
#activityOfficerSettings form { margin-top:12px }
@media(max-width:680px) {
 .note-document-editor-bar p { order:-1; flex-basis:100% }
 .note-document-paper input[type=date],.note-document-paper input[type=time] { min-height:39px }
 #noteDocumentEditor .note-document-table { overflow:visible }
 #noteDocumentEditor .note-document-table thead { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%) }
 #noteDocumentEditor .note-document-table :is(tbody,tr,td) { display:block; width:100%; box-sizing:border-box }
 #noteDocumentEditor .note-document-table tr { border:1px solid var(--line); border-radius:8px; padding:8px; margin:8px 0 }
 #noteDocumentEditor .note-document-table td { border:0; padding:4px 0 }
 #noteDocumentEditor .note-document-table td[data-label]::before { content:attr(data-label); display:block; font-size:.8rem; margin-bottom:4px }
}
@media(max-width:420px) {
 .note-document-paper dl { grid-template-columns:minmax(0,1fr); gap:4px }
 .note-document-paper dd { margin-bottom:8px }
}
