/* The hub's additions to the owner's site style (style.css is the owner's own, unchanged). */
.site-signin { padding: 8px 14px; font-size: 14px; }
@media (max-width: 760px) { .site-signin, .header-actions .mkt-btn-cta { display: none; } }
.spark { width: 100%; height: 56px; display: block; }
.risk-low { color: var(--profit); border-color: color-mix(in srgb, var(--profit) 45%, transparent); }
.risk-medium { color: var(--kadu); border-color: color-mix(in srgb, var(--kadu) 45%, transparent); }
.risk-high, .risk-very-high { color: var(--loss); border-color: color-mix(in srgb, var(--loss) 45%, transparent); }
/* the card's three figures (owner, 2026-11-07: option A's columns at option B's sizes) */
.card-figs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--border); }
.card-figs > div { display: flex; flex-direction: column; min-width: 0; }
.cf-l { font-size: 13px; color: var(--muted); white-space: nowrap; }
.cf-v { font-family: 'IBM Plex Mono', monospace; font-size: 17px; font-weight: 600; margin: 3px 0 2px; white-space: nowrap; }
.cf-v.up { color: var(--profit); } .cf-v.down { color: var(--loss); }
.cf-s { font-size: 11.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.site-count { margin: 4px 0 14px; font-size: 13px; }

.site-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin: 18px 0 26px; }
.site-kpis > div { background: var(--panel); border: 1px solid var(--border); border-radius: 12px; padding: 14px 16px; display: flex; flex-direction: column; gap: 2px; }
.site-kpis span { color: var(--muted); font-size: 12.5px; }
.site-kpis b { font-family: 'IBM Plex Mono', monospace; font-size: 22px; font-weight: 600; }
.site-kpis small { color: var(--muted); font-size: 12px; }
.site-kpis .up, .site-years .up { color: var(--profit); }
.site-kpis .down, .site-years .down { color: var(--loss); }

.chart-section .chart-box { position: relative; height: 320px; background: var(--panel); border: 1px solid var(--border); border-radius: 12px; padding: 12px; margin-bottom: 20px; }
.chart-section .dd-chart-box { height: 200px; }
.site-years td { white-space: nowrap; }
.site-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 8px; }
.ledger.single { grid-template-columns: 1fr 1px 1fr; }
@media (max-width: 860px) { .ledger.single { grid-template-columns: 1fr; } .ledger.single .ledger-spine { display: none; } }
.small { font-size: 13px; }

.site-risk { padding: 26px 0 30px; }
.site-risk p { max-width: 900px; font-size: 13px; line-height: 1.6; margin: 0 0 8px; }
.site-search-l { flex: 1 1 260px; }
.site-search { width: 100%; min-width: 220px; padding: 9px 12px; border-radius: 8px; border: 1px solid var(--border); background: var(--panel); color: var(--bone); font: inherit; }
div.site-cell { display: contents; }
div.site-cell[hidden] { display: none; }

/* the strategies table (owner, 2026-11-07: the portal's style in the site's theme; phones get the cards) */
.st-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: 12px; background: var(--panel); }
.st-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.st-table th.n { text-align: right; }
.st-table th { font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); font-weight: 600; text-align: left; padding: 9px 8px; border-bottom: 1px solid var(--border); line-height: 1.25; vertical-align: bottom; background: var(--panel2); }
.st-table td { padding: 9px 8px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.st-table tbody tr:last-child td { border-bottom: 0; }
.st-table tbody tr:hover td { background: var(--panel2); }
.st-table .n { text-align: right; font-family: 'IBM Plex Mono', monospace; white-space: nowrap; }
.st-table .up { color: var(--profit); } .st-table .down { color: var(--loss); }
.st-sep { border-left: 1px solid var(--border); }
.st-name { white-space: nowrap; }
.st-name a { font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 14px; color: var(--bone); text-decoration: none; }
.st-name a:hover { color: var(--kadu); }
.st-risk { display: inline-block; margin-left: 7px; font-size: 10.5px; padding: 1px 7px; border-radius: 5px; border: 1px solid currentColor; vertical-align: 1px; }
.st-coins { font-weight: 500; white-space: nowrap; }
.st-rules { font-size: 11.5px; color: var(--muted); margin-top: 2px; max-width: 360px; }
.st-tri { white-space: nowrap; letter-spacing: 2px; line-height: 1; }
.st-deploy { display: inline-block; background: var(--kadu); color: var(--ink); font-weight: 600; font-size: 12px; padding: 6px 11px; border-radius: 7px; white-space: nowrap; text-decoration: none; }
.st-deploy:hover { filter: brightness(1.08); }
.st-cards { display: none; }
@media (max-width: 900px) { .st-wrap { display: none; } .st-cards { display: grid; } }
tr.site-cell[hidden] { display: none; }
