:root { color-scheme: dark; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; background: #0c1016; color: #e9eef7; }
* { box-sizing: border-box; }
body { margin: 0; background: radial-gradient(circle at 10% 0%, #16243a, transparent 38%), #0c1016; }
.shell { width: min(1080px, calc(100% - 32px)); margin: 0 auto; padding: 42px 0 60px; }
.wide-shell { width: min(1320px, calc(100% - 32px)); }
.top-nav { display: flex; gap: 6px; margin-bottom: 24px; padding: 4px; width: fit-content; border: 1px solid #273244; border-radius: 10px; background: rgba(10, 15, 22, .72); }
.top-nav a { color: #91a0b4; text-decoration: none; font-size: 12px; padding: 8px 12px; border-radius: 7px; }
.top-nav a:hover { color: #dce8f5; }
.top-nav a.active { color: #08131d; background: #75d6ff; font-weight: 750; }
.header { display: flex; justify-content: space-between; gap: 24px; align-items: flex-start; margin-bottom: 26px; }
.eyebrow { color: #72d3ff; font-size: 11px; letter-spacing: .16em; margin: 0 0 8px; }
h1, h2, p { margin-top: 0; } h1 { font-size: clamp(28px, 5vw, 44px); letter-spacing: -.04em; margin-bottom: 8px; } h2 { font-size: 16px; margin-bottom: 0; }
.muted { color: #8491a5; font-size: 12px; line-height: 1.55; }
.path-badge { border: 1px solid #285879; color: #8bdcff; border-radius: 10px; padding: 10px 13px; font-size: 12px; text-align: right; line-height: 1.5; white-space: nowrap; } .path-badge span { color: #b4c3d6; font-size: 11px; }
.panel { background: rgba(20, 27, 38, .9); border: 1px solid #273244; border-radius: 14px; padding: 19px; box-shadow: 0 14px 35px rgba(0,0,0,.17); margin-bottom: 16px; }
.notice { border: 1px solid #285879; background: #102333; color: #b9ddf0; border-radius: 10px; padding: 12px 14px; margin-bottom: 16px; font-size: 12px; line-height: 1.65; }
.controls { display: flex; align-items: center; gap: 13px; flex-wrap: wrap; } .controls label { color: #b7c5d7; font-size: 12px; } .control-row { display: flex; align-items: center; gap: 0; } input { width: 170px; background: #0b1018; border: 1px solid #344257; border-radius: 8px 0 0 8px; color: #f4f7fb; padding: 11px 12px; font-size: 15px; outline: none; } input:focus { border-color: #58c7fa; } .unit { background: #202b3a; color: #b7c5d7; padding: 11px 10px; border-top: 1px solid #344257; border-bottom: 1px solid #344257; font-size: 12px; }
button { border: 0; border-radius: 8px; padding: 11px 16px; color: #07101a; background: #75d6ff; font-weight: 750; cursor: pointer; } button:disabled { cursor: wait; opacity: .55; } .status { margin: 0 0 0 auto; font-size: 12px; color: #92a0b4; }
.error, .stale { border-radius: 9px; padding: 12px 14px; margin-bottom: 16px; font-size: 12px; line-height: 1.5; } .error { background: #351e24; border: 1px solid #8e3f4b; color: #ffc6cd; } .stale { background: #332d1c; border: 1px solid #8e773c; color: #f1d98b; }
.grid { display: grid; gap: 16px; } .grid.two { grid-template-columns: 1fr 1fr; } .metrics { grid-template-columns: repeat(4, 1fr); }
.card-title { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; } .tag { color: #8de7b0; background: #153225; padding: 4px 7px; border-radius: 999px; font-size: 10px; } .tag.bad { color: #ffcf7d; background: #49351c; }
.meta { display: grid; gap: 8px; margin: 0 0 18px; } .meta div { display: grid; grid-template-columns: 90px 1fr; gap: 8px; font-size: 11px; } dt { color: #78879c; } dd { color: #c7d3e1; margin: 0; overflow-wrap: anywhere; }
.quote-number { border-top: 1px solid #293547; border-bottom: 1px solid #293547; padding: 15px 0; display: flex; justify-content: space-between; gap: 14px; align-items: center; font-size: 12px; color: #9ba9bb; } .quote-number strong { color: #ecf7ff; font-size: 17px; text-align: right; }
.metric { display: flex; flex-direction: column; gap: 8px; padding: 12px 0; } .metric span { color: #8290a4; font-size: 11px; } .metric strong { color: #eaf2fb; font-size: 17px; overflow-wrap: anywhere; } .metrics .metric { border: 1px solid #283446; border-radius: 10px; padding: 13px; } .metrics .emphasis { background: #112d35; border-color: #246579; } .metrics .emphasis strong { color: #86e5ff; }
.fee-list { display: grid; gap: 10px; } .fee-list div { display: flex; justify-content: space-between; gap: 16px; border-bottom: 1px solid #273244; padding-bottom: 9px; font-size: 12px; color: #a9b7c8; } .fee-list strong { color: #e7edf5; text-align: right; } .fee-list .total { border-bottom: 0; padding-top: 2px; font-weight: 750; } .note { margin: 14px 0 0; }
.footer { color: #65748a; font-size: 11px; text-align: center; margin-top: 24px; }
.reference-controls { display: flex; align-items: end; gap: 12px; }
.search-wrap { display: grid; gap: 7px; }
.search-wrap label { color: #b7c5d7; font-size: 12px; }
.search-wrap input { border-radius: 8px; width: min(320px, 70vw); }
.filter-group { display: grid; gap: 7px; border: 0; padding: 0; margin: 0; min-width: 155px; }
.filter-group legend { color: #b7c5d7; font-size: 12px; padding: 0; }
.filter-group label { color: #d4dfeb; font-size: 12px; white-space: nowrap; }
.filter-group input { width: auto; margin: 0 5px 0 0; padding: 0; accent-color: #75d6ff; vertical-align: -1px; }
.filter-count { color: #74849a; font-size: 11px; }
.table-panel { padding: 0; overflow: hidden; }
.table-panel .card-title { padding: 19px 19px 0; }
.table-scroll { overflow-x: auto; }
.reference-table { width: 100%; border-collapse: collapse; min-width: 980px; }
.reference-table th { color: #78879c; font-size: 11px; font-weight: 600; text-align: right; padding: 12px 14px; border-bottom: 1px solid #344257; white-space: nowrap; }
.reference-table th:first-child, .reference-table td:first-child { text-align: left; padding-left: 19px; }
.reference-table td { color: #cbd6e3; font-size: 12px; text-align: right; padding: 13px 14px; border-bottom: 1px solid #222d3c; white-space: nowrap; }
.reference-table tbody tr:last-child td { border-bottom: 0; }
.reference-table tbody tr:hover { background: rgba(68, 112, 145, .09); }
.reference-table .positive { color: #7de0a3; }
.reference-table .negative { color: #ff9b9b; }
.reference-table .neutral { color: #ecf4fd; }
.stock-name { display: flex; align-items: center; gap: 10px; min-width: 220px; }
.stock-name img, .token-placeholder { width: 30px; height: 30px; border-radius: 50%; background: #243246; display: grid; place-items: center; color: #91a8c1; font-size: 9px; flex: 0 0 auto; }
.stock-name span { display: grid; gap: 3px; }
.stock-name strong { color: #ecf4fd; font-size: 13px; }
.stock-name small { color: #74849a; font-size: 10px; max-width: 260px; overflow: hidden; text-overflow: ellipsis; }
.sub-value { display: block; color: #687a91; font-size: 10px; margin-top: 3px; }
.empty-cell { text-align: center !important; padding: 38px !important; color: #7f8da0 !important; }
@media (max-width: 760px) { .header { flex-direction: column; } .path-badge { text-align: left; } .grid.two, .metrics { grid-template-columns: 1fr 1fr; } .status { width: 100%; margin-left: 0; } }
@media (max-width: 760px) { .reference-controls { align-items: stretch; flex-direction: column; } .reference-controls .status { width: 100%; } .search-wrap input { width: 100%; } }
@media (max-width: 480px) { .shell, .wide-shell { width: calc(100% - 20px); padding-top: 25px; } .header > div:first-child { width: 100%; } .panel { padding: 14px; } .table-panel { padding: 0; } .table-panel .card-title { padding: 14px 14px 0; } .grid.two, .metrics { grid-template-columns: 1fr; } .control-row { width: 100%; } input { flex: 1; min-width: 0; } button { padding-inline: 12px; } .top-nav { width: 100%; } .top-nav a { flex: 1; text-align: center; } }
