/* R45: bounded profile, compact attendance counters, bottom action feedback. */
html[data-triq-app] body #triq-action-toast{position:fixed!important;inset:auto 12px calc(18px + env(safe-area-inset-bottom,0px))!important;margin:0 auto!important;width:max-content!important;max-width:calc(100vw - 32px)!important;box-sizing:border-box!important;padding:10px 16px!important;border:0!important;border-radius:14px!important;background:rgba(45,51,60,.94)!important;color:#fff!important;font-family:inherit!important;font-weight:500!important;line-height:18px!important;font-size:12px!important;text-align:center!important;box-shadow:0 4px 18px #0002!important;z-index:2147483647!important;pointer-events:none!important;overflow-wrap:anywhere!important;max-height:74px!important;overflow:hidden!important}
html[data-triq-app] body.f-has-nav #triq-action-toast{bottom:calc(82px + env(safe-area-inset-bottom,0px))!important}
html[data-triq-app] body .r42-counts{gap:7px!important;margin-top:8px!important}
html[data-triq-app] body .r42-counts>div{padding:8px 10px!important;min-height:44px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:5px!important;border-radius:12px!important}
html[data-triq-app] body .r42-counts small{font-size:11px!important;line-height:16px!important}
html[data-triq-app] body .r42-counts strong{font-size:21px!important;line-height:25px!important;margin:0!important}
html[data-triq-app] body .r45-team-attendance{margin-top:10px!important;min-height:42px!important}
html[data-triq-app] body .triq-readonly-profile{display:block!important;box-sizing:border-box!important;padding:18px!important;border:1px solid #e3dfda!important;border-radius:18px!important}
html[data-triq-app] body .triq-readonly-profile h2{font-size:16px!important;margin:16px 0 12px!important}
html[data-triq-app] body .triq-readonly-profile dl{margin:0!important}
html[data-triq-app] body .triq-readonly-profile dl>div{display:grid!important;grid-template-columns:minmax(70px,.7fr) minmax(0,1.5fr)!important;gap:12px!important;padding:13px 0!important;border-bottom:1px solid #e7e9ec!important}
html[data-triq-app] body .triq-readonly-profile dt{font-size:12px!important;color:#6b7580!important}
html[data-triq-app] body .triq-readonly-profile dd{margin:0!important;min-width:0!important;overflow-wrap:anywhere!important;font-size:13px!important}
html[data-triq-app] body .triq-readonly-profile>p{font-size:11px!important;line-height:1.5!important;color:#6b7580!important;margin:14px 0 0!important}
html[data-triq-app] body .triq-profile-photo{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:8px!important;margin:0 auto 16px!important;padding:8px!important;border:0!important;background:transparent!important;color:var(--triq-app-accent)!important;font-size:12px!important;min-height:44px!important}
html[data-triq-app] body .triq-profile-photo :is(img,.triq-photo-placeholder){display:grid!important;place-items:center!important;width:80px!important;height:80px!important;border-radius:50%!important;object-fit:cover!important;background:#f2f4f7!important;border:2px solid #dce2e8!important;font-size:36px!important}

/* WEB-R46: two-line activity preview; full details stay in Notifications. */
html[data-web-role] body .triq-message-stack{width:min(360px,calc(100vw - 32px))!important;max-width:calc(100vw - 32px)!important;right:16px!important;left:auto!important;top:82px!important;bottom:auto!important;transform:none!important;}
html[data-web-role] body .triq-live-notifications .triq-notification-toast{padding:10px 12px!important;border-radius:14px!important;border-left:3px solid var(--modern-accent,var(--accent,#1559b4))!important;max-height:none!important;min-height:0!important;background:rgba(255,255,255,.98)!important;box-shadow:0 8px 28px #172f4e1a!important;overflow:hidden!important;animation:none!important;}
html[data-web-role] body .triq-notification-toast .triq-notification-kind{display:none!important;}
html[data-web-role] body .triq-notification-toast>strong{display:block!important;font-size:12px!important;line-height:18px!important;margin:0 24px 0 0!important;white-space:nowrap!important;text-overflow:ellipsis!important;overflow:hidden!important;}
html[data-web-role] body .triq-notification-toast>p{display:block!important;font-size:12px!important;line-height:18px!important;margin:1px 0 0!important;max-height:18px!important;white-space:nowrap!important;text-overflow:ellipsis!important;overflow:hidden!important;}
html[data-web-role] body .triq-notification-toast .triq-notification-footer{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:8px!important;margin:5px 0 0!important;min-height:30px!important;}
html[data-web-role] body .triq-notification-footer time{font-size:10px!important;color:#627086!important;}
html[data-web-role] body .triq-notification-toast .triq-notification-open{width:auto!important;min-height:30px!important;padding:5px 10px!important;font-size:11px!important;}
html[data-web-role] body .triq-notification-toast .triq-message-close{position:absolute!important;right:5px!important;top:4px!important;min-width:24px!important;min-height:24px!important;padding:0!important;font-size:18px!important;}
@media(max-width:480px){html[data-web-role] body .triq-message-stack{right:12px!important;top:70px!important;width:calc(100vw - 24px)!important;max-width:calc(100vw - 24px)!important;}}
