/* Scoped fixes: compact shared toolbar and explicit financial unknown states. */
#topbar.topbar{height:auto!important;min-height:62px!important;display:flex!important;flex-wrap:wrap!important;align-items:center!important;gap:8px!important;padding:10px 16px!important;overflow:visible!important}
#topbar .topbar-title{min-width:0!important;flex:1 1 240px!important;max-width:none!important;display:flex!important;flex-direction:column!important;gap:3px!important;line-height:1.25!important}
#topbar #page-title{font-size:clamp(18px,1.5vw,25px)!important;line-height:1.2!important;white-space:normal!important;text-overflow:clip!important;overflow:visible!important;overflow-wrap:anywhere!important}
#topbar .page-sub{display:none!important}
#topbar .search-wrap{flex:1 1 220px!important;min-width:160px!important;max-width:340px!important}
#topbar .topbar-sync-wrap{position:static!important;display:flex!important;flex-direction:row!important;align-items:center!important;gap:6px!important;flex:0 0 auto!important}
#topbar #last-sync-info{display:none!important}
#topbar .topbar-btn,#topbar .sidebar-toggle{min-height:36px!important;height:36px!important;padding:7px 10px!important;font-size:12px!important;line-height:1.2!important;white-space:nowrap!important;flex:0 0 auto!important;max-width:none!important}
#topbar .sbadge{flex:0 0 auto!important;white-space:nowrap!important}
#topbar :focus-visible{outline:2px solid var(--primary,#2563eb)!important;outline-offset:3px!important}
.vg-kpi-l{white-space:normal;line-height:1.35}.vg-fn-l{overflow-wrap:anywhere;min-width:0}.vg-nc{white-space:normal}
@media(max-width:700px){#topbar.topbar{gap:7px!important;padding:8px 10px!important}#topbar .topbar-title{flex-basis:calc(100% - 80px)!important}#topbar .search-wrap{order:10!important;flex-basis:100%!important;max-width:none!important}#topbar .topbar-btn,#topbar .sidebar-toggle{min-height:40px!important;height:40px!important}.vg-seg{display:flex;flex-wrap:wrap;gap:6px}.vg-head{flex-wrap:wrap;gap:12px}.filters-row{flex-wrap:wrap}.filters-row>label{min-width:0;max-width:100%}}

.team-presence-device{font-size:12px;color:var(--text-secondary,#64748b);line-height:1.4;margin-top:4px;overflow-wrap:anywhere}

.refund-history{background:var(--white,#fff);border:1px solid var(--border,#e2e8f0);border-radius:12px;padding:18px}.refund-history-head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.refund-history h2{font-size:18px;margin:0 0 6px}.refund-history p{color:var(--text2,#64748b);font-size:13px}.refund-history-notice{padding:12px;background:#eff6ff;color:#1e40af!important;border-radius:8px}.refund-history-table{overflow-x:auto;max-width:100%}.refund-history-table td{white-space:normal;min-width:100px;max-width:260px;overflow-wrap:anywhere}.refund-history-error{padding:16px;color:#b91c1c;border:1px solid #fecaca;border-radius:8px}

.refund-history-tabs{display:flex;gap:4px;overflow-x:auto;border-bottom:1px solid var(--border,#e2e8f0);margin-bottom:16px}.refund-history-tabs button{flex:0 0 auto;padding:10px 14px;min-height:44px;background:transparent;border:0;border-bottom:3px solid transparent;color:var(--text2,#64748b);font:inherit;font-size:13px;cursor:pointer;white-space:nowrap}.refund-history-tabs button[aria-pressed=true]{color:var(--blue,#2563eb);border-bottom-color:var(--blue,#2563eb);font-weight:700}
