.role-shell{--role-accent:#168166;--role-tint:#edf8f2;--role-border:#cfe9dd}
.role-shell.account-agent{--role-accent:#65519a;--role-tint:#f3effb;--role-border:#ded4ee}
.role-shell.account-admin,.role-shell.account-finance,.role-shell.account-audit{--role-accent:#2d6289;--role-tint:#eef5fb;--role-border:#cedfeb}
.role-shell[data-theme=dark]{--role-accent:#80ddbd;--role-tint:#17372e;--role-border:#31584b}
.role-shell.account-agent[data-theme=dark]{--role-accent:#c8b6f3;--role-tint:#302742;--role-border:#514264}
.role-shell.account-admin[data-theme=dark],.role-shell.account-finance[data-theme=dark],.role-shell.account-audit[data-theme=dark]{--role-accent:#9dcff0;--role-tint:#203345;--role-border:#36536b}
.role-shell .sidebar{overflow-y:auto}
.role-shell .nav-label{margin-top:30px;color:var(--role-accent);font-size:.69em;letter-spacing:.07em}
.role-shell .side-nav a.active{color:var(--role-accent);background:var(--role-tint)}
.role-badge{display:inline-flex;align-items:center;justify-content:center;padding:6px 10px;border:1px solid var(--role-border);border-radius:6px;background:var(--role-tint);color:var(--role-accent);font-size:.75em;font-weight:650;white-space:nowrap}
.account-identity{display:flex;align-items:center;gap:16px;margin-bottom:28px;padding:18px 22px;border:1px solid var(--role-border);border-left:4px solid var(--role-accent);border-radius:12px;background:var(--paper)}
.identity-symbol{width:46px;height:46px;display:grid;place-items:center;flex-shrink:0;background:var(--role-tint);color:var(--role-accent);border-radius:12px}
.identity-symbol svg{width:25px;height:25px}.identity-details{min-width:0;flex:1}
.identity-caption{font-size:.68em;letter-spacing:.07em;color:var(--muted);margin-bottom:4px}
.identity-title{display:flex;align-items:center;gap:12px;flex-wrap:wrap;color:var(--role-accent)}
.identity-title strong{font-size:1.08em}.identity-uid{font-size:.77em;font-variant-numeric:tabular-nums;background:var(--role-tint);border-radius:5px;padding:2px 8px}
.identity-name{font-size:.8em;color:var(--ink);margin-top:5px;overflow-wrap:anywhere}.identity-email{font-size:.78em;color:var(--muted);overflow-wrap:anywhere}
.identity-logout{margin:0;flex-shrink:0}.identity-logout button{font-size:.78em;padding:9px 12px}
.account-agent .stats{grid-template-columns:repeat(3,minmax(0,1fr))}.agent-data-note{color:var(--muted);font-size:.8em;margin:-5px 0 22px}
.password-note{color:var(--muted);font-size:.82em;line-height:1.65;margin-bottom:20px}.password-card .field{margin-bottom:16px}.password-card button{margin-top:8px}
@media(max-width:900px){.role-shell .topbar{height:auto;min-height:64px;padding-top:10px;padding-bottom:10px;flex-wrap:wrap;gap:8px}.role-shell .crumb{flex:1;min-width:90px}.role-shell .toolbar{margin-left:auto;flex-wrap:wrap;justify-content:flex-end;max-width:100%}.role-shell .toolbar select{max-width:130px}.role-badge{font-size:.7em}}
@media(max-width:680px){.account-identity{padding:15px 12px;gap:10px;margin-bottom:22px;align-items:flex-start;flex-wrap:wrap}.identity-symbol{width:36px;height:36px;border-radius:9px}.identity-symbol svg{width:21px;height:21px}.identity-details{flex-basis:calc(100% - 46px)}.identity-logout{margin-left:auto}.identity-title{gap:7px}.account-agent .stats{grid-template-columns:1fr}.account-agent .stats .stat:last-child{grid-column:auto}.role-shell .toolbar{gap:8px}.role-shell .avatar{display:none}.role-shell .wallet-chip{font-size:.75em}}

/* Lucky2515: agent metric label readability, 2026-11-05.
   Append after role-ui.css rules when assembling the next release.
   Account scope preserves existing player and admin typography. */
.account-agent .stats .stat .eyebrow {
  font-size: max(16px, 1.066667em);
  line-height: 1.5;
  font-weight: 650;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink, #19273f);
  white-space: normal;
  overflow-wrap: anywhere;
}
.account-agent .stats .stat {
  min-width: 0;
  height: auto;
}

/* Agent inquiry screens: readable labels and wrapping on narrow viewports. */
.report-filters{display:flex;flex-wrap:wrap;gap:12px;align-items:end;margin:20px 0}
.report-filters label{flex:1 1 160px;min-width:0;font-size:1em}
.report-wrap{overflow-wrap:anywhere;display:block;max-width:280px}
.agent-report .table{font-size:1em}
.agent-report .table th{font-size:1em;color:var(--ink);white-space:normal}
.report-tier{display:flex;flex-wrap:wrap;gap:12px;padding:8px 0;border-bottom:1px solid var(--line)}
.report-summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:16px;margin:20px 0}
.report-summary>div{padding:12px;background:var(--field);border-radius:10px}
.report-summary strong{display:block;font-size:1.3em}.report-check{display:flex;gap:12px;align-items:center;margin:14px 0}
@media(max-width:680px){.agent-report{padding:14px}.report-summary{grid-template-columns:1fr}.report-filters label{flex-basis:100%}}

.account-admin .stats .stat .eyebrow{font-size:max(16px,1.066667em);line-height:1.5;font-weight:650;letter-spacing:0;text-transform:none;color:var(--ink,#19273f);white-space:normal;overflow-wrap:anywhere}
.account-admin .stats .stat{min-width:0;height:auto}

.funding-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,210px),1fr));gap:16px}.funding-overview .stat .eyebrow{font-size:max(16px,1.066667em);font-weight:650;letter-spacing:0;line-height:1.5;text-transform:none;color:var(--ink,#19273f)}.funding-overview .stat{height:auto;min-width:0}.funding-overview .stat strong{font-size:clamp(1.35em,2.5vw,2em);overflow-wrap:anywhere}
