/* iAware mobile navigation — 2026-10-23 */
#tm-dialog-mobile { --iaw-drawer-width: min(90vw, 390px); }
#tm-dialog-mobile::before { background: rgba(13, 32, 49, .48); }
#tm-dialog-mobile .uk-offcanvas-bar {
 width: var(--iaw-drawer-width); padding: 82px 22px 28px;
 padding-bottom: max(28px, env(safe-area-inset-bottom));
 background: #f9fcff; color: #18364b; --uk-inverse: dark;
 box-shadow: -12px 0 48px rgba(13,32,49,.18); overscroll-behavior: contain;
}
#tm-dialog-mobile.uk-open > .uk-offcanvas-reveal { width: var(--iaw-drawer-width); }
#tm-dialog-mobile .uk-offcanvas-bar::before {
 content: 'Explore iAware'; position: absolute; top: 26px; left: 26px;
 color: #18364b; font: 600 26px/1.2 Georgia, serif; letter-spacing: -.6px;
}
#tm-dialog-mobile .uk-offcanvas-close {
 top: 18px; right: 18px; width: 44px; height: 44px; padding: 12px;
 box-sizing: border-box; border-radius: 50%; background: #e9f2f8; color: #18364b;
}
#tm-dialog-mobile .uk-nav > li { margin: 2px 0; }
#tm-dialog-mobile .uk-nav > li > a {
 min-height: 48px; box-sizing: border-box; padding: 11px 14px;
 border-radius: 10px; color: #18364b; font-size: 18px;
 font-weight: 600; line-height: 1.45; text-transform: none; letter-spacing: 0;
 transition: background-color .16s, color .16s;
}
#tm-dialog-mobile .uk-nav > li.uk-active > a:not(.button-donate),
#tm-dialog-mobile .uk-nav > li > a:not(.button-donate):hover {
 background: #e4f1fc; color: #125f96;
}
#tm-dialog-mobile .uk-nav-parent-icon { color: #4a7592; }
#tm-dialog-mobile .uk-nav-sub { margin: 4px 0 10px 14px; padding: 0 0 0 15px; border-left: 2px solid #d6e6f2; }
#tm-dialog-mobile .uk-nav-sub a {
 display: flex; align-items: center; min-height: 44px; box-sizing: border-box;
 padding: 7px 8px; color: #405d72; font-size: 15px; line-height: 1.5;
 font-weight: 400; text-transform: none; letter-spacing: 0; border-radius: 6px;
}
#tm-dialog-mobile .uk-nav-sub a:hover,
#tm-dialog-mobile .uk-nav-sub .uk-active > a { background: #e4f1fc; color: #125f96; }
#tm-dialog-mobile .uk-nav > li > a.button-donate {
 justify-content: center; margin-top: 20px; padding: 14px; min-height: 54px;
 background: #176da6; color: #fff; border-radius: 12px; font-weight: 700;
 box-shadow: 0 5px 14px rgba(23,109,166,.16);
}
#tm-dialog-mobile .uk-nav > li > a.button-donate:hover { background: #125887; }
#tm-dialog-mobile a:focus-visible, #tm-dialog-mobile button:focus-visible {
 outline: 3px solid #176da6; outline-offset: 3px;
}
@media (max-width: 959px) {
 .uk-offcanvas-flip.uk-offcanvas-container-animation:has(#tm-dialog-mobile.uk-open) { left: calc(-1 * min(90vw, 390px)); }
}
@media (prefers-reduced-motion: reduce) {
 #tm-dialog-mobile *, #tm-dialog-mobile::before { transition: none !important; animation: none !important; }
 .uk-offcanvas-container:has(#tm-dialog-mobile) { transition: none !important; }
}
