.tron-monitor-active .shell { background: #f5f5f0; }
.tron-monitor-active #service-banner, .tron-monitor-active .shell > footer { display: none; }
.tron-page {
  --tron-ink: #203b34;
  --tron-muted: #687c75;
  --tron-line: #dfe7e1;
  --tron-mint: #d6e7de;
  --tron-cream: #f5f5f0;
  color: var(--tron-ink);
  font-size: 15px;
  line-height: 1.5;
  padding-bottom: 12px;
}
.tron-page * { box-sizing: border-box; }
.tron-page button, .tron-page input, .tron-page select { font: inherit; }
.tron-page h1 { font-size: clamp(27px, 2.7vw, 36px); letter-spacing: -.8px; margin: 4px 0 0; line-height: 1.2; }
.tron-page h2 { font-size: 19px; font-weight: 650; letter-spacing: -.3px; line-height: 1.4; margin: 0; }
.tron-page h3 { font-size: 17px; margin: 0 0 15px; }
.tron-page a:hover { text-decoration: underline; text-underline-offset: 4px; }
.tron-page button:focus-visible, .tron-page a:focus-visible, .tron-page summary:focus-visible { outline: 3px solid #7da68b; outline-offset: 4px; }
.tron-page-heading, .tron-actions, .tron-card-kicker, .tron-card-bottom, .tron-section-heading, .tron-table-foot, .tron-page-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.tron-page-heading { margin-bottom: 25px; align-items: flex-end; }
.tron-eyebrow { font-size: 11px; color: #668679; letter-spacing: 2px; font-weight: 650; }
.tron-actions { justify-content: flex-start; flex-wrap: wrap; }
.tron-button { border: 1px solid #d7e1da; border-radius: 11px; padding: 10px 16px; background: #fff; color: var(--tron-ink); white-space: nowrap; cursor: pointer; font-size: 13px !important; font-weight: 600 !important; line-height: 1.5; }
.tron-button:hover { background: #edf4ef; border-color: #9fbaaa; }
.tron-button.tron-primary { background: #254e40; border-color: #254e40; color: #fff; }
.tron-button.tron-primary:hover { background: #173d2f; }
.tron-button.tron-danger { color: #ab5243; background: #fff8f5; border-color: #ead7cf; }
.tron-button:disabled { opacity: .45; cursor: not-allowed; }
.tron-control-bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 18px; padding: 18px 22px; border: 1px solid var(--tron-line); border-radius: 18px; background: #fff; }
.tron-account { flex: 1; min-width: 0; max-width: 445px; }
.tron-account > label { font-size: 11px; text-transform: uppercase; letter-spacing: 1px; color: var(--tron-muted); margin-bottom: 3px; }
.tron-account > select { border: 0; background: transparent; color: var(--tron-ink); padding: 1px 20px 1px 0; border-radius: 0; font-size: 19px; font-weight: 650; line-height: 1.5; max-width: 100%; width: auto; }
.tron-selected-address { font-size: 11px; margin-top: 4px; overflow-wrap: anywhere; }
.tron-selected-address a { color: var(--tron-muted); }
.tron-period-controls { display: grid; gap: 12px; justify-items: end; }
.tron-segment { display: inline-flex; padding: 4px; border-radius: 10px; background: #eaf0eb; gap: 2px; }
.tron-segment button { border: 0; border-radius: 7px; padding: 7px 13px; background: transparent; color: #687d72; font-size: 12px; line-height: 1.4; font-weight: 550; white-space: nowrap; }
.tron-segment button.active { color: #254e40; background: #fff; box-shadow: 0 1px 5px #24453412; }
.tron-segment button:hover { color: #244a3c; }
.tron-date-form { display: flex; align-items: center; gap: 8px; }
.tron-date-form label { margin: 0; }
.tron-date-form input { width: 137px; border: 1px solid #dfe6df; border-radius: 8px; padding: 7px 8px; font-size: 12px; color: #435d4e; background: #fff; line-height: 1.6; }
.tron-date-form > span { color: #91a095; font-size: 11px; }
.tron-date-form .tron-button { padding: 7px 12px; }
.tron-coverage { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 3px 2px 18px; color: var(--tron-muted); font-size: 11px; }
.tron-coverage > div { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.tron-coverage strong { font-size: 12px; font-weight: 550; color: #55745f; }
.tron-coverage small { font-size: 11px; white-space: nowrap; }
.tron-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #bf9d59; flex-shrink: 0; }
.tron-dot.ready { background: #73a789; }
.tron-coverage-error strong { color: #a1513f; }
.tron-coverage-error .tron-dot { background: #b9624d; }
.tron-notice { padding: 12px 16px; border: 1px solid #e7cfb9; border-radius: 12px; color: #8a5d2e; background: #fff8ee; margin: 0 0 18px; font-size: 13px; overflow-wrap: anywhere; }
.tron-card { border-radius: 20px; background: #fff; border: 1px solid #e6ece5; overflow: hidden; }
.tron-summary-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 16px; margin-bottom: 20px; }
.tron-summary-grid > .tron-card { padding: 23px; display: flex; flex-direction: column; min-height: 180px; border: 0; }
.tron-card-kicker { font-size: 13px; color: #425e51; margin-bottom: 18px; }
.tron-balance-card { background: #d3e6dd; }
.tron-income-card { background: #dfecf0; }
.tron-outgoing-card { background: #e8dff0; }
.tron-net-card { background: #e6ebd0; }
.tron-coin { background: #eff7f2; height: 33px; width: 33px; border-radius: 50%; font-size: 24px; display: grid; place-items: center; color: #426e59; font-weight: 650; line-height: 1; }
.tron-stat-arrow { font-size: 21px; }
.tron-balance-number, .tron-stat-number { display: block; font-variant-numeric: tabular-nums; font-feature-settings: "tnum"; letter-spacing: -1.8px; line-height: 1.18; margin: auto 0 17px; font-weight: 650; white-space: nowrap; overflow: hidden; }
.tron-balance-number { font-size: clamp(34px, 3.4vw, 52px); }
.tron-stat-number { font-size: clamp(25px, 2.5vw, 38px); }
.tron-card-bottom { font-size: 11px; color: #587265; align-items: flex-end; }
.tron-card-bottom strong { font-size: 13px; font-weight: 550; }
.tron-card-bottom span:last-child { text-align: right; }
.tron-charts-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 20px; margin-bottom: 20px; }
.tron-history-card, .tron-volume-card { padding: 22px 24px 13px; }
.tron-section-heading { align-items: center; margin-bottom: 17px; }
.tron-section-heading p { font-size: 11px; color: var(--tron-muted); margin-top: 5px; }
.tron-unit { font-size: 11px; color: var(--tron-muted); }
.tron-line-chart, .tron-bar-chart, .tron-treemap { display: block; width: 100%; height: auto; overflow: visible; }
.tron-chart-grid { stroke: #e4ebe5; stroke-dasharray: 3 4; stroke-width: 1; }
.tron-chart-label { font-size: 12px; fill: #7a8b80; font-family: inherit; }
.tron-legend { display: flex; gap: 11px; align-items: center; font-size: 11px; color: #657d70; white-space: nowrap; }
.tron-legend span { display: flex; align-items: center; gap: 5px; }
.tron-legend i { width: 7px; height: 7px; border-radius: 2px; background: #6f9e8d; }
.tron-legend span + span i { background: #dc926d; }
.tron-counterparty-card { padding: 23px 24px 21px; margin-bottom: 20px; }
.tron-counterparty-grid { display: grid; grid-template-columns: 1.45fr 1fr; gap: 27px; align-items: center; }
.tron-tree-label { font-size: 15px; fill: #355247; font-family: ui-monospace, "SFMono-Regular", Consolas, monospace; }
.tron-tree-value { font-size: 22px; font-weight: 600; fill: #244536; font-family: inherit; }
.tron-tree-unit { font-size: 11px; font-weight: 400; }
.tron-treemap a:hover rect { stroke: #628274; stroke-width: 2; }
.tron-tree-note { color: #849180; font-size: 11px; padding: 8px 3px 0; }
.tron-ranking { list-style: none; padding: 0 4px 0 0; margin: 0; max-height: 310px; overflow-y: auto; overscroll-behavior: contain; }
.tron-ranking-caption { font-size: 10px; color: #83917f; margin-bottom: 5px; }
.tron-ranking li { display: flex; align-items: center; gap: 11px; padding: 10px 0; border-bottom: 1px solid #edf0eb; font-size: 12px; }
.tron-ranking li:last-child { border: 0; }
.tron-rank-number { display: grid; place-items: center; width: 26px; height: 26px; flex-shrink: 0; border-radius: 8px; background: #f0f3ed; color: #7a8c7d; font-size: 10px; }
.tron-ranking li > div { flex: 1; min-width: 0; }
.tron-ranking small { display: block; color: #839286; font-size: 10px; margin-top: 3px; font-weight: 400; }
.tron-ranking strong { text-align: right; font-size: 14px; font-weight: 550; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; max-width: 48%; }
.tron-address-link { color: #486f5b; font-family: ui-monospace, "SFMono-Regular", Consolas, monospace; font-size: inherit; }
.tron-address-link span { font-family: inherit; }
.tron-transactions { margin-bottom: 18px; }
.tron-transactions > .tron-section-heading { padding: 22px 24px 0; }
.tron-table-filter { display: flex; align-items: center; gap: 9px; margin: 0; font-size: 11px; color: #7d8d81; }
.tron-table-filter select { width: auto; padding: 6px 10px; background: #fff; border: 1px solid #dfe6df; border-radius: 9px; font-size: 12px; }
.tron-table-wrap { overflow-x: auto; }
.tron-page table { border-collapse: collapse; width: 100%; white-space: nowrap; }
.tron-page th { text-align: left; color: #7c8e80; font-size: 11px; font-weight: 500; padding: 12px 24px; border-bottom: 1px solid #e8eee8; background: #f8faf7; }
.tron-page td { padding: 16px 24px; font-size: 12px; border-bottom: 1px solid #eef2eb; }
.tron-page tbody tr:last-child td { border-bottom: 0; }
.tron-page tbody tr:hover { background: #fafcf8; }
.tron-direction { display: inline-block; padding: 4px 9px; border-radius: 7px; font-size: 11px; background: #edf4eb; color: #5e8469; }
.tron-direction.out { background: #fbf0e9; color: #a67452; }
.tron-direction.self { background: #f1eff5; color: #8a7c98; }
.tron-transaction-value { font-weight: 600; font-variant-numeric: tabular-nums; font-size: 14px !important; }
.tron-transaction-value small { font-size: 10px; font-weight: 400; color: #819084; margin-left: 6px; }
.tron-time-cell { color: #6f8477; font-size: 11px !important; }
.tron-tx-link { color: #607c69; font-family: ui-monospace, "SFMono-Regular", Consolas, monospace; font-size: 11px; }
.tron-table-foot { padding: 14px 24px; font-size: 11px; color: #829083; border-top: 1px solid #edf0e9; }
.tron-no-transactions { text-align: center; padding: 40px 20px !important; color: #839486; }
.tron-empty { min-height: 215px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 30px 20px; color: #829587; font-size: 12px; }
.tron-empty > span { font-size: 34px; color: #b7cabd; line-height: 1.4; }
.tron-empty p { max-width: 270px; margin-top: 5px; line-height: 1.8; }
.tron-ranking-empty { color: #8c9b8d; font-size: 12px; }
.tron-daily-details { border: 1px solid #e1e8df; background: #fff; border-radius: 14px; overflow: hidden; }
.tron-daily-details > summary { padding: 14px 22px; color: #66806d; font-size: 12px; cursor: pointer; }
.tron-page-footer { margin-top: 19px; font-size: 10px; color: #94a096; flex-wrap: wrap; }
.tron-settings { padding: 22px 24px; border: 1px solid #d6e1d5; background: #f5f8f2; border-radius: 17px; margin-bottom: 22px; }
.tron-settings .tron-section-heading > span { color: #7a8c7b; font-size: 11px; }
.tron-settings-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.tron-settings form { padding: 19px; border-radius: 12px; border: 1px solid #e2e9df; background: #fff; }
.tron-settings label { margin: 13px 0 7px; font-size: 12px; color: #617968; }
.tron-settings input:not([type=checkbox]) { padding: 9px 11px; border: 1px solid #dce5d9; border-radius: 8px; font-size: 13px; background: #fff; width: 100%; }
.tron-settings p { font-size: 12px; color: #83907f; margin-bottom: 8px; }
.tron-settings button[type=submit] { margin-top: 16px; }
.tron-settings .tron-actions { margin-top: 16px; }
.tron-settings .tron-actions button { margin: 0; }
.tron-settings .tron-check { display: flex; align-items: center; gap: 8px; margin: 16px 0 0; }
.tron-check input { width: auto; accent-color: #376447; }
.tron-code { font-family: ui-monospace, "SFMono-Regular", Consolas, monospace !important; }
.tron-wrap { overflow-wrap: anywhere; }
.tron-welcome { padding: 58px 24px; text-align: center; background: #eef3e8; }
.tron-welcome-symbol { display: grid; place-items: center; margin: 0 auto 17px; width: 60px; height: 60px; border-radius: 18px; background: #d5e5d3; color: #527c5c; font-size: 38px; }
.tron-welcome p { color: #80917f; margin-top: 10px; font-size: 13px; }
.tron-sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; white-space: nowrap; }
.tron-loading, .tron-initial-error { min-height: 300px; padding: 22px 0; }
.tron-loading p, .tron-initial-error p { margin: 20px 0; color: #6e8674; }
@media (max-width: 1250px) {
  .tron-summary-grid { gap: 12px; }
  .tron-summary-grid > .tron-card { padding: 19px; min-height: 169px; }
  .tron-balance-number { font-size: 37px; }
  .tron-stat-number { font-size: 29px; }
  .tron-counterparty-grid { grid-template-columns: 1.25fr 1fr; gap: 18px; }
  .tron-control-bar { align-items: flex-start; }
}
@media (max-width: 1050px) {
  .tron-control-bar { flex-direction: column; gap: 18px; }
  .tron-account { max-width: none; width: 100%; }
  .tron-period-controls { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; width: 100%; }
  .tron-summary-grid { grid-template-columns: 1fr 1fr; }
  .tron-balance-number { font-size: 45px; }
  .tron-stat-number { font-size: 35px; }
  .tron-charts-grid { grid-template-columns: 1fr; }
  .tron-line-chart, .tron-bar-chart { max-height: 270px; }
  .tron-counterparty-grid { grid-template-columns: 1fr; gap: 15px; }
  .tron-ranking { display: grid; grid-template-columns: 1fr 1fr; column-gap: 22px; }
  .tron-ranking li:nth-last-child(2) { border: 0; }
  .tron-coverage { flex-wrap: wrap; gap: 5px; }
}
@media (max-width: 620px) {
  .tron-page-heading { align-items: flex-start; gap: 14px; margin-bottom: 18px; }
  .tron-page-heading h1 { font-size: 26px; }
  .tron-eyebrow { font-size: 9px; }
  .tron-page-heading > .tron-actions { justify-content: flex-end; gap: 6px; max-width: 145px; }
  .tron-page-heading .tron-button { font-size: 11px !important; padding: 7px 10px; border-radius: 8px; }
  .tron-control-bar { padding: 16px; border-radius: 14px; }
  .tron-period-controls { gap: 12px; }
  .tron-date-form { width: 100%; gap: 5px; }
  .tron-date-form label { flex: 1; min-width: 0; }
  .tron-date-form input { width: 100%; font-size: 11px; padding: 7px 5px; }
  .tron-date-form .tron-button { font-size: 11px !important; padding: 7px 10px; }
  .tron-segment button { padding: 7px 11px; }
  .tron-summary-grid { gap: 10px; margin-bottom: 14px; }
  .tron-summary-grid > .tron-card { padding: 16px 14px; min-height: 159px; border-radius: 15px; }
  .tron-summary-grid > .tron-balance-card { grid-column: 1 / -1; min-height: 172px; }
  .tron-summary-grid > .tron-net-card { grid-column: 1 / -1; min-height: 120px; }
  .tron-summary-grid > .tron-net-card .tron-card-kicker { margin-bottom: 10px; }
  .tron-card-kicker { font-size: 11px; margin-bottom: 20px; gap: 5px; }
  .tron-coin { height: 27px; width: 27px; font-size: 21px; }
  .tron-balance-number { font-size: 40px; letter-spacing: -1.2px; }
  .tron-stat-number { font-size: 27px; letter-spacing: -1px; }
  .tron-card-bottom { font-size: 10px; flex-wrap: wrap; gap: 3px; }
  .tron-card-bottom strong { font-size: 11px; }
  .tron-card-bottom span:last-child { text-align: left; }
  .tron-charts-grid { gap: 14px; margin-bottom: 14px; }
  .tron-history-card, .tron-volume-card, .tron-counterparty-card { border-radius: 15px; padding: 18px 15px 12px; }
  .tron-page h2 { font-size: 17px; }
  .tron-section-heading { margin-bottom: 13px; gap: 10px; }
  .tron-section-heading p { font-size: 10px; }
  .tron-counterparty-card { margin-bottom: 14px; }
  .tron-counterparty-card > .tron-section-heading { flex-wrap: wrap; }
  .tron-counterparty-card .tron-segment { margin-left: auto; }
  .tron-ranking { grid-template-columns: 1fr; }
  .tron-ranking li:nth-last-child(2) { border-bottom: 1px solid #edf0eb; }
  .tron-ranking li { padding: 10px 0; }
  .tron-treemap { min-height: 160px; }
  .tron-transactions { border-radius: 15px; }
  .tron-transactions > .tron-section-heading { padding: 18px 15px 0; }
  .tron-table-filter > span { display: none; }
  .tron-table-filter select { font-size: 11px; padding: 5px 8px; }
  .tron-page td, .tron-page th { padding: 13px 15px; }
  .tron-table-foot { padding: 12px 15px; font-size: 10px; }
  .tron-settings { padding: 18px 14px; }
  .tron-settings-grid { grid-template-columns: 1fr; gap: 13px; }
  .tron-settings form { padding: 16px; }
  .tron-coverage > div { gap: 5px; }
  .tron-coverage > div > span { flex-basis: 100%; margin-left: 12px; line-height: 1.7; }
  .tron-page-footer { gap: 6px; font-size: 9px; }
}
