.pawn-dashboard-kpis button.pawn-dashboard-kpi { width:100%; text-align:left; font:inherit; cursor:pointer; }
.pawn-dashboard-kpis button.pawn-dashboard-kpi:hover { border-color:#29aa9a; box-shadow:0 8px 24px #126e631f; }
.pawn-dashboard-kpis button.pawn-dashboard-kpi:focus-visible { outline:3px solid #29b9a7; outline-offset:3px; }
.pawn-dashboard-kpis .pawn-dashboard-kpi[role="button"] { cursor:pointer; }
.pawn-dashboard-kpis .pawn-dashboard-kpi[role="button"]:hover { border-color:#29aa9a; }
.pawn-dashboard-kpis .pawn-dashboard-kpi[role="button"]:focus-visible { outline:3px solid #29b9a7; outline-offset:3px; }
.pawn-metric-backdrop { position:fixed; inset:0; z-index:9000; padding:28px; display:flex; align-items:center; justify-content:center; background:#071f27a6; backdrop-filter:blur(4px); }
.pawn-metric-dialog { width:min(1160px,100%); max-height:calc(100dvh - 56px); display:flex; flex-direction:column; border:1px solid #c4dbd6; border-radius:20px; background:#fff; color:#193c38; box-shadow:0 24px 80px #0005; outline:none; overflow:hidden; animation:pawn-metric-open .18s ease-out; }
.pawn-metric-dialog > header { display:flex; align-items:flex-start; justify-content:space-between; gap:18px; padding:22px 24px 16px; }
.pawn-metric-dialog > header > button { flex-shrink:0; white-space:nowrap; }
.pawn-metric-dialog h2 { margin:0 0 6px; font-size:23px; }
.pawn-metric-dialog header p { margin:0; color:#56716b; font-size:14px; }
.pawn-metric-dialog button,.pawn-metric-dialog input { font:inherit; }
.pawn-metric-dialog .secondary { border:1px solid #b4d3cb; border-radius:9px; padding:9px 13px; color:#176c60; background:#f5fbf8; text-decoration:none; cursor:pointer; }
.pawn-metric-dialog button:disabled { opacity:.45; cursor:default; }
.pawn-metric-dialog button:focus-visible,.pawn-metric-dialog a:focus-visible,.pawn-metric-dialog input:focus-visible { outline:3px solid #26ac9a; outline-offset:2px; }
.pawn-metric-tabs { display:flex; gap:6px; padding:0 24px 14px; border-bottom:1px solid #dce9e5; overflow:auto; flex-shrink:0; }
.pawn-metric-tabs button { border:1px solid transparent; border-radius:9px; padding:10px 13px; color:#45645d; background:transparent; white-space:nowrap; cursor:pointer; }
.pawn-metric-tabs button[aria-selected="true"] { background:#dff5ed; color:#126951; border-color:#a9d8c9; font-weight:700; }
.pawn-metric-content { padding:18px 24px 24px; overflow:auto; }
.pawn-metric-description,.pawn-metric-scope { margin:0 0 14px; color:#506f66; font-size:14px; line-height:1.5; }
.pawn-metric-search { display:flex; align-items:flex-end; gap:8px; margin-bottom:16px; }
.pawn-metric-search label { flex:1; display:grid; gap:6px; font-size:13px; color:inherit; }
.pawn-metric-search input { min-width:0; width:100%; box-sizing:border-box; border:1px solid #b8d2ca; border-radius:9px; padding:10px 12px; background:#fff; color:inherit; }
.pawn-metric-totals { display:flex; flex-wrap:wrap; gap:12px 28px; padding:14px 16px; margin-bottom:14px; border-radius:11px; background:#edf7f2; }
.pawn-metric-totals span { display:grid; gap:5px; font-size:13px; color:#506c62; }.pawn-metric-totals b { color:#173d30; font-size:18px; }
.pawn-metric-table { overflow:auto; }.pawn-metric-table table { width:100%; border-collapse:collapse; text-align:left; font-size:14px; }
.pawn-metric-table th { padding:11px 10px; font-size:12px; color:#5c746c; border-bottom:1px solid #cddfd7; white-space:nowrap; }
.pawn-metric-table td { padding:13px 10px; border-bottom:1px solid #dce8e2; vertical-align:top; min-width:95px; line-height:1.45; }
.pawn-metric-table td:first-child { min-width:190px; }.pawn-metric-table td:nth-child(2) { min-width:145px; }
.pawn-metric-table b,.pawn-metric-table small { display:block; }.pawn-metric-table small { font-size:12px; color:#58756a; }
.pawn-metric-table a { color:#117a63; text-decoration:none; }.pawn-metric-phone { display:block; margin-top:3px; }
.pawn-metric-highlight { color:#116e52; font-weight:700; }.pawn-metric-table .pawn-metric-late { color:#a33e4a; }
.pawn-metric-open { display:inline-block; white-space:nowrap; font-size:12px; }.pawn-metric-message { padding:30px 12px; text-align:center; color:inherit; }
.pawn-metric-pagination { display:flex; justify-content:center; align-items:center; gap:16px; padding-top:18px; font-size:13px; }
html[data-theme="dark"] .pawn-metric-dialog { background:#153638; border-color:#3d625b; color:#eef9f3; }
html[data-theme="dark"] .pawn-metric-dialog header p,html[data-theme="dark"] .pawn-metric-description,html[data-theme="dark"] .pawn-metric-scope,html[data-theme="dark"] .pawn-metric-table th,html[data-theme="dark"] .pawn-metric-table small { color:#bad1c7; }
html[data-theme="dark"] .pawn-metric-dialog .secondary { background:#1c4440; color:#a4e5d1; border-color:#47726a; }
html[data-theme="dark"] .pawn-metric-tabs { border-color:#375b53; }html[data-theme="dark"] .pawn-metric-tabs button { color:#c3d9d0; }html[data-theme="dark"] .pawn-metric-tabs button[aria-selected="true"] { color:#b3f5db; background:#205448; border-color:#498f76; }
html[data-theme="dark"] .pawn-metric-search input { background:#102d2d; border-color:#456b5f; }
html[data-theme="dark"] .pawn-metric-totals { background:#1b433b; }html[data-theme="dark"] .pawn-metric-totals span { color:#bed5c9; }html[data-theme="dark"] .pawn-metric-totals b { color:#effdf4; }
html[data-theme="dark"] .pawn-metric-table td,html[data-theme="dark"] .pawn-metric-table th { border-color:#365c50; }html[data-theme="dark"] .pawn-metric-table a,html[data-theme="dark"] .pawn-metric-highlight { color:#9be9cc; }html[data-theme="dark"] .pawn-metric-table .pawn-metric-late { color:#ffb8c4; }
@keyframes pawn-metric-open { from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)} }
@media(prefers-reduced-motion:reduce) { .pawn-metric-dialog { animation:none; } }
@media(max-width:640px) { .pawn-metric-backdrop { padding:10px; }.pawn-metric-dialog { max-height:calc(100dvh - 20px); border-radius:14px; }.pawn-metric-dialog > header { padding:18px 16px 14px; }.pawn-metric-dialog h2 { font-size:20px; }.pawn-metric-tabs { padding:0 16px 12px; }.pawn-metric-content { padding:14px 16px 18px; }.pawn-metric-search { flex-wrap:wrap; }.pawn-metric-search label { flex-basis:100%; } }
