/* Workspace header spacing on narrow screens. */
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:900px){.app-header{gap:12px}.header-actions{gap:10px}.global-search{max-width:200px}}
@media(max-width:650px){.app-header{gap:8px}.header-actions{gap:14px;flex:none}.notification-button{min-width:40px;min-height:40px;justify-content:center}.notification-button svg{transform:translateY(4px)}.account{min-width:40px;min-height:40px;justify-content:center}.global-search{margin-left:auto;min-width:40px;justify-content:center}#breadcrumbs{min-width:0;overflow-wrap:anywhere;font-size:13px}}
@media(max-width:360px){.app-header{gap:6px;padding-left:10px;padding-right:10px}.header-actions{gap:10px}.global-search{display:none}.account>b{width:30px;height:30px}}
/* New data loading: a thin purple bar sweeps along the top while it loads. */
.epm-refresh-bar{position:fixed;top:0;left:0;right:0;z-index:1000;height:3px;overflow:hidden;pointer-events:none;opacity:0;transition:opacity .2s ease-out}
.epm-refresh-bar.is-loading{opacity:1}
.epm-refresh-bar::before{content:"";position:absolute;top:0;bottom:0;left:-40%;width:40%;border-radius:15px;background:#5850ec;animation:epm-refresh-sweep 1.1s cubic-bezier(.4,0,.2,1) infinite}
@keyframes epm-refresh-sweep{to{left:100%}}
/* Status pill, bottom right: hidden while idle, spinning ring while loading, green tick when updated, then it fades out. */
.epm-live{position:fixed;right:20px;bottom:20px;z-index:1000;display:flex;align-items:center;gap:8px;max-width:calc(100vw - 40px);padding:8px 14px;border:1px solid #d5d9e2;border-radius:15px;background:#fff;color:#1b1530;font-size:13px;font-weight:600;box-shadow:0 6px 20px #1b153014;pointer-events:none;transition:opacity .25s ease-out,transform .25s ease-out}
.epm-live[data-state=idle]{opacity:0;transform:translateY(8px)}
.epm-live-mark{flex:none;width:10px;height:10px;border-radius:50%;background:#1fb978;box-shadow:0 0 0 3px #1fb97833}
.epm-live[data-state=loading]{border-color:#5850ec}
.epm-live[data-state=loading] .epm-live-mark{width:12px;height:12px;background:none;border:2px solid #d8d6fb;border-top-color:#5850ec;box-shadow:none;animation:epm-live-spin .8s linear infinite}
.epm-live[data-state=done]{border-color:#1fb978}
.epm-live[data-href]:not([data-href='']){pointer-events:auto;cursor:pointer}
.epm-live[data-href]:not([data-href='']) .epm-live-text{text-decoration:underline;text-underline-offset:3px}
.epm-live[data-state=done] .epm-live-mark{width:12px;height:12px;background:#1fb978 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 6.2l2 2 4-4.4' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat;box-shadow:none}
@keyframes epm-live-spin{to{transform:rotate(360deg)}}
@media (max-width:640px){.epm-live{right:12px;bottom:12px}}
@media (prefers-reduced-motion:reduce){.epm-refresh-bar::before{animation:none;left:0;width:100%}.epm-live[data-state=loading] .epm-live-mark{animation:none}.epm-live{transition:none}}
