/* Nanaimo Movers 24.10.4 — readability, Messenger contrast, floating support controls */
body.nm-theme{font-size:14px;line-height:1.45}
body.nm-theme .page,body.nm-theme .cardBody,body.nm-theme .contentCard,body.nm-theme .notice{font-size:14px}
body.nm-theme label{font-size:12px!important;font-weight:800!important;line-height:1.35}
body.nm-theme input,body.nm-theme select,body.nm-theme textarea{font-size:14px!important;line-height:1.4}
body.nm-theme .btn{font-size:12px!important;font-weight:800!important;line-height:1.2}
body.nm-theme small{font-size:11px!important;line-height:1.35}
body.nm-theme table th,body.nm-theme table td{font-size:12px!important;line-height:1.4}
body.nm-theme .navItem,body.nm-theme .sidebar button{font-size:12px;font-weight:750}
body.nm-theme .eyebrow{font-size:10px!important;font-weight:900!important}
body.nm-theme .pill{font-size:10px!important;font-weight:850!important}

/* Messenger: high contrast on both phones, not only the sender's screen */
.nmmsg-thread b{font-size:14px!important;font-weight:850!important}.nmmsg-thread small{font-size:11.5px!important;opacity:.95}
.nmmsg-head-name b{font-size:15px!important;font-weight:850!important}.nmmsg-head-name small{font-size:11.5px!important;opacity:.95}
.sender{font-size:11.5px!important;font-weight:800!important;opacity:.95}
.nmmsg-bubble{font-size:15px!important;line-height:1.48!important;font-weight:600!important;background:#e4e6eb!important;color:#111827!important;box-shadow:0 1px 0 rgba(0,0,0,.04)}
.nmmsg-msgrow.mine .nmmsg-bubble{background:#0866ff!important;color:#fff!important;font-weight:650!important}
.nmmsg-bubble.unsent{background:transparent!important;color:var(--muted)!important;border:1px solid var(--line)}
.nmmsg-meta,.nmmsg-seen{font-size:10.5px!important;font-weight:650!important;opacity:.95}
.nmmsg-composer textarea{font-size:16px!important;font-weight:550!important;color:var(--text)!important}
.nmmsg-send{font-size:19px!important}
.nmmsg-attachment.image{display:block!important;max-width:min(420px,100%);border-radius:14px;overflow:hidden;background:#111!important}
.nmmsg-attachment.image img{display:block!important;width:auto;max-width:100%!important;height:auto;max-height:420px!important;object-fit:contain!important;margin:0 auto}
.nmmsg-file-preview{align-items:flex-start!important}.nmmsg-file-thumb{display:grid!important;gap:4px!important;padding:0!important;border:0!important;background:transparent!important;width:92px}.nmmsg-file-thumb img{width:92px;height:92px;object-fit:cover;border-radius:12px;border:1px solid var(--line)}.nmmsg-file-thumb small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:10px!important}.nmmsg-file-chip{font-size:12px!important}
html[data-theme="dark"] .nmmsg-bubble,body.nm-theme-dark .nmmsg-bubble{background:#3a3b3c!important;color:#f8fafc!important;border:1px solid rgba(255,255,255,.08)}
html[data-theme="dark"] .nmmsg-msgrow.mine .nmmsg-bubble,body.nm-theme-dark .nmmsg-msgrow.mine .nmmsg-bubble{background:#0866ff!important;color:white!important;border-color:#0866ff!important}

/* Help + Report Problem expand briefly, then become small non-obstructive icons. */
.helpFab,.nm249-report-fab{transition:width .2s ease,padding .2s ease,opacity .2s ease,transform .2s ease;min-height:42px;white-space:nowrap}
.helpFab{right:14px!important;bottom:150px!important;z-index:84!important}.nm249-report-fab{right:14px!important;bottom:102px!important;z-index:85!important}
.helpFab.compact,.nm249-report-fab.compact{width:40px!important;height:40px!important;min-width:40px!important;min-height:40px!important;padding:0!important;display:grid!important;place-items:center!important;border-radius:50%!important;font-size:0!important;overflow:hidden;right:8px!important;bottom:auto!important}.helpFab.compact{top:calc(50% - 46px)!important}.nm249-report-fab.compact{top:calc(50% + 4px)!important}
.helpFab.compact .nm-help-label,.nm249-report-fab.compact .nm249-report-label{display:none!important}.helpFab .nm-help-icon,.nm249-report-fab>span:first-child{font-size:17px!important;line-height:1}
.nm-help-overlay{position:fixed;inset:0;background:rgba(4,16,28,.55);z-index:5000;display:grid;place-items:center;padding:18px}.nm-help-modal{width:min(540px,94vw);max-height:88dvh;overflow:auto;background:var(--panel,#fff);color:var(--text);border:1px solid var(--line);border-radius:18px;box-shadow:0 25px 80px rgba(0,0,0,.3);padding:18px}.nm-help-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;margin-bottom:12px}.nm-help-head h2{margin:0}.nm-help-head button{border:0;background:transparent;color:inherit;font-size:24px}
@media(max-width:700px){
 body.nm-theme{font-size:15px}body.nm-theme .page,body.nm-theme .cardBody{font-size:15px}body.nm-theme label{font-size:13px!important}body.nm-theme input,body.nm-theme select,body.nm-theme textarea{font-size:16px!important}body.nm-theme .btn{font-size:13px!important}body.nm-theme small{font-size:12px!important}
 .nmmsg-bubble{font-size:16px!important;line-height:1.48!important}.nmmsg-thread b{font-size:15px!important}.nmmsg-thread small{font-size:12.5px!important}.nmmsg-meta,.nmmsg-seen{font-size:11px!important}
 .helpFab{bottom:calc(158px + env(safe-area-inset-bottom))!important}.nm249-report-fab{bottom:calc(108px + env(safe-area-inset-bottom))!important}.helpFab.compact,.nm249-report-fab.compact{width:38px!important;height:38px!important;min-width:38px!important;min-height:38px!important;opacity:.88}
}

/* 24.10.9 Messenger surfaces use the active app theme flag. */
:root[data-nm-theme="dark"] :is(.nmmsg-shell,.nmmsg-left,.nmmsg-main,.nmmsg-details,.nmmsg-chat-head,.nmmsg-composer,.nmmsg-actions,.nmmsg-picker,.nmmsg-reactions button,.nmmsg-search-box,.nmmsg-file-preview span){background-color:#0e1b27!important;color:#f5f9fc!important;border-color:#294052!important}
:root[data-nm-theme="dark"] :is(.nmmsg-thread.selected,.nmmsg-thread:hover,.nmmsg-search input,.nmmsg-search-launch,.nmmsg-composer textarea,.nmmsg-replybar,.nmmsg-file-preview,.nmmsg-reply-quote,.iconBtn){background-color:#132332!important;color:#f5f9fc!important;border-color:#294052!important}
:root[data-nm-theme="dark"] :is(.nmmsg-title h2,.nmmsg-thread,.nmmsg-head-name,.nmmsg-head-name b,.nmmsg-bubble,.nmmsg-composer textarea,.nmmsg-actions button,.nmmsg-picker button,.nmmsg-search-box button){color:#f5f9fc!important}
:root[data-nm-theme="dark"] .nmmsg-bubble{background:#1a2a39!important;color:#f5f9fc!important;border:1px solid #294052!important}
:root[data-nm-theme="dark"] .nmmsg-msgrow.mine .nmmsg-bubble{background:#0866ff!important;color:#fff!important;border-color:#0866ff!important}
:root[data-nm-theme="dark"] :is(.nmmsg-thread-copy small,.nmmsg-head-name small,.sender,.nmmsg-meta,.nmmsg-seen){color:#bdcbd8!important}

/* Gmail: keep the folder rail on laptop widths; show every folder on phones. */
@media(max-width:900px) and (min-width:761px){.nm-mail-workspace{grid-template-columns:190px minmax(0,1fr)!important}.nm-mail-nav{position:sticky!important;display:flex!important;flex-direction:column!important;overflow:visible!important}.nm-mail-nav button{white-space:normal!important}}
@media(max-width:760px){.nm-mail-workspace{grid-template-columns:minmax(0,1fr)!important;min-height:0!important}.nm-mail-nav{position:static!important;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;overflow:visible!important;align-self:stretch!important}.nm-mail-nav .compose{grid-column:1/-1;margin-bottom:2px!important}.nm-mail-nav button{min-width:0;white-space:normal!important}.nm-mail-nav .count{min-width:20px}}

/* Gmail dark mode: panels, folder rail, search, rows and compose controls. */
:root[data-nm-theme="dark"] :is(.nm-mail-nav,.nm-mail-main,.nm-mail-toolbar,.nm-mail-history,.nm-mail-compose,.nm-mail-replybox,.nm-mail-attachment,.nm-mail-customer-files,.nm-mail-customer-file,.nm-connection-card,.nm-mail-toolbar-menu){background:#0e1b27!important;color:#f5f9fc!important;border-color:#294052!important}
:root[data-nm-theme="dark"] .nm-mail-workspace{color:#f5f9fc!important}
:root[data-nm-theme="dark"] :is(.nm-mail-nav button,.nm-mail-icon-btn,.nm-mail-menu-item,.nm-mail-big-action,.nm-mail-row){color:#eaf2f9!important;border-color:#294052!important}
:root[data-nm-theme="dark"] :is(.nm-mail-nav button:hover,.nm-mail-nav button.active,.nm-mail-icon-btn:hover,.nm-mail-menu-item:hover,.nm-mail-big-action:hover){background:#16304a!important;color:#fff!important}
:root[data-nm-theme="dark"] .nm-mail-nav .compose{background:#1d4e78!important;color:#fff!important}
:root[data-nm-theme="dark"] :is(.nm-mail-search input,.nm-mail-compose input,.nm-mail-compose textarea,.nm-mail-compose select,.nm-mail-replybox textarea){background:#132332!important;color:#f5f9fc!important;border-color:#294052!important}
:root[data-nm-theme="dark"] :is(.nm-mail-row.read,.nm-mail-row.unread,.nm-mail-row:hover){background:#132332!important;color:#eaf2f9!important}
:root[data-nm-theme="dark"] .nm-mail-row.unread{border-left-color:#65a9ff!important}
:root[data-nm-theme="dark"] :is(.nm-mail-row .nm-mail-from,.nm-mail-row .nm-mail-subject,.nm-mail-row .nm-mail-snippet,.nm-mail-row .nm-mail-time,.nm-mail-nav .count,.nm-mail-live,.nm-mail-empty,.nm-mail-message-meta,.nm-mail-history){color:#bdcbd8!important}
:root[data-nm-theme="dark"] :is(.nm-mail-group-title,.nm-mail-group-title.read-title,.nm-mail-group-title.unread-title){background:#132332!important;color:#eaf2f9!important;border-color:#294052!important}
:root[data-nm-theme="dark"] .nm-mail-empty b{color:#f5f9fc!important}

/* Physical laptops keep desktop navigation even when the Safari window is narrow. */
@media(hover:hover) and (pointer:fine){body.nm-theme .mobileNav{display:none!important}}