.enh-nav-button{appearance:none;border:0;background:transparent;color:inherit;cursor:pointer;display:flex;align-items:center;gap:12px;padding:11px 14px;width:100%;font:inherit;text-align:left;border-radius:10px}
.enh-nav-button:hover{background:rgba(255,255,255,.07)}
.enh-nav-icon{font-size:22px;width:18px}
.enh-nav-arrow{margin-left:auto;opacity:.5;font-size:20px}
.enh-toast{position:fixed;right:24px;top:24px;z-index:10000;padding:13px 18px;color:#21734e;background:#fff;border:1px solid #d4efdf;border-radius:12px;box-shadow:0 18px 50px #2537542e}
.enh-toast.error{color:#b24842;background:#fff;border-color:#f3d0cd}
.enh-analytics>header span{font-size:10px;letter-spacing:.18em;color:#7f8aa3}
.enh-analytics h3{margin:5px 0 0}
.enh-error{padding:12px 14px;color:#b24842;background:#fff1f0;border:1px solid #f3d0cd;border-radius:9px}
.enh-loading,.enh-empty{padding:30px;text-align:center;color:#8ea0b8}
.enh-analytics{margin:22px 0;padding:20px;border:1px solid #ffffff13;border-radius:16px;background:linear-gradient(145deg,#101a2a,#0d1521);box-shadow:0 14px 40px #0002}
.enh-analytics>header{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:18px}
.enh-filter{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.enh-summary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.enh-summary-grid article{display:grid;gap:5px;padding:16px;border:1px solid #ffffff10;border-radius:12px;background:#ffffff05}
.enh-summary-grid article span{font-size:12px;color:#96a6bb}
.enh-summary-grid article strong{font-size:24px}
.enh-summary-grid article small{color:#6f829c}
.enh-summary-grid article.warn strong{color:#ffad6b}
.enh-summary-grid article.good strong{color:#68e3b1}
.enh-analytics-grid{display:grid;grid-template-columns:1.25fr 1fr 1fr;gap:14px;margin-top:14px}
.enh-analytics-grid>section,.enh-dashboard-grid>section{padding:16px;border:1px solid #ffffff0f;border-radius:12px;background:#060c156e;min-width:0}
.enh-analytics-grid h4,.enh-dashboard-grid h4{margin:0 0 14px}
.enh-line{width:100%;height:150px;overflow:visible}
.enh-line polyline{fill:none;stroke:#55b9ff;stroke-width:4;vector-effect:non-scaling-stroke;filter:drop-shadow(0 4px 8px #2c9fff66)}
.enh-chart-axis{display:flex;justify-content:space-between;font-size:10px;color:#687c96}
.enh-category-list{display:grid;gap:8px}
.enh-category-list>div{display:grid;grid-template-columns:1fr auto 60px;gap:8px;padding:9px;border-radius:8px;background:#ffffff05;font-size:12px}
.enh-category-list .highlight{background:#368cff18;border:1px solid #4f9eff25}
.enh-category-list .up{color:#ff9c76}
.enh-category-list .down{color:#61dca8}
.enh-bars{display:grid;gap:8px}
.enh-bars>div{display:grid;grid-template-columns:minmax(70px,120px) 1fr 60px;gap:8px;align-items:center;font-size:11px}
.enh-bars span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#a4b2c5}
.enh-bars i{height:7px;background:#ffffff0b;border-radius:9px;overflow:hidden}
.enh-bars b{display:block;height:100%;background:linear-gradient(90deg,#368cff,#65d7ff);border-radius:9px}
.enh-bars strong{text-align:right}
.enh-dashboard-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:14px}
.enh-legend,.enh-tags{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}
.enh-legend span,.enh-tags span{font-size:11px;padding:5px 8px;border-radius:20px;background:#ffffff08;color:#92a5bd}
.enh-big-metric{font-size:54px;font-weight:700;color:#68d5ff;display:grid;place-items:center;padding:20px}
.enh-big-metric small{font-size:12px;color:#879ab2}
@media(max-width:1000px){.enh-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.enh-analytics-grid,.enh-dashboard-grid{grid-template-columns:1fr}
.enh-chain article{grid-template-columns:1fr}
.enh-analytics>header{align-items:flex-start;flex-direction:column}
}
@media(max-width:640px){.enh-summary-grid{grid-template-columns:1fr}}

/* Analytics follows the original administration system's light card language. */
.enh-analytics{margin:22px 0;padding:0;color:#172033;background:transparent;border:0;border-radius:0;box-shadow:none}
.enh-analytics>header{align-items:flex-end;margin:0 2px 12px}
.enh-analytics>header span{color:#7f8aa3}
.enh-analytics h3{color:#26344a;font-size:16px}
.enh-filter{color:#7a8498;font-size:10px}
.enh-filter input,.enh-filter select{height:35px;padding:0 10px;color:#4f5d73;background:#fff;border:1px solid #dce3ed;border-radius:8px}
.enh-filter input:focus,.enh-filter select:focus{border-color:#4380f3;box-shadow:0 0 0 3px #3474ed12;outline:none}
.enh-summary-grid article{padding:15px 16px;background:#fff;border:1px solid #e5eaf2;border-radius:13px;box-shadow:0 5px 18px #20345e08}
.enh-summary-grid article span{color:#7f899b}
.enh-summary-grid article strong{color:#273247;font-size:21px}
.enh-summary-grid article small{color:#9aa3b1}
.enh-summary-grid article.warn strong{color:#c8781b}
.enh-summary-grid article.good strong{color:#25865b}
.enh-analytics-grid>section,.enh-dashboard-grid>section{background:#fff;border:1px solid #e4eaf2;border-radius:13px;box-shadow:0 5px 18px #20345e08}
.enh-analytics-grid h4,.enh-dashboard-grid h4{color:#344158}
.enh-line polyline{stroke:#3977ef;filter:none}
.enh-chart-axis{color:#98a2b1}
.enh-category-list>div{color:#5f6d82;background:#f7f9fc}
.enh-category-list .highlight{background:#edf3ff;border-color:#d7e4fa}
.enh-category-list .up{color:#bd6547}
.enh-category-list .down{color:#25865b}
.enh-bars span{color:#647187}
.enh-bars i{background:#edf2f8}
.enh-bars b{background:linear-gradient(90deg,#3977ef,#6b9cff)}
.enh-bars strong{color:#344158}
.enh-legend span,.enh-tags span{color:#69778d;background:#f2f5f9}
.enh-big-metric{color:#2f67dc}
.enh-big-metric small{color:#8d98a9}
.enh-loading,.enh-empty{color:#8993a4}

.enh-summary-grid-returns{grid-template-columns:repeat(3,minmax(0,1fr))}
.enh-summary-grid-returns article{min-width:0}
.enh-summary-grid-returns article strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.enh-summary-grid-returns article small{font-size:10px;line-height:1.7;overflow-wrap:anywhere}
.enh-analytics>header>div{min-width:0}
.enh-analytics>header>div:first-child{flex:1;min-width:180px}
.enh-analytics>header small{display:block;margin-top:6px;color:#8994a6;font-size:10px;line-height:1.7}
.enh-filter{justify-content:flex-end;max-width:65%}
.enh-analytics-grid-returns{grid-template-columns:repeat(2,minmax(0,1fr))}
.enh-credit-business{margin-top:13px;padding:16px 17px;background:#fff;border:1px solid #e4eaf2;border-radius:13px;box-shadow:0 5px 18px #20345e08}
.enh-credit-business h4{margin:0 0 12px;color:#344158;font-size:12px}
.enh-trend-point{fill:#3977ef}
.enh-zero-line{stroke:#bfcada;stroke-width:1;stroke-dasharray:4 4;vector-effect:non-scaling-stroke}
.enh-chart-values{display:flex;justify-content:space-between;gap:8px;margin-top:4px;color:#8693a6;font-size:9px}
.enh-signed-bar{position:relative}
.enh-signed-bar b{position:absolute;top:0}
.enh-signed-bar em{position:absolute;left:50%;top:0;height:100%;width:1px;background:#9ba8bc}
.enh-bars .enh-negative-bar{background:linear-gradient(90deg,#d7a360,#b86a13)}
@media(max-width:1320px){.enh-summary-grid-returns{grid-template-columns:repeat(2,minmax(0,1fr))}.enh-analytics>header{align-items:flex-start;flex-wrap:wrap}.enh-filter{max-width:100%}}
@media(max-width:1000px){.enh-analytics-grid-returns{grid-template-columns:1fr}.enh-filter{justify-content:flex-start}}
@media(max-width:640px){.enh-summary-grid-returns{grid-template-columns:1fr}}
