/* Light, precise controls reuse the desktop tool rail's outline and line icon. */
body:is([data-surface="mini"],[data-surface="pc"]) #floating-notes-trigger.note-launcher-refined{display:inline-flex;align-items:center;justify-content:center;gap:4px;box-sizing:border-box;width:52px;min-width:52px;min-height:60px;padding:8px;border:1px solid oklch(88% .022 252)!important;border-radius:15px;background:oklch(99% .005 252)!important;color:oklch(45% .09 255)!important;box-shadow:0 3px 12px oklch(30% .045 252 / .06);font-size:11px!important;font-weight:500;line-height:1.2;transition:background-color 160ms ease-out,border-color 160ms ease-out,transform 160ms ease-out}
body:is([data-surface="mini"],[data-surface="pc"]) #floating-notes-trigger.note-launcher-refined svg{display:block;width:21px;height:21px;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex:none}
body[data-surface="mini"].has-note-launcher .mini-title-group{flex:1;min-width:0}
body[data-surface="mini"].has-note-launcher #mini-page-title{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
body[data-surface="mini"] .note-launcher-slot{display:flex;align-items:center;justify-content:center;flex:0 0 44px;width:44px;height:44px}
body[data-surface="mini"] .mini-top>.mini-capsule{flex:none}
body[data-surface="mini"] .note-launcher-slot #floating-notes-trigger{position:static!important;inset:auto!important;transform:none!important;width:44px!important;min-width:44px!important;height:44px!important;min-height:44px!important;padding:11px!important;margin:0!important;border-radius:12px;box-shadow:none;flex-direction:row;z-index:auto}
body[data-surface="mini"] .note-launcher-slot #floating-notes-trigger>span{display:none}
body:is([data-surface="mini"],[data-surface="pc"]) #floating-notes-trigger.note-launcher-refined:focus-visible{outline:2px solid var(--control-focus,#2865dc);outline-offset:3px}
@media(hover:hover){body:is([data-surface="mini"],[data-surface="pc"]) #floating-notes-trigger.note-launcher-refined:hover{background:oklch(95% .02 252)!important;border-color:oklch(78% .055 252)!important}}
body:is([data-surface="mini"],[data-surface="pc"]) #floating-notes-trigger.note-launcher-refined:active{background:oklch(93% .027 252)!important}
@media(prefers-reduced-motion:reduce){body:is([data-surface="mini"],[data-surface="pc"]) #floating-notes-trigger.note-launcher-refined{transition:none}}
body[data-surface="mini"].has-note-launcher .mini-top{position:sticky;top:0;z-index:40;background:var(--canvas,oklch(98% .008 252))}
body[data-surface="pc"] .note-launcher-slot{display:flex;align-items:center;justify-content:center;flex:none;margin-left:4px}
body[data-surface="pc"] .note-launcher-slot #floating-notes-trigger{position:static!important;inset:auto!important;transform:none!important;flex-direction:row;width:auto;min-width:80px;min-height:44px;height:44px;padding:10px 14px;gap:8px;border-radius:12px;box-shadow:none;font-size:13px!important}

/* The desktop note launcher is a navigation entry, like the neighboring tools. */
body[data-surface=pc] .web-header .note-launcher-slot #floating-notes-trigger.note-launcher-refined{border:0!important;background:transparent!important;box-shadow:none!important;border-radius:8px;min-height:44px;min-width:0;padding:10px 8px;gap:8px;font-size:14px!important;font-weight:500;color:#526e90!important}
body[data-surface=pc] .web-header .note-launcher-slot #floating-notes-trigger.note-launcher-refined:is(:hover,:active){border:0!important;background:transparent!important;box-shadow:none!important;color:#245fbc!important}
