/* Pool dashboards and mining directory */
.portal-guide .portal-pool-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-block: 12px;
}
.portal-guide .portal-pool-actions .button {
  width: 100%;
  min-width: 0;
  min-height: 46px;
  margin: 0;
  padding: 9px;
  justify-content: center;
  text-align: center;
  white-space: normal;
  overflow-wrap: anywhere;
}
.portal-guide .pool-card > .fee-link { margin-inline: 0 14px; }
.guided-start .guided-platform {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 12px;
}
.guided-start .guided-platform .form-field { margin: 0; }
.guided-start .guided-platform .button { justify-self: start; }
.guided-start .guided-output { min-width: 0; }
.guided-start #guide-hive-output:not([hidden]) { display: grid; gap: 12px; }
.guided-start .guide-worker-link { justify-self: start; }
.guided-start .guide-miner-catalogue { padding: 14px; }
.guided-start .guide-miner-catalogue summary { cursor: pointer; }
.guided-start .guide-miner-catalogue .miner-cards { grid-template-columns: 1fr; margin-top: 12px; }
@media (max-width: 820px) {
  .console-theme .dashboard-view .banner-heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: stretch;
    gap: 9px;
    margin-block-end: 9px;
  }
  .console-theme .dashboard-view .pool-identity h1 { font-size: 17px; }
  .console-theme .dashboard-view .pool-identity p { display: none; }
  .console-theme .banner-heading .pool-mobile-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin: 0;
  }
  .console-theme .banner-heading .pool-mobile-actions .button {
    min-width: 0;
    min-height: 46px;
    padding: 8px;
    flex-direction: row;
    justify-content: center;
    gap: 6px;
    font-size: 12px;
    text-align: center;
    white-space: normal;
    overflow-wrap: anywhere;
  }
  .console-theme .pool-mobile-actions #show-pool-overview { display: none; }
  .console-theme .guided-start .connection-step { padding: 14px; }
  .console-theme .guided-start .connection-form :is(input, select, .button, .icon-button) { min-height: 44px; }
  .console-theme .guided-start .connection-form :is(input, select) { font-size: 16px; }
  .console-theme .guided-start .connection-form :is(.button, .icon-button) { font-size: 12px; }
}
@media (max-width: 560px) {
  .console-theme .guided-start .guided-platform,
  .console-theme .guided-start .start-information { grid-template-columns: minmax(0, 1fr); }
  .console-theme .guided-start .guided-platform .button,
  .console-theme .guided-start .guide-worker-link { width: 100%; justify-content: center; }
  .portal-guide .hero { padding-block: 26px 20px; }
  .portal-guide .pool-card { padding: 15px; }
}

.guided-start #guide-shell-output:not([hidden]) { display: grid; gap: 10px; }
.guided-start #download-connection { justify-self: start; }
.guided-start label small:not([hidden]) { display: block; margin-top: 3px; font-weight: 400; }

@media (max-width: 640px) {
  .portal-guide .topbar { min-height: 0; padding: 10px 14px; gap: 8px; }
  .portal-guide .topbar .brand img { width: 46px; height: auto; }
  .portal-guide .topbar nav { gap: 10px 15px; padding-block-start: 8px; flex-wrap: wrap; font-size: 12px; }
  .portal-guide main { padding-inline: 14px; }
  .portal-guide .hero { padding-block: 18px 14px; }
  .portal-guide .hero h1 { font-size: clamp(1.7rem, 8vw, 2.2rem); margin: 0 0 5px; }
  .portal-guide .hero .eyebrow, .portal-guide .hero .network-pill, .portal-guide .pool-count { display: none; }
  .portal-guide .section-heading { margin-bottom: 10px; }
  .portal-guide .pool-card { padding: 14px; }
  .portal-guide .pool-description { margin: 7px 0 10px; }
  .portal-guide .pool-numbers { padding-block-end: 10px; }
  .portal-guide .pool-numbers strong { font-size: 25px; margin-block-start: 4px; }
  .portal-guide .pool-numbers .contribution { font-size: 14px; }
  .portal-guide .live-metrics { min-height: 0; padding: 10px 0; }
}
