/* «Обзор» (resources/views/btc/overview.blade.php): the price on the title's row and the chart on all the room under it
   — the neighbours' frame and tools (HOLD's coin-chart.blade.php). Plain CSS, no build step; light and dark follow
   Filament's switch. Phone first. The frame's height is set by public/js/coin-chart.js (the window's height under the
   title); this one is for the first paint. */

.btc-status { font-size: 15px; line-height: 20px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.btc-status [data-btc-price] { font-weight: 650; }
.btc-dot { color: #94a3b8; }
.btc-dot.is-live { color: #4ade80; }
.btc-dot.is-stale { color: #f59e0b; }
.btc-unit, .btc-note { color: rgb(113 113 122); font-size: 13px; }
.dark .btc-unit, .dark .btc-note { color: rgb(161 161 170); }

.cc { display: flex; flex-direction: column; }
.cc-frame { position: relative; height: calc(100dvh - 170px); min-height: 320px; border: 1px solid rgb(229 231 235); border-radius: .75rem;
    overflow: hidden; background: #fff; }
.dark .cc-frame { border-color: rgb(39 39 42); background: #18181b; }
.cc-frame:fullscreen { height: 100vh !important; border: 0; border-radius: 0; }
.cc-chart { position: absolute; inset: 0; }
.cc-legend { position: absolute; left: .6rem; top: .4rem; right: 4.5rem; z-index: 3; font-size: .75rem; line-height: 1.45;
    pointer-events: none; font-variant-numeric: tabular-nums; }
.cc-msg { position: absolute; inset: 0; z-index: 4; display: flex; align-items: center; justify-content: center; padding: 1rem; text-align: center;
    font-size: .9rem; color: rgb(107 114 128); pointer-events: none; }
.cc-tools { position: absolute; left: .6rem; bottom: 2rem; z-index: 5; display: flex; flex-wrap: wrap; gap: .25rem; max-width: calc(100% - 5rem); }
.cc-intervals { display: flex; gap: .25rem; margin-right: .25rem; }
.cc-tool { display: inline-flex; align-items: center; justify-content: center; min-width: 2rem; height: 2rem; padding: 0 .35rem; border-radius: .45rem;
    background: rgba(255, 255, 255, .85); border: 1px solid rgb(229 231 235); color: rgb(63 63 70); font-size: .8rem; font-weight: 600; }
.dark .cc-tool { background: rgba(24, 24, 27, .85); border-color: rgb(63 63 70); color: rgb(212 212 216); }
.cc-tool:hover { color: #089981; border-color: #089981; }
.cc-tool.on { color: #2962ff; border-color: #2962ff; } /* the interval shown; the ruler armed */
.cc-tool svg { width: 1.1rem; height: 1.1rem; }
.cc-help { margin: .4rem 0 0; font-size: .72rem; line-height: 1.5; color: rgb(107 114 128); }
@media (max-width: 640px) { .cc-help { font-size: .68rem; line-height: 1.4; } }
