/* Tokyo Alex tools dashboard */
.tools-dashboard-main {
  padding-top: 24px;
}

.tools-dashboard-main .section {
  padding-block: clamp(44px, 6vw, 76px);
}

.tools-dashboard-main .section + .section {
  border-top: 1px solid rgba(7, 19, 38, .07);
}

.tools-dashboard-main .section-head {
  align-items: end;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.dashboard-card {
  min-height: 156px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(7, 19, 38, .08);
  border-radius: 18px;
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 14px 34px rgba(13, 39, 80, .07);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.dashboard-card.primary {
  background: linear-gradient(145deg, rgba(255, 255, 255, .98), rgba(234, 243, 255, .80));
}

.dashboard-card:hover,
.dashboard-card:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(7, 87, 184, .20);
  box-shadow: 0 18px 40px rgba(13, 39, 80, .11);
}

.dashboard-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  flex: 0 0 42px;
  border-radius: 12px;
  background: #071326;
  color: #8adfff;
  font-size: .82rem;
  font-weight: 950;
  letter-spacing: -.02em;
}

.dashboard-card strong {
  color: var(--navy);
  font-size: 1.02rem;
  line-height: 1.28;
}

.dashboard-card small {
  color: var(--muted);
  font-size: .78rem;
  line-height: 1.48;
}

.dashboard-list {
  display: grid;
  gap: 10px;
}

.dashboard-list-guides {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.dashboard-row {
  min-height: 80px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid rgba(7, 19, 38, .08);
  border-radius: 16px;
  background: rgba(255, 255, 255, .80);
  box-shadow: 0 10px 26px rgba(13, 39, 80, .05);
  transition: transform .18s ease, border-color .18s ease;
}

.dashboard-row:hover,
.dashboard-row:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(7, 87, 184, .18);
}

.dashboard-row > span:nth-child(2) {
  min-width: 0;
}

.dashboard-row strong {
  display: block;
  color: var(--navy);
  line-height: 1.3;
}

.dashboard-row small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: .78rem;
  line-height: 1.42;
}

.dashboard-row b {
  color: var(--gold);
  font-size: 1rem;
}

.dashboard-note {
  margin-top: 16px;
  padding: 14px 16px;
  border: 1px solid rgba(7, 87, 184, .10);
  border-radius: 14px;
  color: var(--muted);
  background: rgba(234, 243, 255, .58);
  font-size: .86rem;
}

@media (max-width: 920px) {
  .dashboard-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .tools-dashboard-main {
    padding-top: 6px;
  }

  .tools-dashboard-main .section {
    padding-block: 40px;
  }

  .dashboard-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .dashboard-card {
    min-height: 132px;
    padding: 14px;
    border-radius: 15px;
  }

  .dashboard-icon {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
    border-radius: 10px;
    font-size: .74rem;
  }

  .dashboard-card strong {
    font-size: .90rem;
  }

  .dashboard-card small {
    font-size: .70rem;
  }

  .dashboard-list-guides {
    grid-template-columns: 1fr;
  }

  .dashboard-row {
    min-height: 72px;
    padding: 12px 13px;
    gap: 11px;
  }
}

@media (max-width: 380px) {
  .dashboard-grid {
    gap: 8px;
  }

  .dashboard-card {
    min-height: 124px;
    padding: 12px;
  }
}
