.team-filter { display:flex; align-items:center; justify-content:flex-end; gap:10px; margin:0 0 14px; font-size:13px; color:var(--muted); }
.team-filter select { min-width:170px; max-width:65vw; border:1px solid var(--line); background:var(--surface); color:var(--ink); border-radius:8px; padding:7px 10px; }
.account-pagination { display:flex; align-items:center; flex-wrap:wrap; gap:8px; padding:12px 16px; border-top:1px solid var(--line); color:var(--muted); font-size:12px; }
.account-pagination select { margin-left:4px; padding:4px 7px; border:1px solid var(--line); border-radius:6px; background:var(--surface-inset); color:var(--ink); }
.account-page-range { margin-left:auto; }
.account-pagination button { min-height:30px; font-size:11px; }
.wallet-metrics { grid-template-columns:repeat(4,minmax(0,1fr)); }
.wallet-metrics .metric { min-width:0; }
.wallet-metrics .metric-number { font-size:clamp(18px,2.2vw,29px); overflow-wrap:anywhere; }
.wallet-metrics .metric:nth-child(3) .metric-number { color:var(--accent); }
.header-top-up { min-height:32px; white-space:nowrap; padding-inline:12px; }
.team-profile-search { margin:0 0 12px; }
.team-profile-search .search { max-width:360px; width:100%; }
.profile-owner-badge { display:inline-block; max-width:100%; padding:4px 9px; border-radius:4px; background:#ffdf38; color:#211900; font-size:12px; font-weight:730; line-height:1.25; overflow-wrap:anywhere; }
.deposit-qr { width:min(184px,100%); padding:6px; border-radius:10px; background:white; margin:0 auto 15px; }
.deposit-qr svg { width:100%; display:block; }
.deposit-address { overflow-wrap:anywhere; font-family:monospace; }
.priority { font-size:11px; font-weight:650; border-radius:5px; padding:4px 8px; background:var(--surface-inset); }
.priority-high { color:var(--danger); }
.priority-medium { color:var(--warn); }
.ticket-thread { padding:18px; }
.ticket-status-form { display:flex; gap:10px; align-items:end; margin-bottom:16px; flex-wrap:wrap; }
.ticket-status-form label { display:grid; gap:5px; color:var(--muted); font-size:12px; }
.ticket-status-form select { padding:7px 10px; border:1px solid var(--line); border-radius:8px; color:var(--ink); background:var(--surface-inset); }
.ticket-messages { display:flex; flex-direction:column; gap:12px; }
.ticket-post { align-self:flex-start; width:fit-content; min-width:min(205px,100%); max-width:min(680px,82%); padding:13px 15px; border:1px solid var(--line); background:var(--surface-inset); border-radius:12px 12px 12px 3px; }
.ticket-post.own { align-self:flex-end; background:var(--accent-soft); border-color:color-mix(in srgb,var(--accent) 42%,var(--line)); border-radius:12px 12px 3px 12px; }
.ticket-post header { display:flex; flex-wrap:wrap; justify-content:space-between; gap:4px 14px; margin-bottom:6px; }
.ticket-post.own header strong { color:var(--accent); }
.ticket-post header small { color:var(--muted); }
.ticket-post p { white-space:pre-wrap; overflow-wrap:anywhere; margin:0; }
.ticket-post img { display:block; max-width:min(460px,100%); max-height:380px; object-fit:contain; margin-top:10px; border-radius:5px; }
.ticket-reply { margin-top:16px; }
.ticket-closed { color:var(--muted); margin:15px 0 0; }
.unread-dot { display:inline-block; vertical-align:middle; width:8px; height:8px; flex:none; margin-inline-start:3px; border-radius:50%; background:#f43f5e; }
.support-nav-dot { margin-inline-start:auto; }
.settings-password { border-top:1px solid var(--line); margin-top:18px; padding-top:18px; }
.settings-password h3 { margin:0; font-size:15px; }
.notification-control { position:relative; }
.bell .notification-indicator {
  top:-6px; right:-7px; width:auto; min-width:17px; height:17px; display:grid; place-items:center; padding:0 3px;
  color:#281412; background:#ff876f; border:1px solid var(--surface); font-size:10px; font-weight:800; line-height:1; border-radius:10px;
}
.notification-panel { position:absolute; z-index:8; top:calc(100% + 12px); right:-12px; width:min(390px,calc(100vw - 26px)); border:1px solid var(--line); border-radius:13px; color:var(--ink); background:var(--surface); box-shadow:0 12px 34px #09111c45; }
.notification-header { display:flex; justify-content:space-between; align-items:center; gap:10px; padding:13px 14px; border-bottom:1px solid var(--line); }
.notification-header h2 { font-size:15px; margin:0 0 3px; }
.notification-header small { color:var(--muted); font-size:11px; }
.notification-actions { display:flex; gap:6px; flex-wrap:wrap; justify-content:flex-end; }
.notification-read { border:0; border-radius:6px; background:var(--accent-soft); color:var(--accent); padding:6px 8px; font-size:11px; font-weight:650; white-space:nowrap; cursor:pointer; }
.notification-delete { background:var(--danger-soft); color:var(--danger); }
.notification-read[aria-disabled="true"] { opacity:.65; cursor:default; }
#notification-list { max-height:min(56vh,380px); overflow:auto; overscroll-behavior:contain; }
.notification-panel .activity-list { padding:0; }
.notification-panel .activity-link { position:relative; padding:11px 14px; }
.notification-panel .activity-link:hover,.notification-panel .activity-link.unread { background:var(--surface-inset); }
.notification-panel .activity-link.unread .activity-info strong::after { content:""; display:inline-block; width:6px; height:6px; margin-left:7px; border-radius:50%; background:var(--accent); }
.notification-error { padding:10px 14px; border-top:1px solid var(--line); color:var(--danger); }
:root[data-theme="light"] :is(.portal-hero,.dashboard-hero,.admin-hero) { background:linear-gradient(110deg,#f0f6e8,#e5efde); color:#142416; border:1px solid #d9e6d2; }
:root[data-theme="light"] :is(.portal-hero,.dashboard-hero,.admin-hero) p { color:#425644; }
:root[data-theme="light"] :is(.portal-hero,.dashboard-hero) :is(.hero-banner,img) { content:url('/syndi-banner-light.webp'); mix-blend-mode:normal; }
:root[data-theme="light"] .dashboard-hero .button.ghost,:root[data-theme="light"] .admin-hero .button.ghost { color:#233524; border-color:#596e56; }
:root[data-theme="light"] :is(.dashboard-hero,.portal-hero,.admin-hero) :is(.meta-tag,.admin-badge) { background:#fff7; color:#384f3a; border-color:#cad9c5; }
@media (max-width:800px) { .wallet-metrics { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width:640px) { .notification-control { position:static; } .notification-panel { right:12px; top:calc(100% + 7px); } }
@media (max-width:360px) { .header-actions { gap:4px; } .header-profile-text { max-width:74px; min-width:0; } .header-profile-text strong { overflow:hidden; text-overflow:ellipsis; } }
:root[data-theme="light"] .login-story { color:#142416; background:linear-gradient(110deg,#f0f6e8,#e5efde); }
:root[data-theme="light"] .login-story p { color:#425644; }
:root[data-theme="light"] .login-banner { content:url('/syndi-banner-light.webp'); mix-blend-mode:normal; }
:root[data-theme="light"] .brand-mark { background:#eaf3e3; content:url('/syndi-avatar-light.webp'); }
