/* Fixed navigation geometry, independent of the current title. */
.bottom-controls .page-switch{display:grid;grid-template-columns:36px 144px 36px 36px 36px;gap:2px;width:306px;min-width:306px;max-width:306px;height:50px;padding:5px;flex:0 0 306px}
.bottom-controls .page-switch #pageButton{width:144px;min-width:144px;max-width:144px;display:block;overflow:hidden;padding:0 8px;font-size:14px}
.bottom-controls .page-switch .icon-button{width:36px;min-width:36px;height:36px;flex:none}
.bottom-controls .page-switch #pageName{display:block;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.widget-morningHeader{border-radius:22px 29px 24px 27px;background:#fffef4f5!important}
.morning-header{display:flex!important;flex-direction:row;align-items:center;justify-content:center;gap:clamp(18px,2.4vw,44px);padding:10px 24px!important;font-size:var(--morning-size,44px);line-height:1.12;overflow:hidden!important}
.morning-header .morning-greeting{font-size:inherit;line-height:inherit;flex:0 0 auto;color:#3d6148;white-space:nowrap}
.morning-header .morning-calendar{display:block;flex:0 0 auto;padding:0;border:0;font-size:inherit;line-height:inherit;white-space:nowrap;color:#885439;letter-spacing:-.025em}
@media(max-width:1000px){.bottom-controls .page-switch{grid-template-columns:34px 112px 34px 34px 34px;width:266px;min-width:266px;max-width:266px;flex-basis:266px}.bottom-controls .page-switch #pageButton{width:112px;min-width:112px;max-width:112px}.bottom-controls .page-switch .icon-button{width:34px;min-width:34px}.morning-header{padding:8px 18px!important;gap:18px}}

/* Grouped, bounded tool menu: no internal scrollbar. */
#toolbar{display:flex;flex-direction:column;position:fixed;left:auto;right:18px;bottom:83px;transform:none;width:530px;max-width:calc(100vw - 36px);height:auto;max-height:none;padding:16px;gap:12px;overflow:visible;z-index:70}
#toolbar[hidden]{display:none!important}#toolbar .tool-menu-heading{display:flex;align-items:center;justify-content:space-between;padding:0 3px;color:#344c3a;font-size:17px}#toolbar .tool-menu-heading .icon-button{width:30px;height:30px}
#toolbar .tool-categories{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;padding:5px;border-radius:14px;background:#edf0e5}#toolbar .tool-categories button{border:0;background:transparent;color:#596954;min-height:36px;padding:8px 5px;border-radius:10px;font:500 14px 'Segoe UI',sans-serif;cursor:pointer}#toolbar .tool-categories button[aria-selected=true]{background:#fffdf6;color:#304e37;box-shadow:0 2px 6px #32482b12}#toolbar button:focus-visible{outline:2px solid #6a875b;outline-offset:2px}
#toolbar .tool-category-content{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-auto-rows:94px;min-height:194px;gap:6px}#toolbar .tool{min-width:0;min-height:0;width:100%;height:100%;padding:8px 4px;gap:7px}#toolbar .tool span{font-size:13px;line-height:1.15;overflow-wrap:anywhere;text-align:center}#toolbar .tool .painted-icon{width:35px;height:35px;flex:none}
@media(max-height:650px){#toolbar{bottom:73px;padding:10px;gap:7px}#toolbar .tool-category-content{grid-auto-rows:70px;min-height:146px}#toolbar .tool .painted-icon{width:28px;height:28px}#toolbar .tool-categories button{min-height:30px;padding:6px 4px}}
@media(max-width:560px){#toolbar{right:10px;max-width:calc(100vw - 20px);padding:10px}#toolbar .tool-categories button{font-size:12px}#toolbar .tool span{font-size:11px}}
