/* v1.71 — Flowlo Notes document chrome and focused formatting tools. */
.note-editor-v171{width:min(100%,1060px)!important;max-width:1060px!important;margin:0 auto!important;display:grid;gap:12px;padding:0 0 38px!important;color:var(--ink)}
.note-document-bar-v171{position:relative;z-index:6;display:flex;align-items:center;gap:13px;min-height:72px;padding:13px 17px;background:var(--surface);border:1px solid var(--line);border-radius:13px}
.note-document-icon-v171{display:grid;place-items:center;flex:none;width:39px;height:39px;border-radius:10px;background:var(--accent-soft);color:var(--accent)}
.note-document-icon-v171 .material-symbols-rounded{font-size:21px;vertical-align:0}
.note-document-identity-v171{display:grid;gap:3px;min-width:0;flex:1}
.note-document-title-v171{display:block;width:100%;min-width:0;padding:0;border:0!important;outline:none!important;background:transparent!important;color:var(--ink)!important;font-size:15px!important;font-weight:720;letter-spacing:-.02em}
.note-document-title-v171::placeholder{color:var(--muted)}
.note-document-identity-v171>span{overflow:hidden;color:var(--muted);font-size:11px;white-space:nowrap;text-overflow:ellipsis}
.note-document-identity-v171>span i{padding:0 3px;color:var(--line);font-style:normal}
.note-document-actions-v171{display:flex;align-items:center;gap:6px;flex:none}
.note-document-actions-v171 .flow-share-people{display:flex!important;flex:0 0 auto;align-items:center;justify-content:center;gap:0;width:auto!important;min-width:max-content;max-width:none;min-height:37px;padding:3px 8px 3px 4px;overflow:visible;white-space:nowrap;line-height:1}
.note-document-actions-v171 .flow-share-people .flow-stack-blob{flex:0 0 28px;width:28px;height:28px}
.note-document-actions-v171 .flow-share-icon{display:flex;flex:0 0 auto;align-items:center;margin-left:5px;white-space:nowrap;font-size:12px}
.note-document-actions-v171 .flow-share-icon .material-symbols-rounded{font-size:17px}
.note-document-actions-v171>button:not(.flow-share-people),.note-more-menu>summary{display:grid;place-items:center;width:36px;height:36px;padding:0;border:1px solid var(--line);border-radius:10px;background:var(--surface);color:var(--muted);cursor:pointer;list-style:none}
.note-document-actions-v171>button:not(.flow-share-people):hover,.note-more-menu>summary:hover{background:var(--accent-soft);color:var(--accent)}
.note-document-actions-v171 .flow-head-icon.is-active{color:#d69a28;background:color-mix(in srgb,#e4ad41 13%,var(--surface));border-color:color-mix(in srgb,#e4ad41 28%,var(--line))}
.note-more-menu{position:relative}
.note-more-menu>summary::-webkit-details-marker{display:none}
.note-more-menu>summary .material-symbols-rounded{font-size:20px;vertical-align:0}
.note-more-popover{position:absolute;top:calc(100% + 7px);right:0;z-index:12;display:grid;grid-template-columns:repeat(4,34px);gap:3px;width:max-content;padding:6px;background:var(--surface);border:1px solid var(--line);border-radius:10px;box-shadow:0 12px 30px #18324820}
.note-more-popover button{display:grid;place-items:center;width:34px;height:34px;border:0;border-radius:7px;background:transparent;color:var(--muted)}
.note-more-popover button:hover{background:var(--accent-soft);color:var(--accent)}
.note-actions-menu-v171 .note-more-popover{grid-template-columns:1fr;min-width:156px}
.note-actions-menu-v171 .note-more-popover button{display:flex;width:100%;gap:9px;justify-content:flex-start;padding:0 8px;color:var(--ink);font-size:12px;white-space:nowrap}
.note-actions-menu-v171 .note-more-popover button .material-symbols-rounded{font-size:17px;color:var(--muted)}
.note-actions-menu-v171 .note-more-popover button.note-delete-action-v171{color:#b6524a}
.note-actions-menu-v171 .note-more-popover button.note-delete-action-v171 .material-symbols-rounded{color:#b6524a}
.note-editor-v171 .note-toolbar-v171{position:sticky;top:4px;z-index:5;display:flex;align-items:center;gap:5px;width:max-content!important;max-width:100%!important;height:56px!important;min-height:56px!important;margin:0 auto!important;padding:7px 11px!important;overflow:visible!important;border:1px solid var(--line)!important;border-radius:12px!important;background:var(--surface)!important;box-shadow:0 4px 14px #1832480b!important;touch-action:auto!important}
.note-editor-v171 .note-toolbar-v171>button,.note-editor-v171 .note-toolbar-v171>select{display:grid;place-items:center;flex:0 0 auto;width:40px;height:40px!important;min-height:40px;padding:0;border:0!important;border-radius:8px!important;background:transparent!important;color:var(--muted);font-size:13px}
.note-editor-v171 .note-toolbar-v171>button:hover{background:var(--accent-soft)!important;color:var(--accent)}
.note-editor-v171 .note-toolbar-v171>button .material-symbols-rounded{font-size:21px;vertical-align:0}
.note-editor-v171 .note-toolbar-v171>select{display:block;width:auto;min-width:108px;padding:0 9px;border-right:0!important;border-radius:0!important;color:var(--ink);cursor:pointer;font-size:14px}
.note-editor-v171 .note-toolbar-v171>.toolbar-divider{flex:0 0 1px;width:1px;height:25px;margin:0 3px;background:var(--line)}
.note-editor-v171 .note-toolbar-v171 .note-more-menu{display:block}
.note-editor-v171 .note-toolbar-v171 .note-format-menu-v171 .note-more-popover{grid-template-columns:repeat(4,34px)}
.note-page-v171{width:min(100%,860px);min-height:calc(100dvh - 325px);margin:1px auto 0;padding:clamp(26px,5vw,58px) clamp(22px,6vw,72px);border:1px solid var(--line);border-radius:13px;background:var(--surface);box-shadow:0 4px 20px #18324808}
.note-page-meta-v171{margin-bottom:18px;color:var(--muted);font-size:11px;font-weight:600}
.note-page-title-v171{display:block;width:100%;padding:0 0 17px;border:0!important;border-bottom:1px solid var(--line)!important;border-radius:0!important;outline:none!important;background:transparent!important;color:var(--ink)!important;font-size:clamp(29px,4.4vw,42px)!important;font-weight:760;letter-spacing:-.055em;line-height:1.15}
.note-page-title-v171::placeholder{color:var(--muted)}
.note-editor-v171 #note-body{max-width:none!important;min-height:50vh;margin:19px 0 0!important;padding:0!important;border:0!important;outline:none!important;background:transparent!important;color:var(--ink)!important;font-size:15px;line-height:1.75}
.note-editor-v171 #note-body:empty::before{color:var(--muted)}
.note-editor-v171 #note-body h1,.note-editor-v171 #note-body h2,.note-editor-v171 #note-body h3{color:var(--ink);letter-spacing:-.035em;line-height:1.3}
.note-editor-v171 #note-body blockquote{margin:15px 0;padding:5px 0 5px 15px;border-left:3px solid var(--accent);color:var(--muted)}
.note-editor-v171 #note-body .flowlo-table-wrap{max-width:100%;margin:16px 0;overflow-x:auto;border:1px solid var(--line);border-radius:9px}
.note-editor-v171 #note-body table.flowlo-note-table{width:100%;min-width:360px;border-collapse:collapse;border:0!important;background:var(--surface);font-size:13px;line-height:1.5}
.note-editor-v171 #note-body table.flowlo-note-table td,.note-editor-v171 #note-body table.flowlo-note-table th{min-width:90px;padding:9px 11px;border:1px solid var(--line)!important;background:var(--surface)!important;color:var(--ink);vertical-align:top}
.note-editor-v171 #note-body table.flowlo-note-table th{background:var(--raised)!important;font-weight:700}
.note-editor-v171 #note-body table.flowlo-note-table.table-selected{outline:2px solid color-mix(in srgb,var(--accent) 48%,transparent);outline-offset:2px}
.note-editor-v171 #note-body table.flowlo-note-table p{margin:0}
[data-theme="dark"] .note-page-v171,[data-theme="dark"] .note-document-bar-v171,[data-theme="dark"] .note-toolbar-v171,[data-theme="dark"] .note-more-popover{background:var(--surface)!important;border-color:var(--line)!important}
@media(max-width:800px){
  .note-editor-v171{gap:9px;padding:0 0 calc(30px + env(safe-area-inset-bottom))!important}
  .note-document-bar-v171{min-height:62px;gap:9px;padding:10px 11px;border-radius:10px}
  .note-document-icon-v171{width:34px;height:34px;border-radius:9px}
  .note-document-title-v171{font-size:14px!important}
  .note-document-actions-v171{gap:4px}
  .note-document-actions-v171>button:not(.flow-share-people),.note-more-menu>summary{width:32px;height:32px;border-radius:9px}
  .note-document-actions-v171 .flow-share-people{min-height:36px;padding:3px 7px 3px 4px}
  .note-document-actions-v171 .flow-share-icon{font-size:0}
  .note-document-actions-v171 .flow-head-icon,.note-document-actions-v171 .flow-more-menu>summary{width:32px;height:32px}
  .note-editor-v171 .note-toolbar-v171{position:sticky;top:4px;box-sizing:border-box;width:100%!important;max-width:100%!important;height:50px!important;min-height:50px!important;justify-content:flex-start;gap:3px;margin:0!important;padding:5px 7px!important;overflow-x:auto!important;overflow-y:hidden!important;border-radius:10px!important;touch-action:pan-x!important;-webkit-overflow-scrolling:touch!important;scrollbar-width:none}
  .note-editor-v171 .note-toolbar-v171::-webkit-scrollbar{display:none}
  .note-editor-v171 .note-toolbar-v171>button,.note-editor-v171 .note-toolbar-v171>select{flex:0 0 auto;width:36px;height:36px!important;min-height:36px}
  .note-editor-v171 .note-toolbar-v171>button .material-symbols-rounded{font-size:19px}
  .note-editor-v171 .note-toolbar-v171>select{width:auto;min-width:88px;font-size:13px}
  .note-editor-v171 .note-toolbar-v171>.toolbar-divider{height:20px;margin:0 2px}
  .note-editor-v171 .note-toolbar-v171 .note-more-menu{display:block;flex:0 0 auto}
  .note-page-v171{width:100%;min-height:calc(100dvh - 285px);padding:27px 21px;border-radius:10px}
  .note-page-meta-v171{margin-bottom:15px}
  .note-editor-v171 #note-body{font-size:15px}
}

@media(max-width:420px){
  .note-document-bar-v171{gap:7px;padding:9px}
  .note-document-icon-v171{width:31px;height:31px}
  .note-document-actions-v171{gap:3px}
  .note-document-actions-v171 .flow-share-people{min-height:33px;padding:2px 5px 2px 3px}
  .note-document-actions-v171 .flow-stack-blob{flex-basis:25px;width:25px;height:25px}
  .note-editor-v171 .note-toolbar-v171{gap:2px;padding-right:5px!important;padding-left:5px!important}
  .note-editor-v171 .note-toolbar-v171>button,.note-editor-v171 .note-toolbar-v171>select{width:32px;height:34px!important;min-height:34px}
  .note-editor-v171 .note-toolbar-v171>button .material-symbols-rounded{font-size:18px}
  .note-editor-v171 .note-toolbar-v171>select{min-width:76px;padding:0 5px}
}

/* v1.71.3 — Editor-first Note layout, with file actions on the document. */
.note-editor-v171 .note-toolbar-v171{box-sizing:border-box;width:min(100%,860px)!important;max-width:860px!important;height:62px!important;min-height:62px!important;justify-content:space-between;gap:6px;margin:0 auto!important;padding:9px 13px!important;border-radius:13px!important}
.note-editor-v171 .note-toolbar-v171>button,.note-editor-v171 .note-toolbar-v171>select{width:42px;height:42px!important;min-height:42px;border-radius:9px!important}
.note-editor-v171 .note-toolbar-v171>button{transition:background-color .14s ease,color .14s ease}
.note-editor-v171 .note-toolbar-v171>button:focus-visible,.note-editor-v171 .note-toolbar-v171>select:focus-visible{outline:2px solid color-mix(in srgb,var(--accent) 65%,transparent);outline-offset:1px}
.note-editor-v171 .note-toolbar-v171>button .material-symbols-rounded{font-size:22px}
.note-editor-v171 .note-toolbar-v171>select{min-width:126px;padding:0 10px;font-size:14px}
.note-page-v171{box-sizing:border-box;min-height:calc(100dvh - 245px);margin:0 auto}
.note-page-topline-v172{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:0 0 34px}
.note-page-meta-v171{flex:1;min-width:0;margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.note-page-topline-v172 .note-document-actions-v171{gap:7px}
.note-page-topline-v172 .note-document-actions-v171 .flow-head-icon,.note-page-topline-v172 .note-document-actions-v171 .flow-more-menu>summary{width:40px;height:40px;border-radius:11px}
.note-page-topline-v172 .note-document-actions-v171 .flow-share-people{min-height:40px;border-radius:11px}
.note-page-title-v171{font-size:clamp(32px,4.5vw,48px)!important}
[data-theme="dark"] .note-page-topline-v172{color:var(--muted)}
@media(max-width:800px){
  .note-editor-v171 .note-toolbar-v171{width:100%!important;max-width:860px!important;height:54px!important;min-height:54px!important;justify-content:flex-start;gap:4px;margin:0 auto!important;padding:6px 8px!important;overflow-x:auto!important;overflow-y:hidden!important;overscroll-behavior-x:contain;touch-action:pan-x!important;-webkit-overflow-scrolling:touch!important;scrollbar-width:none}
  .note-editor-v171 .note-toolbar-v171::-webkit-scrollbar{display:none}
  .note-editor-v171 .note-toolbar-v171>button,.note-editor-v171 .note-toolbar-v171>select{flex:0 0 auto;width:38px;height:38px!important;min-height:38px}
  .note-editor-v171 .note-toolbar-v171>button .material-symbols-rounded{font-size:20px}
  .note-editor-v171 .note-toolbar-v171>select{min-width:94px;font-size:13px}
  .note-page-v171{min-height:calc(100dvh - 220px);padding:26px 21px}
  .note-page-topline-v172{gap:8px;margin-bottom:28px}
  .note-page-topline-v172 .note-document-actions-v171{gap:4px}
  .note-page-topline-v172 .note-document-actions-v171 .flow-head-icon,.note-page-topline-v172 .note-document-actions-v171 .flow-more-menu>summary{width:35px;height:35px}
  .note-page-topline-v172 .note-document-actions-v171 .flow-share-people{min-height:35px}
}
@media(max-width:420px){
  .note-editor-v171 .note-toolbar-v171{gap:2px;padding-right:5px!important;padding-left:5px!important}
  .note-editor-v171 .note-toolbar-v171>button,.note-editor-v171 .note-toolbar-v171>select{width:34px;height:36px!important;min-height:36px}
  .note-editor-v171 .note-toolbar-v171>select{min-width:82px;padding:0 5px}
  .note-page-v171{padding:23px 16px}
  .note-page-topline-v172{gap:5px;margin-bottom:23px}
  .note-page-topline-v172 .note-document-actions-v171{gap:3px}
  .note-page-topline-v172 .note-document-actions-v171 .flow-head-icon,.note-page-topline-v172 .note-document-actions-v171 .flow-more-menu>summary{width:32px;height:32px}
  .note-page-topline-v172 .note-document-actions-v171 .flow-share-people{min-height:33px;padding:2px 5px 2px 3px}
  .note-page-topline-v172 .note-document-actions-v171 .flow-stack-blob{flex-basis:25px;width:25px;height:25px}
}

/* v1.71.4 — Compact toolbar integrated into the Note page chrome. */
.note-page-v171{--note-page-pad-x:clamp(22px,6vw,72px);padding:0 var(--note-page-pad-x) 58px;overflow:visible}
.note-page-v171 .note-toolbar-v171{position:sticky!important;top:0!important;z-index:10!important;box-sizing:border-box;width:auto!important;max-width:none!important;height:54px!important;min-height:54px!important;justify-content:flex-start;gap:6px;margin:0 calc(0px - var(--note-page-pad-x)) 27px!important;padding:7px 16px!important;overflow-x:auto!important;overflow-y:visible!important;border:0!important;border-bottom:1px solid var(--line)!important;border-radius:13px 13px 0 0!important;background:var(--surface)!important;box-shadow:none!important;clip-path:none!important;scrollbar-width:none;touch-action:pan-x!important;-webkit-overflow-scrolling:touch!important}
.note-page-v171 .note-toolbar-v171::-webkit-scrollbar{display:none}
.note-page-v171 .note-toolbar-v171:before,.note-page-v171 .note-toolbar-v171:after{display:none!important}
.note-page-v171 .note-toolbar-v171>button,.note-page-v171 .note-toolbar-v171>select{position:relative;flex:0 0 auto;width:36px;height:36px!important;min-height:36px;padding:0;border:0!important;border-radius:8px!important;background:transparent!important;color:var(--muted)}
.note-page-v171 .note-toolbar-v171>button:hover{background:var(--accent-soft)!important;color:var(--accent)}
.note-page-v171 .note-toolbar-v171>button .material-symbols-rounded{font-size:19px}
.note-page-v171 .note-toolbar-v171>select{width:auto;min-width:112px;padding:0 7px;border-radius:7px!important;color:var(--ink);font-size:13px}
.note-page-v171 .note-toolbar-v171>.toolbar-divider{flex:0 0 1px;width:1px;height:23px;margin:0 3px;background:var(--line)}
.note-page-v171 .note-format-menu-v171{position:relative;flex:0 0 auto}
.note-page-v171 .note-format-menu-v171>summary{width:36px;height:36px;border-radius:8px}
.note-page-v171 .note-format-list-v172{display:grid;grid-template-columns:1fr!important;gap:0;width:220px;max-height:min(70vh,440px);overflow-y:auto;padding:5px}
.note-page-v171 .note-format-group-v172{display:grid;gap:1px;padding:3px 0}
.note-page-v171 .note-format-group-v172+ .note-format-group-v172{border-top:1px solid var(--line)}
.note-page-v171 .note-format-group-v172>small{padding:6px 8px 4px;color:var(--muted);font-size:10px;font-weight:750;letter-spacing:.06em;text-transform:uppercase}
.note-page-v171 .note-format-list-v172 button{display:flex;width:100%;height:34px;min-height:34px;align-items:center;justify-content:flex-start;gap:9px;padding:0 8px;border-radius:7px;text-align:left;color:var(--ink);font-size:12px}
.note-page-v171 .note-format-list-v172 button .material-symbols-rounded{width:18px;font-size:17px;color:var(--muted)}
.note-page-v171 .note-format-list-v172 button span:last-child{white-space:nowrap}
.note-editor-v171 #note-body pre{max-width:100%;overflow:auto;padding:13px 15px;border:1px solid var(--line);border-radius:9px;background:var(--raised);font:13px/1.6 ui-monospace,SFMono-Regular,Consolas,monospace;white-space:pre-wrap}
.note-editor-v171 #note-body hr{height:1px;margin:20px 0;border:0;background:var(--line)}
.note-editor-v171 #note-body table.flowlo-note-table{margin:16px 0}
[data-theme="dark"] .note-page-v171 .note-toolbar-v171{background:var(--surface)!important;border-color:var(--line)!important}
@media(min-width:801px){
  #tabs .tab-canvas,#tabs .tab-board{flex:0 0 188px!important;min-width:168px!important;max-width:220px!important}
  #tabs .tab-title{max-width:145px!important}
}
@media(max-width:800px){
  .note-page-v171{--note-page-pad-x:21px;padding:0 var(--note-page-pad-x) 34px;min-height:calc(100dvh - 175px)}
  .note-page-v171 .note-toolbar-v171{height:50px!important;min-height:50px!important;gap:3px;margin-bottom:22px!important;padding:6px 9px!important}
  .note-page-v171 .note-toolbar-v171>button,.note-page-v171 .note-toolbar-v171>select{width:36px;height:36px!important;min-height:36px}
  .note-page-v171 .note-toolbar-v171>select{min-width:98px}
  .note-page-v171 .note-format-list-v172{position:fixed;top:auto;right:12px;bottom:calc(12px + env(safe-area-inset-bottom));left:auto;z-index:90;max-height:min(65vh,430px)}
}
@media(max-width:420px){
  .note-page-v171{--note-page-pad-x:16px;padding-bottom:30px}
  .note-page-v171 .note-toolbar-v171{gap:2px;padding-right:6px!important;padding-left:6px!important}
  .note-page-v171 .note-toolbar-v171>button,.note-page-v171 .note-toolbar-v171>select{width:34px;height:34px!important;min-height:34px}
  .note-page-v171 .note-toolbar-v171>select{min-width:86px;padding:0 5px}
}
@media(max-width:480px){
  .note-page-v171 .note-toolbar-v171{display:grid!important;grid-template-columns:repeat(8,minmax(0,1fr));grid-auto-rows:34px;align-content:center;justify-content:initial;gap:3px;height:auto!important;min-height:0!important;padding:7px 8px!important;overflow:visible!important;touch-action:auto!important}
  .note-page-v171 .note-toolbar-v171>.toolbar-divider{display:none!important}
  .note-page-v171 .note-toolbar-v171>select{grid-column:span 2;width:100%;min-width:0;height:34px!important;min-height:34px;padding:0 4px;font-size:12px}
  .note-page-v171 .note-toolbar-v171>button,.note-page-v171 .note-toolbar-v171>.note-format-menu-v171,.note-page-v171 .note-format-menu-v171>summary{width:100%;height:34px!important;min-height:34px;justify-self:stretch}
  .note-page-v171 .note-toolbar-v171>button .material-symbols-rounded{font-size:18px}
}

/* v1.71.6 — Adaptive mobile formatting drawer and unclipped overflow menu. */
.note-page-v171 .note-toolbar-v171{overflow:visible!important}
.note-page-v171 .note-toolbar-controls-v175{display:flex;min-width:0;align-items:center;gap:6px}
.note-page-v171 .note-toolbar-controls-v175>button,.note-page-v171 .note-toolbar-controls-v175>select{position:relative;flex:0 0 auto;width:36px;height:36px!important;min-height:36px;padding:0;border:0!important;border-radius:8px!important;background:transparent!important;color:var(--muted)}
.note-page-v171 .note-toolbar-controls-v175>button:hover{background:var(--accent-soft)!important;color:var(--accent)}
.note-page-v171 .note-toolbar-controls-v175>button .material-symbols-rounded{font-size:19px}
.note-page-v171 .note-toolbar-controls-v175>select{width:auto;min-width:112px;padding:0 7px;border-radius:7px!important;color:var(--ink);font-size:13px}
.note-page-v171 .note-toolbar-controls-v175>.toolbar-divider{flex:0 0 1px;width:1px;height:23px;margin:0 3px;background:var(--line)}
.note-mobile-toolbar-toggle-v175{display:none;align-items:center;justify-content:space-between;width:100%;height:40px;padding:0 8px;border:0;border-radius:8px;background:transparent;color:var(--ink);text-align:left;font:inherit}
.note-mobile-toolbar-toggle-v175>span{display:inline-flex;align-items:center;gap:8px}
.note-mobile-toolbar-toggle-v175 b{font-size:13px;font-weight:700}
.note-mobile-toolbar-toggle-v175 .material-symbols-rounded{font-size:19px;color:var(--muted)}
.note-toolbar-toggle-chevron-v175{transition:transform .16s ease}
.note-toolbar-v171.is-mobile-expanded .note-toolbar-toggle-chevron-v175{transform:rotate(180deg)}
.note-page-v171 .note-format-menu-v171{z-index:40}
.note-page-v171 .note-format-menu-v171[open]>.note-format-list-v172{z-index:120}
@media(max-width:900px){
  .note-page-v171 .note-toolbar-v171{display:flex!important;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:0;width:auto!important;height:auto!important;min-height:48px!important;margin-bottom:22px!important;padding:4px 8px!important;overflow:visible!important;border-bottom:1px solid var(--line)!important}
  .note-mobile-toolbar-toggle-v175{display:flex}
  .note-page-v171 .note-toolbar-controls-v175{display:none;width:100%;grid-template-columns:repeat(8,minmax(0,1fr));grid-auto-rows:36px;align-content:start;gap:4px;padding:8px 2px 4px;border-top:1px solid var(--line)}
  .note-page-v171 .note-toolbar-v171.is-mobile-expanded .note-toolbar-controls-v175{display:grid}
  .note-page-v171 .note-toolbar-controls-v175>.toolbar-divider{display:none!important}
  .note-page-v171 .note-toolbar-controls-v175>select{grid-column:span 2;width:100%;min-width:0;height:36px!important;min-height:36px;padding:0 5px;font-size:12px}
  .note-page-v171 .note-toolbar-controls-v175>button,.note-page-v171 .note-toolbar-controls-v175>.note-format-menu-v171,.note-page-v171 .note-format-menu-v171>summary{width:100%;height:36px!important;min-height:36px;justify-self:stretch}
  .note-page-v171 .note-toolbar-controls-v175>button .material-symbols-rounded{font-size:19px}
  .note-page-v171 .note-format-menu-v171[open]>.note-format-list-v172{position:fixed!important;top:auto!important;right:12px!important;bottom:calc(12px + env(safe-area-inset-bottom))!important;left:auto!important;max-height:min(65vh,430px);overflow-y:auto}
}
@media(max-width:480px){
  .note-page-v171 .note-toolbar-controls-v175{grid-auto-rows:34px;gap:3px;padding:7px 1px 3px}
  .note-page-v171 .note-toolbar-controls-v175>select,.note-page-v171 .note-toolbar-controls-v175>button,.note-page-v171 .note-toolbar-controls-v175>.note-format-menu-v171,.note-page-v171 .note-format-menu-v171>summary{height:34px!important;min-height:34px}
  .note-page-v171 .note-toolbar-controls-v175>button .material-symbols-rounded{font-size:18px}
}

/* v1.71.7 — One continuous Notes toolbar; document title lives in the editable body. */
.note-page-v177{padding-top:0!important;overflow:visible!important}
.note-page-v177 .note-toolbar-v177{position:sticky!important;top:0!important;z-index:20!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:8px!important;box-sizing:border-box!important;width:auto!important;max-width:none!important;height:58px!important;min-height:58px!important;margin:0 calc(0px - var(--note-page-pad-x)) 27px!important;padding:7px 14px!important;overflow:visible!important;border:0!important;border-bottom:1px solid var(--line)!important;border-radius:13px 13px 0 0!important;background:var(--surface)!important;box-shadow:none!important;clip-path:none!important;touch-action:auto!important}
.note-page-v177 .note-toolbar-controls-v177{display:flex;flex:1 1 auto;align-items:center;gap:4px;min-width:0;overflow-x:auto;overflow-y:visible;scrollbar-width:none;-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain}
.note-page-v177 .note-toolbar-controls-v177::-webkit-scrollbar{display:none}
.note-page-v177 .note-toolbar-controls-v177>button,.note-page-v177 .note-toolbar-controls-v177>select{position:relative;flex:0 0 auto;display:grid;place-items:center;width:36px;height:36px!important;min-height:36px;padding:0;border:0!important;border-radius:8px!important;background:transparent!important;color:var(--muted);cursor:pointer}
.note-page-v177 .note-toolbar-controls-v177>button:hover{background:var(--accent-soft)!important;color:var(--accent)}
.note-page-v177 .note-toolbar-controls-v177>button .material-symbols-rounded{font-size:19px}
.note-page-v177 .note-toolbar-controls-v177>select{display:block;width:auto;min-width:110px;padding:0 8px;border-radius:7px!important;color:var(--ink);font-size:13px}
.note-page-v177 .note-toolbar-controls-v177>.toolbar-divider{flex:0 0 1px;width:1px;height:23px;margin:0 3px;background:var(--line)}
.note-page-v177 .note-toolbar-actions-v177{display:flex;flex:0 0 auto;align-items:center;gap:5px;padding-left:9px;border-left:1px solid var(--line)}
.note-page-v177 .note-toolbar-actions-v177 .flow-share-people{min-height:36px;padding:2px 7px 2px 3px;border-radius:9px}
.note-page-v177 .note-toolbar-actions-v177 .flow-head-icon,.note-page-v177 .note-toolbar-actions-v177 .flow-more-menu>summary{width:36px;height:36px;border-radius:9px}
.note-page-v177 .note-actions-menu-v177{position:relative;flex:0 0 auto}
.note-page-v177 .note-actions-menu-v177 .note-more-popover{z-index:120}
.note-page-v177 .note-format-menu-v177{position:relative;display:block;flex:0 0 auto}
.note-page-v177 .note-format-menu-v177>summary{display:grid;place-items:center;width:36px;height:36px;border-radius:8px;color:var(--muted);cursor:pointer;list-style:none}
.note-page-v177 .note-format-menu-v177>summary::-webkit-details-marker{display:none}
.note-page-v177 .note-format-menu-v177>summary:hover{background:var(--accent-soft);color:var(--accent)}
.note-page-v177 .note-format-menu-v177[open]>.note-format-list-v172{position:fixed!important;right:12px!important;left:auto!important;top:62px!important;bottom:auto!important;z-index:9999!important;display:grid!important;grid-template-columns:1fr!important;width:min(250px,calc(100vw - 24px))!important;max-height:min(70dvh,440px)!important;overflow:auto!important;padding:5px!important;border:1px solid var(--line)!important;border-radius:11px!important;background:var(--surface)!important;box-shadow:0 12px 35px #18324824!important}
.note-page-v177 .note-body{margin-top:0!important}
.note-editor-v177 #note-body>[data-note-title-block]{margin:0 0 19px!important;padding:0 0 15px!important;color:var(--ink)!important;font-size:clamp(32px,4.5vw,48px)!important;font-weight:760;letter-spacing:-.055em;line-height:1.15}
.note-editor-v177 #note-body>[data-note-title-block]:empty:before{content:"Untitled note";color:var(--muted)}
.note-editor-v177 #note-body>[data-note-title-block][data-empty-placeholder]{min-height:1.15em}
.note-editor-v177 #note-body h1,.note-editor-v177 #note-body h2,.note-editor-v177 #note-body h3{color:var(--ink);letter-spacing:-.035em;line-height:1.3}
.note-editor-v177 #note-body>[data-note-title-block]+*{margin-top:0}
[data-theme="dark"] .note-page-v177 .note-toolbar-v177{background:var(--surface)!important;border-color:var(--line)!important}
@media(max-width:800px){
 .note-page-v177{--note-page-pad-x:21px;padding-bottom:34px!important;min-height:calc(100dvh - 175px)}
 .note-page-v177 .note-toolbar-v177{height:52px!important;min-height:52px!important;gap:5px!important;margin-bottom:22px!important;padding:6px 8px!important;overflow:visible!important}
 .note-page-v177 .note-toolbar-controls-v177{gap:2px;overflow-x:auto;overflow-y:hidden}
 .note-page-v177 .note-toolbar-controls-v177>button,.note-page-v177 .note-toolbar-controls-v177>select,.note-page-v177 .note-format-menu-v177>summary{width:34px;height:34px!important;min-height:34px}
 .note-page-v177 .note-toolbar-controls-v177>select{min-width:94px;padding:0 5px;font-size:12px}
 .note-page-v177 .note-toolbar-actions-v177{gap:3px;padding-left:6px}
 .note-page-v177 .note-toolbar-actions-v177 .flow-share-people{min-height:34px;padding:2px 5px;border:1px solid var(--line);}
 .note-page-v177 .note-toolbar-actions-v177 .flow-share-people .flow-stack-blob{display:none}
 .note-page-v177 .note-toolbar-actions-v177 .flow-share-icon{margin-left:0;font-size:12px}
 .note-page-v177 .note-toolbar-actions-v177 .flow-share-icon .material-symbols-rounded{font-size:17px}
 .note-page-v177 .note-toolbar-actions-v177 .flow-head-icon,.note-page-v177 .note-toolbar-actions-v177 .flow-more-menu>summary{width:34px;height:34px}
 .note-page-v177 .note-toolbar-controls-v177 .note-format-menu-v177[open]>.note-format-list-v172{top:58px!important}
 .note-editor-v177 #note-body>[data-note-title-block]{font-size:clamp(31px,6vw,42px)!important}
}
@media(max-width:390px){
 .note-page-v177 .note-toolbar-v177{gap:3px!important;padding-right:6px!important;padding-left:6px!important}
 .note-page-v177 .note-toolbar-controls-v177>select{min-width:84px}
 .note-page-v177 .note-toolbar-controls-v177>button{width:31px}
 .note-page-v177 .note-toolbar-actions-v177{gap:2px;padding-left:4px}
 .note-page-v177 .note-toolbar-actions-v177 .flow-share-people{padding-right:4px;padding-left:4px}
 .note-page-v177 .note-toolbar-actions-v177 .flow-head-icon,.note-page-v177 .note-toolbar-actions-v177 .flow-more-menu>summary{width:31px;height:32px}
}
.note-page-v177 .note-format-menu-v177{margin-right:3px;padding-right:6px;border-right:1px solid var(--line)}
@media(max-width:390px){.note-page-v177 .note-format-menu-v177{margin-right:1px;padding-right:3px}}
.note-page-v177 .note-format-menu-v177[open]>.note-format-list-v172{position:absolute!important;top:calc(100% + 6px)!important;right:0!important;left:auto!important;bottom:auto!important}
@media(max-width:800px){.note-page-v177 .note-format-menu-v177[open]>.note-format-list-v172{position:fixed!important;top:58px!important;right:12px!important;left:auto!important;bottom:auto!important}}

/* v1.71.8 — Keep the style tools compact and the document actions stable. */
.note-page-v177 .note-toolbar-v177{flex-wrap:nowrap!important;justify-content:flex-start!important;gap:6px!important;height:50px!important;min-height:50px!important;margin-bottom:18px!important;padding:5px 12px!important}
.note-page-v177 .note-toolbar-controls-v177{flex:0 1 auto;flex-wrap:nowrap;width:max-content;max-width:calc(100% - 190px);overflow-x:auto;overflow-y:hidden}
.note-page-v177 .note-toolbar-controls-v177>select{min-width:100px}
.note-page-v177 .note-format-menu-v177{flex:0 0 36px;width:36px;margin:0;padding:0;border:0}
.note-page-v177 .note-toolbar-actions-v177{margin-left:auto;padding-left:7px;gap:4px}
.note-page-v177 .note-toolbar-actions-v177 .flow-share-people{white-space:nowrap;min-width:0}
.note-page-v177 .note-toolbar-v177>.note-format-menu-v177{align-self:center}
.note-page-v177 .note-toolbar-v177 .note-format-menu-v177[open]>.note-format-list-v172{top:calc(100% + 6px)!important}
.note-page-v177 .note-toolbar-v177 .note-format-menu-v177[open]>.note-format-list-v172{position:absolute!important}
@media(max-width:800px){
 .note-page-v177 .note-toolbar-v177{height:48px!important;min-height:48px!important;gap:4px!important;margin-bottom:15px!important;padding:5px 7px!important}
 .note-page-v177 .note-toolbar-controls-v177{max-width:calc(100% - 172px)}
 .note-page-v177 .note-toolbar-controls-v177>select{min-width:88px}
 .note-page-v177 .note-toolbar-actions-v177{gap:2px;padding-left:6px}
 .note-page-v177 .note-toolbar-actions-v177 .flow-share-people{padding:2px 5px}
 .note-page-v177 .note-toolbar-actions-v177 .flow-stack-blob{display:none!important}
 .note-page-v177 .note-toolbar-v177 .note-format-menu-v177[open]>.note-format-list-v172{position:fixed!important;top:54px!important;right:8px!important;left:auto!important}
}
@media(max-width:360px){
 .note-page-v177 .note-toolbar-controls-v177{max-width:calc(100% - 158px)}
 .note-page-v177 .note-toolbar-actions-v177 .flow-share-icon{font-size:0}
 .note-page-v177 .note-toolbar-actions-v177 .flow-share-icon .material-symbols-rounded{font-size:18px}
}

/* v1.72.0 — Apple-inspired action row with a responsive horizontal format rail. */
.note-page-v180{padding-top:0!important;overflow:visible!important}
.note-page-v180 .note-controls-stack-v180{position:sticky;top:0;z-index:30;margin:0 calc(0px - var(--note-page-pad-x)) 18px;padding:0 var(--note-page-pad-x);overflow:visible;border-bottom:1px solid var(--line);border-radius:13px 13px 0 0;background:var(--surface)}
.note-page-v180 .note-document-actions-row-v180{display:flex;min-height:40px;align-items:center;justify-content:flex-end;padding:2px 0 0}
.note-page-v180 .note-document-actions-v180{display:flex;align-items:center;justify-content:flex-end;gap:5px}
.note-page-v180 .note-document-actions-v180 .flow-share-people{min-height:34px;padding:2px 7px 2px 3px;border-radius:9px}
.note-page-v180 .note-document-actions-v180 .flow-head-icon,.note-page-v180 .note-document-actions-v180 .flow-more-menu>summary{width:34px;height:34px;border-radius:9px}
.note-page-v180 .note-tools-menu-v180{position:relative;flex:0 0 auto}
.note-page-v180 .note-tools-menu-v180>summary{display:grid;place-items:center;list-style:none;cursor:pointer}
.note-page-v180 .note-tools-menu-v180>summary::-webkit-details-marker{display:none}
.note-page-v180 .note-tools-menu-v180>summary .material-symbols-rounded{font-size:23px}
.note-page-v180 .note-tools-menu-v180 .note-tools-popover-v180{top:calc(100% + 6px);right:0;display:grid;grid-template-columns:1fr;gap:1px;max-height:min(70vh,480px);overflow:auto;padding:6px}
.note-page-v180 .note-tools-popover-v180>small{padding:7px 9px 3px;color:var(--muted);font-size:10px;font-weight:750;letter-spacing:.06em;text-transform:uppercase}
.note-page-v180 .note-tools-popover-v180 button{display:flex;width:100%;min-height:34px;align-items:center;justify-content:flex-start;gap:9px;padding:0 9px;text-align:left;color:var(--ink);font-size:12px;white-space:nowrap}
.note-page-v180 .note-tools-popover-v180 button .material-symbols-rounded{font-size:17px;color:var(--muted)}
.note-page-v180 .note-tools-popover-v180 button.note-delete-action-v171{color:#b6524a}
.note-page-v180 .note-toolbar-v180{position:static!important;display:flex!important;flex-wrap:nowrap!important;align-items:center!important;width:100%!important;height:43px!important;min-height:43px!important;margin:0!important;padding:2px 0 7px!important;overflow:visible!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;touch-action:auto!important}
.note-page-v180 .note-toolbar-controls-v180{display:flex;flex:1 1 auto;width:100%;max-width:none;min-width:0;align-items:center;gap:3px;overflow-x:auto;overflow-y:hidden;scrollbar-width:none;-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain}
.note-page-v180 .note-toolbar-controls-v180::-webkit-scrollbar{display:none}
.note-page-v180 .note-toolbar-controls-v180>button,.note-page-v180 .note-toolbar-controls-v180>select{flex:0 0 auto;width:34px;height:34px!important;min-height:34px;padding:0;border:0!important;border-radius:8px!important;background:transparent!important;color:var(--muted)}
.note-page-v180 .note-toolbar-controls-v180>button:hover{background:var(--accent-soft)!important;color:var(--accent)}
.note-page-v180 .note-toolbar-controls-v180>button .material-symbols-rounded{font-size:19px}
.note-page-v180 .note-toolbar-controls-v180>select{display:block;width:auto;min-width:92px;padding:0 7px;color:var(--ink);font-size:13px}
.note-page-v180 .note-toolbar-controls-v180>.toolbar-divider{flex:0 0 1px;width:1px;height:22px;margin:0 3px;background:var(--line)}
.note-page-v180 .note-inline-tools-v180{display:none}
.note-page-v180 #note-body{margin-top:0!important}
@media(max-width:1024px){
 .note-page-v180 .note-document-actions-row-v180{min-height:38px}
 .note-page-v180 .note-tools-menu-v180{display:none!important}
 .note-page-v180 .note-document-actions-v180{gap:4px}
 .note-page-v180 .note-document-actions-v180 .flow-stack-blob{display:none!important}
 .note-page-v180 .note-document-actions-v180 .flow-share-people{min-height:32px;padding:2px 6px;border:1px solid var(--line)}
 .note-page-v180 .note-document-actions-v180 .flow-share-icon{margin-left:0;font-size:12px}
 .note-page-v180 .note-document-actions-v180 .flow-share-icon .material-symbols-rounded{font-size:17px}
 .note-page-v180 .note-toolbar-v180{height:42px!important;min-height:42px!important;padding:1px 0 6px!important}
 .note-page-v180 .note-toolbar-controls-v180{gap:2px;overflow-x:auto;overflow-y:hidden}
 .note-page-v180 .note-toolbar-controls-v180>button,.note-page-v180 .note-toolbar-controls-v180>select{width:34px;height:34px!important;min-height:34px}
 .note-page-v180 .note-toolbar-controls-v180>select{min-width:86px;padding:0 5px;font-size:12px}
 .note-page-v180 .note-inline-tools-v180{display:flex;flex:0 0 auto;align-items:center;gap:2px}
 .note-page-v180 .note-inline-tools-v180>button{display:grid;flex:0 0 34px;width:34px;height:34px;place-items:center;padding:0;border:0;border-radius:8px;background:transparent;color:var(--muted)}
 .note-page-v180 .note-inline-tools-v180>button:hover{background:var(--accent-soft);color:var(--accent)}
 .note-page-v180 .note-inline-tools-v180>button .material-symbols-rounded{font-size:19px}
 .note-page-v180 .note-inline-tools-v180>.toolbar-divider{flex:0 0 1px;width:1px;height:22px;margin:0 3px;background:var(--line)}
 .note-page-v180 .note-inline-tools-v180 .note-mobile-delete-v180{color:#b6524a}
 .note-page-v180 .note-controls-stack-v180{margin-bottom:14px}
}
@media(max-width:390px){
 .note-page-v180{--note-page-pad-x:15px}
 .note-page-v180 .note-document-actions-row-v180{min-height:36px}
 .note-page-v180 .note-toolbar-v180{height:40px!important;min-height:40px!important}
 .note-page-v180 .note-toolbar-controls-v180>select{min-width:78px}
 .note-page-v180 .note-toolbar-controls-v180>button,.note-page-v180 .note-inline-tools-v180>button{flex-basis:32px;width:32px;height:32px!important;min-height:32px}
}

/* v1.72.1 — Flow-style Notes header with a connected, on-demand text toolbar. */
.note-page-v181{--note-page-pad-x:clamp(16px,4.2vw,52px);padding-top:5px!important}
.note-page-v181 .note-head-shell-v181{position:sticky;top:6px;z-index:35;box-sizing:border-box;margin:0 calc(0px - var(--note-page-pad-x)) 30px;padding:0 var(--note-page-pad-x);overflow:visible;border:1px solid color-mix(in srgb,var(--line) 76%,transparent);border-radius:13px;background:var(--surface);box-shadow:0 5px 18px color-mix(in srgb,var(--ink) 5%,transparent)}
.note-page-v181 .note-head-v181{display:flex;min-height:58px;align-items:center;justify-content:space-between;gap:12px;padding:5px 3px}
.note-page-v181 .note-head-leading-v181{display:flex;flex:1 1 auto;min-width:0;align-items:center;gap:12px}
.note-page-v181 .note-tools-toggle-v181{position:relative;display:grid;flex:0 0 40px;width:40px;height:40px;place-items:center;padding:0;border:0;border-radius:12px;background:var(--accent-soft);color:var(--accent);cursor:pointer}
.note-page-v181 .note-tools-toggle-v181>.material-symbols-rounded:first-child{font-size:21px}
.note-page-v181 .note-tools-toggle-arrow-v181{position:absolute;right:1px;bottom:1px;font-size:14px!important;transition:transform .14s ease}
.note-page-v181 .is-tools-open .note-tools-toggle-arrow-v181{transform:rotate(180deg)}
.note-page-v181 .note-title-field-v181{display:block;flex:1 1 auto;width:100%;min-width:0;height:38px;margin:0;padding:0;border:0!important;outline:0!important;background:transparent!important;box-shadow:none!important;color:var(--ink)!important;font-size:21px;font-weight:740;letter-spacing:-.035em;text-overflow:ellipsis}
.note-page-v181 .note-title-field-v181::placeholder{color:var(--muted)}
.note-page-v181 .note-head-actions-v181{display:flex;flex:0 0 auto;align-items:center;gap:6px}
.note-page-v181 .note-head-actions-v181 .flow-head-icon,.note-page-v181 .note-head-actions-v181 .flow-more-menu>summary{width:36px;height:36px;border-radius:10px}
.note-page-v181 .note-head-actions-v181 .flow-share-people{min-height:37px;padding:3px 8px 3px 4px;border-radius:11px}
.note-page-v181 .note-head-actions-v181 .note-actions-menu-v181{position:relative;flex:0 0 auto}
.note-page-v181 .note-head-actions-v181 .note-actions-menu-v181>summary{display:grid;place-items:center;cursor:pointer;list-style:none}
.note-page-v181 .note-head-actions-v181 .note-actions-menu-v181>summary::-webkit-details-marker{display:none}
.note-page-v181 .note-tools-panel-v181{display:none;box-sizing:border-box;width:100%;padding:0 0 7px;border-top:1px solid var(--line)}
.note-page-v181 .note-head-shell-v181.is-tools-open .note-tools-panel-v181{display:flex}
.note-page-v181 .note-tools-scroll-v181{display:flex;flex:1 1 auto;min-width:0;align-items:center;gap:3px;overflow-x:auto;overflow-y:hidden;scrollbar-width:none;-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain}
.note-page-v181 .note-tools-scroll-v181::-webkit-scrollbar{display:none}
.note-page-v181 .note-tools-scroll-v181>button,.note-page-v181 .note-tools-scroll-v181>select{display:grid;flex:0 0 34px;width:34px;height:34px;min-height:34px;place-items:center;padding:0;border:0;border-radius:8px;background:transparent;color:var(--muted);cursor:pointer}
.note-page-v181 .note-tools-scroll-v181>button:hover{background:var(--accent-soft);color:var(--accent)}
.note-page-v181 .note-tools-scroll-v181>button .material-symbols-rounded{font-size:19px}
.note-page-v181 .note-tools-scroll-v181>select{display:block;flex-basis:auto;width:auto;min-width:104px;padding:0 8px;border:1px solid var(--line);background:var(--surface);color:var(--ink);font-size:12px}
.note-page-v181 .note-tools-scroll-v181>.toolbar-divider{flex:0 0 1px;width:1px;height:21px;margin:0 3px;background:var(--line)}
.note-page-v181 #note-body{margin-top:0!important}
[data-theme="dark"] .note-page-v181 .note-head-shell-v181{background:var(--surface);border-color:var(--line)}
@media(max-width:800px){
 .note-page-v181{--note-page-pad-x:16px;padding-bottom:32px!important;min-height:calc(100dvh - 130px)}
 .note-page-v181 .note-head-shell-v181{top:4px;margin-bottom:24px}
 .note-page-v181 .note-head-v181{min-height:49px;gap:6px;padding:4px 2px}
 .note-page-v181 .note-head-leading-v181{gap:8px}
 .note-page-v181 .note-tools-toggle-v181{flex-basis:35px;width:35px;height:35px;border-radius:10px}
 .note-page-v181 .note-title-field-v181{height:34px;font-size:17px}
 .note-page-v181 .note-head-actions-v181{gap:3px}
 .note-page-v181 .note-head-actions-v181 .flow-head-icon,.note-page-v181 .note-head-actions-v181 .flow-more-menu>summary{width:32px;height:32px;border-radius:9px}
 .note-page-v181 .note-head-actions-v181 .flow-share-people{min-height:33px;padding:2px 6px 2px 3px}
 .note-page-v181 .note-head-actions-v181 .flow-stack-blob{display:none!important}
 .note-page-v181 .note-head-actions-v181 .flow-share-icon{font-size:0}
 .note-page-v181 .note-head-actions-v181 .flow-share-icon .material-symbols-rounded{font-size:17px}
 .note-page-v181 .note-tools-panel-v181{padding-bottom:5px}
 .note-page-v181 .note-tools-scroll-v181{gap:2px}
 .note-page-v181 .note-tools-scroll-v181>button,.note-page-v181 .note-tools-scroll-v181>select{flex-basis:34px;width:34px;height:34px;min-height:34px}
 .note-page-v181 .note-tools-scroll-v181>select{flex-basis:auto;width:auto;min-width:92px;padding:0 5px;font-size:11px}
}
@media(max-width:380px){
 .note-page-v181{--note-page-pad-x:12px}
 .note-page-v181 .note-head-leading-v181{gap:6px}
 .note-page-v181 .note-title-field-v181{font-size:16px}
 .note-page-v181 .note-head-actions-v181{gap:2px}
 .note-page-v181 .note-head-actions-v181 .flow-share-people{padding-right:4px}
 .note-page-v181 .note-tools-scroll-v181>button{flex-basis:32px;width:32px;height:32px;min-height:32px}
 .note-page-v181 .note-tools-scroll-v181>select{min-width:84px}
}

/* v1.72.2 — Keep the note content below the app chrome and make the format rail touch-scrollable. */
.note-page-v182{padding-top:22px!important}
.note-page-v182 .note-head-shell-v181{position:relative;top:auto;margin-bottom:30px}
.note-page-v182 .note-tools-scroll-v181{width:100%;overflow-x:scroll!important;touch-action:pan-x!important;pointer-events:auto;scroll-behavior:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch!important;overscroll-behavior-x:contain}
.note-page-v182 .note-tools-scroll-v181>*{touch-action:manipulation}
.note-page-v182 #note-body h1[data-note-title-block]{margin:10px 0 20px;color:var(--ink);font-size:clamp(28px,4vw,36px);font-weight:760;line-height:1.18;letter-spacing:-.04em}
.note-page-v182 #note-body h1[data-note-title-block][data-empty-title="true"]:before{content:"New note";color:var(--muted);pointer-events:none}
@media(max-width:800px){
 .note-page-v182{padding-top:16px!important}
 .note-page-v182 .note-head-shell-v181{margin-bottom:24px}
 .note-page-v182 .note-tools-scroll-v181{touch-action:pan-x!important;overscroll-behavior-x:contain}
 .note-page-v182 #note-body h1[data-note-title-block]{margin-top:8px;font-size:29px}
}

/* v1.72.3 — Header shell sits above the document; drag on the tool rail to scroll on touch screens. */
.note-editor-v183{--note-page-pad-x:clamp(16px,4.2vw,52px);padding-bottom:74px!important}
.note-editor-v183 .note-head-shell-v181{position:relative;top:auto;z-index:35;box-sizing:border-box;margin:18px 0 0;padding:0 var(--note-page-pad-x);overflow:visible;border:1px solid color-mix(in srgb,var(--line) 76%,transparent);border-radius:13px;background:var(--surface);box-shadow:0 5px 18px color-mix(in srgb,var(--ink) 5%,transparent)}
.note-editor-v183 .note-head-v181{display:flex;min-height:58px;align-items:center;justify-content:space-between;gap:12px;padding:5px 3px}
.note-editor-v183 .note-head-leading-v181{display:flex;flex:1 1 auto;min-width:0;align-items:center;gap:12px}
.note-editor-v183 .note-tools-toggle-v181{position:relative;display:grid;flex:0 0 40px;width:40px;height:40px;place-items:center;padding:0;border:0;border-radius:12px;background:var(--accent-soft);color:var(--accent);cursor:pointer}
.note-editor-v183 .note-tools-toggle-v181>.material-symbols-rounded:first-child{font-size:21px}
.note-editor-v183 .note-tools-toggle-arrow-v181{position:absolute;right:1px;bottom:1px;font-size:14px!important;transition:transform .14s ease}
.note-editor-v183 .note-head-shell-v181.is-tools-open .note-tools-toggle-arrow-v181{transform:rotate(180deg)}
.note-editor-v183 .note-title-field-v181{display:block;flex:1 1 auto;width:100%;min-width:0;height:38px;margin:0;padding:0;border:0!important;outline:0!important;background:transparent!important;box-shadow:none!important;color:var(--ink)!important;font-size:21px;font-weight:740;letter-spacing:-.035em;text-overflow:ellipsis}
.note-editor-v183 .note-head-actions-v181{display:flex;flex:0 0 auto;align-items:center;gap:6px}
.note-editor-v183 .note-head-actions-v181 .flow-head-icon,.note-editor-v183 .note-head-actions-v181 .flow-more-menu>summary{width:36px;height:36px;border-radius:10px}
.note-editor-v183 .note-head-actions-v181 .flow-share-people{min-height:37px;padding:3px 8px 3px 4px;border-radius:11px}
.note-editor-v183 .note-head-actions-v181 .note-actions-menu-v181{position:relative;flex:0 0 auto}
.note-editor-v183 .note-head-actions-v181 .note-actions-menu-v181>summary{display:grid;place-items:center;cursor:pointer;list-style:none}
.note-editor-v183 .note-head-actions-v181 .note-actions-menu-v181>summary::-webkit-details-marker{display:none}
.note-editor-v183 .note-tools-panel-v181{display:none;box-sizing:border-box;width:100%;padding:0 0 7px;border-top:1px solid var(--line)}
.note-editor-v183 .note-head-shell-v181.is-tools-open .note-tools-panel-v181{display:flex}
.note-editor-v183 .note-tools-scroll-v181{display:flex;flex:1 1 auto;width:100%;min-width:0;align-items:center;gap:3px;overflow-x:scroll!important;overflow-y:hidden;scrollbar-width:none;touch-action:pan-y!important;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch!important;cursor:grab}
.note-editor-v183 .note-tools-scroll-v181::-webkit-scrollbar{display:none}
.note-editor-v183 .note-tools-scroll-v181.is-touch-dragging-v183{cursor:grabbing;user-select:none;-webkit-user-select:none}
.note-editor-v183 .note-tools-scroll-v181>button,.note-editor-v183 .note-tools-scroll-v181>select{display:grid;flex:0 0 34px;width:34px;height:34px;min-height:34px;place-items:center;padding:0;border:0;border-radius:8px;background:transparent;color:var(--muted);cursor:pointer;touch-action:pan-y}
.note-editor-v183 .note-tools-scroll-v181>button:hover{background:var(--accent-soft);color:var(--accent)}
.note-editor-v183 .note-tools-scroll-v181>button .material-symbols-rounded{font-size:19px}
.note-editor-v183 .note-tools-scroll-v181>select{display:block;flex-basis:auto;width:auto;min-width:104px;padding:0 8px;border:1px solid var(--line);background:var(--surface);color:var(--ink);font-size:12px}
.note-editor-v183 .note-tools-scroll-v181>.toolbar-divider{flex:0 0 1px;width:1px;height:21px;margin:0 3px;background:var(--line)}
.note-page-v183{padding-top:24px!important}
.note-page-v183 #note-body{margin-top:0!important}
[data-theme="dark"] .note-editor-v183 .note-head-shell-v181{background:var(--surface);border-color:var(--line)}
@media(max-width:800px){
 .note-editor-v183{--note-page-pad-x:12px;padding-bottom:calc(74px + env(safe-area-inset-bottom))!important}
 .note-editor-v183 .note-head-shell-v181{margin-top:10px}
 .note-editor-v183 .note-head-v181{min-height:49px;gap:6px;padding:4px 2px}
 .note-editor-v183 .note-head-leading-v181{gap:8px}
 .note-editor-v183 .note-tools-toggle-v181{flex-basis:35px;width:35px;height:35px;border-radius:10px}
 .note-editor-v183 .note-title-field-v181{height:34px;font-size:17px}
 .note-editor-v183 .note-head-actions-v181{gap:3px}
 .note-editor-v183 .note-head-actions-v181 .flow-head-icon,.note-editor-v183 .note-head-actions-v181 .flow-more-menu>summary{width:32px;height:32px;border-radius:9px}
 .note-editor-v183 .note-head-actions-v181 .flow-share-people{min-height:33px;padding:2px 6px 2px 3px}
 .note-editor-v183 .note-head-actions-v181 .flow-stack-blob{display:none!important}
 .note-editor-v183 .note-head-actions-v181 .flow-share-icon{font-size:0}
 .note-editor-v183 .note-head-actions-v181 .flow-share-icon .material-symbols-rounded{font-size:17px}
 .note-editor-v183 .note-tools-panel-v181{padding-bottom:5px}
 .note-editor-v183 .note-tools-scroll-v181{gap:2px;touch-action:pan-y!important}
 .note-editor-v183 .note-tools-scroll-v181>button,.note-editor-v183 .note-tools-scroll-v181>select{flex-basis:34px;width:34px;height:34px;min-height:34px}
 .note-editor-v183 .note-tools-scroll-v181>select{flex-basis:auto;width:auto;min-width:92px;padding:0 5px;font-size:11px}
 .note-page-v183{padding-top:18px!important}
}
@media(max-width:380px){
 .note-editor-v183{--note-page-pad-x:10px}
 .note-editor-v183 .note-head-leading-v181{gap:6px}
 .note-editor-v183 .note-title-field-v181{font-size:16px}
 .note-editor-v183 .note-head-actions-v181{gap:2px}
 .note-editor-v183 .note-head-actions-v181 .flow-share-people{padding-right:4px}
 .note-editor-v183 .note-tools-scroll-v181>button{flex-basis:32px;width:32px;height:32px;min-height:32px}
 .note-editor-v183 .note-tools-scroll-v181>select{min-width:84px}
}

/* v1.72.4 — Match the header to the document, keep the owner Blob visible, and use native two-axis touch scrolling. */
.note-editor-v184{box-sizing:border-box;width:min(100%,860px)!important;max-width:860px!important;display:flex!important;flex-direction:column;gap:0}
.note-editor-v184>.note-head-shell-v181{box-sizing:border-box;width:100%;max-width:100%;margin-right:auto;margin-left:auto;overflow:visible}
.note-editor-v184>.note-page-v184{box-sizing:border-box;width:100%;max-width:100%;margin-right:auto;margin-left:auto}
.note-editor-v184 .note-tools-panel-v181{min-width:0;max-width:100%;overflow:hidden}
.note-editor-v184 .note-tools-scroll-v181{box-sizing:border-box;width:0;max-width:100%;min-width:0;flex:1 1 0;overflow-x:auto!important;overflow-y:hidden!important;touch-action:pan-x pan-y!important;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;scrollbar-width:none}
.note-editor-v184 .note-tools-scroll-v181::-webkit-scrollbar{display:none}
.note-editor-v184 .note-tools-scroll-v181>*{flex-shrink:0;touch-action:pan-x pan-y!important}
.note-editor-v184 .note-tools-scroll-v181>select{flex:0 0 auto}
@media(max-width:800px){
 .note-editor-v184{--note-page-pad-x:12px;width:100%!important;max-width:860px!important}
 .note-editor-v184>.note-head-shell-v181,.note-editor-v184>.note-page-v184{width:100%;max-width:100%}
 .note-editor-v184 .note-head-shell-v181{margin-top:10px;padding-right:10px;padding-left:10px}
 .note-editor-v184 .note-head-actions-v181 .flow-stack-blob{display:flex!important;flex:0 0 24px;width:24px;height:24px}
 .note-editor-v184 .note-head-actions-v181 .flow-share-people{gap:2px;min-height:33px;padding:2px 4px 2px 3px}
 .note-editor-v184 .note-head-actions-v181 .flow-share-icon{margin-left:2px}
 .note-editor-v184 .note-tools-panel-v181{width:100%;padding-right:0;padding-left:0}
 .note-editor-v184 .note-tools-scroll-v181{width:0;min-width:0;flex-basis:0;touch-action:pan-x pan-y!important}
}
@media(max-width:380px){
 .note-editor-v184 .note-head-v181{gap:4px}
 .note-editor-v184 .note-head-leading-v181{gap:5px}
 .note-editor-v184 .note-head-actions-v181{gap:2px}
 .note-editor-v184 .note-head-actions-v181 .flow-head-icon,.note-editor-v184 .note-head-actions-v181 .flow-more-menu>summary{width:30px;height:30px}
 .note-editor-v184 .note-head-actions-v181 .flow-stack-blob{flex-basis:21px;width:21px;height:21px}
 .note-editor-v184 .note-head-actions-v181 .flow-share-people{padding-right:3px}
}
.note-editor-v184>.note-head-shell-v181,.note-editor-v184>.note-page-v184{box-sizing:border-box;width:min(100%,860px)!important;max-width:860px!important;margin-right:auto;margin-left:auto}
.note-editor-v184>.note-head-shell-v181{position:sticky!important;top:6px;align-self:center;z-index:90;margin-top:4px;margin-bottom:12px}
.note-editor-v184 .note-head-actions-v181 .note-actions-menu-v181{position:relative;z-index:80;flex:0 0 auto}
.note-editor-v184 .note-head-actions-v181 .note-actions-menu-v181[open]{z-index:100}
.note-editor-v184 .note-head-actions-v181 .note-actions-menu-v181>summary{position:relative;z-index:2}
.note-editor-v184 .note-head-actions-v181 .note-actions-menu-v181 .note-more-popover{box-sizing:border-box;display:grid;grid-template-columns:1fr!important;gap:2px;width:184px;min-width:184px;max-width:calc(100vw - 24px);padding:6px;z-index:120}
.note-editor-v184 .note-head-actions-v181 .note-actions-menu-v181 .note-more-popover button{box-sizing:border-box;display:flex;width:100%;height:38px;min-height:38px;align-items:center;justify-content:flex-start;gap:10px;padding:0 9px;border:0;border-radius:7px;background:transparent;color:var(--ink);font-size:13px;text-align:left;white-space:nowrap}
.note-editor-v184 .note-head-actions-v181 .note-actions-menu-v181 .note-more-popover button:hover{background:var(--accent-soft);color:var(--accent)}
.note-editor-v184 .note-head-actions-v181 .note-actions-menu-v181 .note-more-popover button .material-symbols-rounded{flex:0 0 18px;width:18px;font-size:18px;color:var(--muted)}
.note-editor-v184 .note-head-actions-v181 .note-actions-menu-v181 .note-more-popover button span:last-child{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@media(max-width:800px){
 .note-editor-v184>.note-head-shell-v181,.note-editor-v184>.note-page-v184{width:100%!important;max-width:100%!important}
 .note-editor-v184>.note-head-shell-v181{top:4px;margin-top:2px;margin-bottom:10px}
 .note-editor-v184 .note-head-actions-v181 .note-actions-menu-v181 .note-more-popover{width:176px;min-width:176px}
 .note-editor-v184 .note-head-actions-v181 .flow-share-people{box-sizing:border-box;flex:0 0 auto!important;width:auto!important;min-width:0;max-width:none!important;overflow:visible!important;white-space:nowrap}
}

/* v1.72.10 — Make the formatting control read as a compact labeled tool button. */
.note-editor-v184 .note-tools-toggle-v181{
 box-sizing:border-box;display:flex;flex:0 0 76px;width:76px;height:36px;min-width:76px;align-items:center;justify-content:center;gap:5px;
 padding:0 7px;border:1px solid color-mix(in srgb,var(--accent) 22%,var(--line));border-radius:10px;background:var(--accent-soft);color:var(--accent);cursor:pointer
}
.note-editor-v184 .note-tools-toggle-v181>.material-symbols-rounded:first-child{flex:0 0 auto;font-size:18px}
.note-editor-v184 .note-tools-toggle-v181 .note-tools-label-v186{display:block;font-size:12px;font-weight:650;line-height:1;white-space:nowrap}
.note-editor-v184 .note-tools-toggle-arrow-v181{position:static;flex:0 0 auto;font-size:16px!important;transition:transform .14s ease}
.note-editor-v184 .note-head-shell-v181.is-tools-open .note-tools-toggle-arrow-v181{transform:rotate(180deg)}
.note-editor-v184 .note-tools-toggle-v181:hover{background:color-mix(in srgb,var(--accent) 15%,var(--surface));border-color:color-mix(in srgb,var(--accent) 38%,var(--line))}
.note-editor-v184 .note-tools-toggle-v181:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
@media(max-width:800px){
 .note-editor-v184 .note-tools-toggle-v181{flex-basis:72px;width:72px;min-width:72px;height:34px;gap:4px;padding:0 6px}
}
@media(max-width:380px){
 .note-editor-v184 .note-tools-toggle-v181{flex-basis:66px;width:66px;min-width:66px;height:32px;gap:3px;padding:0 5px;border-radius:9px}
 .note-editor-v184 .note-tools-toggle-v181>.material-symbols-rounded:first-child{font-size:17px}
 .note-editor-v184 .note-tools-toggle-v181 .note-tools-label-v186{font-size:11px}
 .note-editor-v184 .note-tools-toggle-arrow-v181{font-size:14px!important}
}

/* v1.72.11 — Keep the Tools control text-only and compact. */
.note-editor-v184 .note-tools-toggle-v181{flex:0 0 56px;width:56px;min-width:56px;gap:0;padding:0 8px}
.note-editor-v184 .note-tools-toggle-v181 .note-tools-label-v186{font-size:12px;font-weight:650;letter-spacing:.01em}
@media(max-width:800px){.note-editor-v184 .note-tools-toggle-v181{flex-basis:52px;width:52px;min-width:52px}}
@media(max-width:380px){.note-editor-v184 .note-tools-toggle-v181{flex-basis:48px;width:48px;min-width:48px;padding:0 5px}.note-editor-v184 .note-tools-toggle-v181 .note-tools-label-v186{font-size:11px}}

/* v1.72.13 — Add a compact dropdown arrow beside the Tools label. */
.note-editor-v184 .note-tools-toggle-v181{flex-basis:66px;width:66px;min-width:66px;gap:2px;padding:0 6px}
.note-editor-v184 .note-tools-toggle-arrow-v181{display:block;position:static;flex:0 0 16px;width:16px;height:18px;font-size:17px!important;line-height:18px;transition:transform .14s ease}
@media(max-width:800px){.note-editor-v184 .note-tools-toggle-v181{flex-basis:62px;width:62px;min-width:62px}}
@media(max-width:380px){.note-editor-v184 .note-tools-toggle-v181{flex-basis:58px;width:58px;min-width:58px;padding:0 4px}.note-editor-v184 .note-tools-toggle-arrow-v181{flex-basis:15px;width:15px;font-size:16px!important}}
