/* Useful tools use the same neutral canvas and green accents as the rest of HashHome. */
.hh-useful{--bg:#eceae8;--white:#181a18;--muted:#696d68;--line:#d5d3cf;--green:#4b963e;--accent:#4f9d3c;--panel:#f8f7f5;background:var(--bg);color:var(--white);color-scheme:light}
.hh-useful .shell{max-width:1480px;padding-left:20px;padding-right:20px}
.hh-useful .topnote{background:#e0eed5;color:#355332;font-size:11px;padding:6px 16px}
.hh-useful .nav{height:76px;border-color:#d8d6d2;gap:20px}
.hh-useful .brand{color:#171917;font-weight:760;white-space:nowrap}
.hh-useful .navlinks{color:#242824;gap:clamp(10px,1.5vw,22px);font-size:13px}
.hh-useful .navlinks>a[href='/cloud.html']{display:none}
.hh-useful .navlinks a:hover{color:#438235}
.hh-useful .navright{gap:10px}
.hh-useful .lang,.hh-useful .menuBtn{color:#282b28}
.hh-useful .navcta{background:#1b1c1b;color:#fff;border-radius:10px;white-space:nowrap}
.hh-useful .navcta:hover{background:#343a34}
.hh-useful .nav-services-list{background:#faf9f7;border-color:#d5d3cf;color:#1d211c;box-shadow:0 16px 36px #2222}
.hh-useful .nav-services-list a{color:#262a26}
.hh-useful .nav-services-list a:hover{background:#e5eee0;color:#1d4e24}
.hh-useful .eyebrow{color:#477e3d}
.hh-useful .page-breadcrumb{padding-top:28px;color:#727970}
.hh-useful .page-hero{max-width:960px;padding:35px 0 28px}
.hh-useful .page-hero h1{margin:12px 0;font-size:clamp(36px,4.1vw,58px);font-weight:730;color:#1b1d1b}
.hh-useful .page-hero p{max-width:720px;margin:0;color:#697168;font-size:14px;line-height:1.55}
.hh-useful .page-section{padding:25px 0 56px;border-color:#d3d4cf}
.hh-useful .page-section>h2{font-size:25px;font-weight:700;margin-bottom:16px}
.hh-useful #uptime{border:0;padding-top:0}
.hh-useful #uptime>h2{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.hh-useful .page-links{grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:14px;max-width:960px;margin-top:0;border:0;background:transparent}
.hh-useful .page-links li{max-width:480px}
.hh-useful .page-links a{height:100%;min-height:185px;border:1px solid #dbdfd8;border-radius:16px;background:#faf9f7;color:#1e271f;transition:background .18s,border-color .18s}
.hh-useful .page-links a:hover{background:#f0f5ed;border-color:#9dbe97}
.hh-useful .page-links li a span{color:#697168;font-size:14px}
.hh-useful .page-links li a span:last-child{color:#408037;font-size:20px}
.hh-useful .ruu{margin:0;max-width:960px}
.hh-useful .darkfoot{background:#1b1e1b;color:#f2f5ef;border-color:#323a32}
.hh-useful .darkfoot .brand{color:#edf3ed}
.hh-useful .page-footer{color:#c5d0c4}
@media(max-width:1100px){.hh-useful .navlinks{background:#f7f6f3;color:#1f241f;top:100px;border-bottom:1px solid #d8d8d2}.hh-useful .nav-mobile-account{color:#1f241f}}
@media(max-width:760px){.hh-useful .shell{padding-left:16px;padding-right:16px}.hh-useful .nav{height:65px}.hh-useful .page-breadcrumb{padding-top:22px}.hh-useful .page-hero{padding:25px 0 20px}.hh-useful .page-hero h1{font-size:36px}.hh-useful .page-section{padding-bottom:38px}.hh-useful .page-links li{max-width:none}}

/* Bitcoin network graphs live directly in Useful tools. */
.hh-useful .page-index{color:#586557;padding:2px 0 22px}
.hh-useful #bitcoin-network{max-width:1380px;padding-top:25px;padding-bottom:38px}
.btc-tv-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.btc-tv-card{min-width:0;border:1px solid #dbe0d8;background:#faf9f7;border-radius:16px;padding:18px 18px 14px;overflow:hidden}
.btc-tv-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;padding:0 2px 15px}
.btc-tv-heading h3{margin:0;font-size:18px;font-weight:700;color:#1c261d;letter-spacing:-.02em}
.hh-useful .btc-tv-heading p{margin:5px 0 0;font-size:12px;line-height:1.45;color:#6e796b}
.btc-tv-unit{background:#e6f0e1;color:#4b873e;border-radius:8px;padding:7px 9px;font-size:11px;font-weight:700}
.btc-tv-frame{height:420px;width:100%;min-width:0;overflow:hidden;border-radius:8px;background:#fff}
.btc-tv-frame .tradingview-widget-container{height:100%;width:100%}
.btc-tv-frame iframe{border:0;display:block;width:100%;height:100%}
.btc-tv-unavailable{display:grid;place-items:center;padding:18px;text-align:center;color:#687267;font-size:14px;box-sizing:border-box}
.hh-useful .btc-tv-caption{max-width:none;color:#677263;font-size:12px;line-height:1.6;margin:14px 2px 0}
.btc-tv-caption a{color:#3b7935;text-decoration:underline;text-underline-offset:3px;white-space:nowrap}
@media(max-width:900px){.btc-tv-grid{grid-template-columns:1fr}.btc-tv-frame{height:420px}}
@media(max-width:600px){.btc-tv-card{padding:16px 10px 10px}.btc-tv-heading{padding:0 5px 13px}.btc-tv-heading h3{font-size:16px}.btc-tv-frame{height:370px}}
.btc-live-panel{border-radius:16px;background:#1c251d;color:#f4f8f1;padding:22px 24px 18px;margin:0 0 16px}
.btc-live-top{display:flex;justify-content:space-between;align-items:center;gap:12px}.btc-live-top h3{font-size:19px;margin:7px 0 0;color:#f4f8f1}.btc-live-tag{font-size:10px;letter-spacing:.08em;font-weight:700;color:#a8c9a0}.btc-live-refresh{padding:8px 12px;border:1px solid #61735d;border-radius:8px;background:transparent;color:#f4f8f1;cursor:pointer}.btc-live-refresh:hover{background:#344531}.btc-live-refresh:focus-visible,.btc-chart-buttons button:focus-visible,.btc-history-scroll:focus-visible{outline:3px solid #88c778;outline-offset:3px}
.btc-live-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin:22px 0}.btc-live-metric{min-width:0;display:flex;flex-direction:column;gap:7px;padding-right:8px}.btc-live-metric>span{font-size:12px;color:#bdcdb9}.btc-live-metric strong{font-size:clamp(17px,1.7vw,23px);letter-spacing:-.025em;color:#f7fbf5;white-space:nowrap}.btc-live-metric small{font-size:11px;line-height:1.5;color:#aebdad}.btc-live-meta{border-top:1px solid #465346;padding-top:14px;color:#bdcbbb;font-size:11px;line-height:1.6}.btc-live-meta a{color:#e0f3d8;text-decoration:underline;text-underline-offset:3px}.hh-useful .btc-insight-note,.hh-useful .btc-history-note{max-width:none;margin:0 0 18px;color:#687466;font-size:12px;line-height:1.6}.btc-insight-loading{min-height:100px}.btc-chart-selector{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:20px 0 12px;font-size:13px;font-weight:650;color:#465346}.btc-chart-buttons{display:flex;gap:4px;padding:4px;border:1px solid #d9ded6;border-radius:10px;background:#f8f8f5}.btc-chart-buttons button{border:0;background:transparent;color:#566452;border-radius:7px;padding:8px 12px;font:inherit;font-size:12px;cursor:pointer}.btc-chart-buttons button[aria-pressed=true]{background:#293c2b;color:#fff}
.btc-history-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:24px}.btc-history-card{min-width:0;background:#faf9f7;border:1px solid #dbe0d8;border-radius:16px;padding:20px}.btc-history-head h3{margin:0;font-size:17px;color:#202820}.btc-history-head span{display:block;font-size:12px;color:#707c6e;margin-top:5px}.btc-history-scroll{overflow-x:auto}.btc-history-card table{border-collapse:collapse;width:100%;margin-top:14px;font-size:13px;font-variant-numeric:tabular-nums}.btc-history-card th,.btc-history-card td{padding:10px 4px;border-bottom:1px solid #e7ebe4;text-align:right;white-space:nowrap}.btc-history-card th{color:#798476;font-size:11px;font-weight:600}.btc-history-card th:first-child,.btc-history-card td:first-child{text-align:left}.btc-history-card td{color:#334032}.btc-history-card td small{display:block;color:#899488;font-size:10px;margin-top:3px}.btc-history-card td.is-up{color:#42873c}.btc-history-card td.is-down{color:#b34b43}.hh-useful .btc-history-note{margin:12px 2px 0}
@media(max-width:1000px){.btc-live-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.btc-history-grid{grid-template-columns:1fr}}
@media(max-width:600px){.btc-live-panel{padding:19px 16px}.btc-live-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 10px}.btc-live-metric strong{font-size:19px}.btc-chart-selector{align-items:flex-start;flex-direction:column}.btc-history-card{padding:16px 12px}.btc-history-card table{font-size:12px}.btc-history-card th{font-size:10px}}

.btc-tv-card{align-self:start}.btc-tv-card:nth-child(2) .btc-tv-frame{height:580px}
@media(max-width:600px){.btc-tv-card:nth-child(2) .btc-tv-frame{height:540px}}

/* Единая высота графиков и более доступный переход к калькулятору. */
.hh-useful .btc-tv-card { align-self: stretch; display: flex; flex-direction: column; }
.hh-useful .btc-tv-frame, .hh-useful .btc-tv-card:nth-child(2) .btc-tv-frame { height: 580px; }
.hh-useful .btc-tv-heading { min-height: 65px; }
.hh-useful .btc-tv-caption, .hh-useful .btc-history-note, .hh-useful .btc-live-meta { display: none; }
.hh-useful .btc-live-fallback { margin: 0; color: #f4e3ab; font-size: 12px; }
.hh-useful #tools .page-links a .uptime-link-action {
  display: inline-flex; align-self: flex-start; align-items: center; gap: 12px;
  min-height: 44px; padding: 10px 18px; border-radius: 999px;
  background: #101410; color: #fff; font-size: 14px; font-weight: 600;
}
.hh-useful #tools .page-links a .uptime-link-action span { color: inherit; font-size: inherit; }
.hh-useful #tools .page-links a:hover .uptime-link-action { background: #315b43; }
@media (max-width: 600px) {
  .hh-useful .btc-tv-frame, .hh-useful .btc-tv-card:nth-child(2) .btc-tv-frame { height: 540px; }
  .hh-useful .btc-tv-heading { min-height: 0; }
}

/* Компактная панель инструментов и показателей на странице «Полезное». */
.hh-useful:has(.useful-overview) .page-breadcrumb { padding-top: 20px; }
.hh-useful:has(.useful-overview) .page-hero { padding: 20px 0 14px; }
.hh-useful:has(.useful-overview) .page-hero h1 { margin: 8px 0; }
.hh-useful:has(.useful-overview) .page-index { padding: 0 0 18px; }
.hh-useful .useful-overview { display: grid; grid-template-columns: minmax(270px, .85fr) minmax(0, 2fr); gap: 16px; align-items: stretch; }
.hh-useful .useful-overview #tools { display: flex; flex-direction: column; margin: 0; padding: 24px; border: 1px solid #d8e1dc; border-radius: 16px; background: #fff; }
.hh-useful .useful-overview #tools > h2 { margin: 0 0 12px; font-size: 18px; }
.hh-useful .useful-overview .page-links, .hh-useful .useful-overview .page-links li { display: flex; flex: 1; width: 100%; max-width: none; margin: 0; }
.hh-useful .useful-overview #tools .page-links a { width: 100%; min-height: 0; padding: 0; border: 0; border-radius: 0; background: transparent; }
.hh-useful .useful-overview #tools .page-links a strong { font-size: 20px; }
.hh-useful .useful-overview #tools .page-links a > span:nth-of-type(1) { max-width: 38ch; line-height: 1.5; }
.hh-useful .useful-overview #tools .page-links a .uptime-link-action { margin-top: auto; }
.hh-useful .useful-network-summary { min-width: 0; }
.hh-useful .useful-network-summary #btcNetworkInsights { height: 100%; }
.hh-useful .useful-network-summary .btc-live-panel { margin: 0; min-height: 204px; }
.hh-useful .useful-network-summary .btc-live-grid { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px 12px; margin: 18px 0 2px; }
.hh-useful .useful-network-summary .btc-insight-note { margin: 10px 2px 0; }
.hh-useful:has(.useful-overview) #bitcoin-network { padding-top: 28px; margin-top: 24px; }
@media (max-width: 760px) {
  .hh-useful:has(.useful-overview) .page-breadcrumb { padding-top: 16px; }
  .hh-useful:has(.useful-overview) .page-hero { padding: 18px 0 14px; }
  .hh-useful .useful-overview { grid-template-columns: 1fr; gap: 12px; }
  .hh-useful .useful-overview #tools { padding: 20px; }
  .hh-useful .useful-overview #tools .page-links a .uptime-link-action { margin-top: 16px; }
  .hh-useful .useful-network-summary .btc-live-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
